Aurora converts the ChatGPT Web backend into an OpenAI-style API, supporting chat, Responses, file-based Q&A, image generation, image variations, speech-to-text, text-to-speech, model listings, and obtaining a valid ChatGPT access_token via refresh_token / session_token.
For full endpoints, authentication, token exchange, and curl examples, see: API.md
/v1/chat/completions with streaming and non-streaming support, including parameters such as temperature/top_p/max_tokens/stop/reasoning_effort/response_format/stream_options.include_usage./v1/responses with string input, message arrays, instructions, streaming events, and parameters such as reasoning.effort/text.query.format/temperature./v1/files for file uploads; after uploading, you can include file_id in chat or Responses requests for file-based Q&A./v1/images/generations for image generation; the model list includes gpt-image-2, supports SSE streaming, and can return either URLs or b64_json./v1/images/edits for image editing and /v1/images/variations for image-to-image generation (variations)./v1/audio/speech for text-to-speech (TTS), compatible with common OpenAI voices and output formats./v1/audio/transcriptions for speech-to-text, supporting mp3/wav/m4a/ogg/flac/webm formats./v1/audio/translations for audio translation into English./v1/models for model listing./auth/refresh: pass an OpenAI refresh_token to obtain an access_token./auth/session: pass a ChatGPT session_token to obtain a new session_token and access_token./backend-api/conversation for direct proxying of raw ChatGPT conversation requests.access_tokens.txt account pool, free_tokens.txt free UUID pool, automatic free account generation, proxy pool, and TLS.git clone https://github.com/aurora-develop/aurora
cd aurora
go build -o aurora
chmod +x ./aurora
./aurora
docker run -d \
--name aurora \
-p 8080:8080 \
ghcr.io/aurora-develop/aurora:latest
mkdir aurora
cd aurora
# Place the docker-compose.yml from the repository into the current directory, then run:
docker-compose up -d
No additional configuration is required by default. You can configure via .env, system environment variables, or environment variables with the same name on your deployment platform:
SERVER_HOST=0.0.0.0
SERVER_PORT=8080
FREE_ACCOUNTS=true
FREE_ACCOUNTS_NUM=1024
Authorization=your_authorization
TLS_CERT=path_to_your_tls_cert
TLS_KEY=path_to_your_tls_key
PROXY_URL=your_proxy_url
Details:
SERVER_HOST / SERVER_PORT: Service listening address and port.Authorization: Service access key. When configured, requests must include Authorization: Bearer your_authorization in the header.FREE_ACCOUNTS: Whether to automatically generate free UUID accounts; disabled by default.FREE_ACCOUNTS_NUM: Number of automatically generated free UUID accounts; default is 1024.TLS_CERT / TLS_KEY: When both are configured, HTTPS is enabled.PROXY_URL: Proxy pool address.Local account files:
access_tokens.txt: One ChatGPT access_token per line, used for features that require a logged-in account.free_tokens.txt: One UUID device ID per line, serving as a free account pool.STREAM_MODE=false forcibly disables streaming for Chat Completions.Thanks to all the contributors for their PR support.
MIT License
$ claude mcp add aurora \
-- python -m otcore.mcp_server <graph>