chatgpt2api: A Go-based, OpenAI-compatible API and self-hosted workspace for ChatGPT image generation, image editing, text, search, and audio capabilities.
What problem it solves
Developers need a unified way to integrate ChatGPT website capabilities into applications that expect OpenAI-compatible endpoints. They also need account-pool management, proxy configuration, import workflows, and a self-hosted interface for creating and reviewing media.
Key features
OpenAI-compatible endpoints — Provides compatible routes for image generation, image editing, image-oriented chat and responses, audio speech, transcription, and model discovery.
Source: README
Image creation and editing — Supports text-to-image generation, uploaded or referenced image editing, multiple results, and settings for quality, size, quantity, and reference images.
Source: README
Built-in creation workspace — Includes a web workspace for conversations, web search, image questions, image generation and editing, speech synthesis, transcription, and server-side creation history.
Source: README, web
Account-pool management — Rotates available accounts, removes invalid tokens, checks rate-limited accounts, supports recovery through password login, and provides several account import workflows.
Source: README
Self-hosted deployment and proxy support — Can be started with Docker or run locally with Go, and provides configurable HTTP, HTTPS, SOCKS5, and SOCKS5H proxy support.
Source: README
Quick start
Copied verbatim from the project's README.
git clone [email protected]:basketikun/chatgpt2api.git
cd chatgpt2api
docker compose up -dcurl http://localhost:8000/v1/models \
-H "Authorization: Bearer <api-key>"Who it may suit
Inference: may suit developers and self-hosters who need OpenAI-compatible image, audio, search, and chat routes backed by managed ChatGPT website accounts.
Topics to discuss
Which account import workflow should receive the clearest setup guidance?
Which OpenAI-compatible endpoints need the most complete examples?
How should users understand the project's usage restrictions and account risks?
Written by ReadmeX AI from the project's README, source and public GitHub data; it may contain mistakes.
Read the original README https://github.com/basketikun/chatgpt2api#readme
ReadmeX opened this community for a trending project; it is not run by the project. Maintainers can claim it from the community page.
Comments
…