openai-chat-api-workflow  by yohasebe

Alfred workflow for OpenAI Chat API access

created 2 years ago
318 stars

Top 86.3% on sourcepulse

GitHubView on GitHub
Project Summary

This Alfred workflow provides comprehensive integration with OpenAI's Chat API, enabling users to interact with GPT models for text generation, image manipulation, and speech processing directly from their macOS environment. It targets power users and developers seeking to streamline AI-powered tasks through a familiar interface, offering benefits like enhanced productivity and seamless AI integration into daily workflows.

How It Works

The workflow leverages Alfred's extensibility to trigger various OpenAI API calls. It supports interaction via Alfred's command line, selected text, and a locally hosted web UI. Key features include text generation, image generation/editing/understanding (via DALL-E and vision models), and speech-to-text/text-to-speech capabilities using OpenAI's Whisper and TTS models. The local web UI enhances user experience by providing a visual interface for these AI functions.

Quick Start & Requirements

  • Install: Download the workflow and set the apikey environment variable with your OpenAI API key.
  • Prerequisites: Alfred 5 Powerpack, OpenAI API key, Homebrew.
  • Dependencies: Install pandoc, mpv, sox, jq, duti via Homebrew (brew install pandoc mpv sox jq duti).
  • Setup: Configure accessibility settings for Alfred.
  • Docs: OpenAI Chat API Workflow

Highlighted Details

  • Supports multiple OpenAI models including GPT-4o series, DALL-E 3, and Whisper.
  • Integrates image generation, editing, and understanding capabilities.
  • Offers speech-to-text and text-to-speech functionalities.
  • Includes a local web UI for enhanced interaction.
  • Allows chat data export/import for continuity.

Maintenance & Community

  • Developed by Yoichiro Hasebe.
  • Latest release (3.7.0) added image editing and support for new models.
  • Active development with recent updates addressing model support and feature enhancements.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: Permissive license suitable for commercial use and integration with closed-source applications.

Limitations & Caveats

The workflow requires macOS and the Alfred 5 Powerpack. Some advanced features, like image editing, are model-specific (gpt-image-1). Users may need to complete API organization verification for certain image generation models.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
5 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.