Gpt2api Openai Gateway
OpenAI-compatible self-hosted gateway that pools ChatGPT accounts to serve image generation and editing endpoints.
- CCM score
- 46 of 100
- skills.sh installs
- 276
- GitHub stars
- 99
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers Docker Compose deployment, YAML and env-var configuration, proxy and account pooling, API key quotas, and image generation and edits
- Includes an admin dashboard, batch account import (JSON or AT/RT/ST text), and endpoints for
/v1/images/generations,/v1/images/edits, and/v1/models - Enforces per-account scheduling with
min_interval_sec, a daily usage cap ratio, and a cooldown after upstream 429 responses - Designed for teams that want OpenAI SDK compatibility for GPT Image 2 and IMG2 grayscale generation on their own infrastructure
Install
$ npx -y skills add reason-machines/trending-skills --skill gpt2api-openai-gateway -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
gpt2api OpenAI Gateway
Skill by ara.so — Daily 2026 Skills collection.
gpt2api is a self-hosted OpenAI-compatible API gateway that reverse-engineers chatgpt.com to expose GPT Image 2 / DALL·E 3 / IMG2 grayscale capabilities via standard /v1/images/generations, /v1/images/edits, and /v1/chat/completions endpoints. It provides multi-account pooling, proxy pooling, rate limiting, credit billing, and an admin dashboard.
Installation & Deployment
Docker Compose (Recommended)
git clone https://github.com/432539/gpt2api.git
cd gpt2api/deploy
cp .env.example .env
Edit .env — these three are required:
JWT_SECRET=<generate with: openssl rand -base64 48 | tr -d '=/+' | cut -c1-48>
CRYPTO_AES_KEY=<generate with: openssl rand -hex 32>
MYSQL_ROOT_PASSWORD=<strong-password>
MYSQL_PASSWORD=<strong-password>
Generate secrets:
# CRYPTO_AES_KEY (must be exactly 64 hex chars = 32 bytes AES-256)
openssl rand -hex 32
# JWT_SECRET (>=32 chars)
openssl rand -base64 48 | tr -d '=/+' | cut -c1-48
Start services:
docker compose up -d --build
docker compose logs -f server
Details
- Repository
- github.com/reason-machines/trending-skills
- Categories
- AI Image, Video & Voice, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the gpt2api-openai-gateway skill do?
The gpt2api-openai-gateway skill sets up a self-hosted OpenAI-compatible gateway that exposes GPT Image 2 image generation and editing through standard /v1/images endpoints. It also adds multi-account pooling, proxy pooling, rate limiting and credit billing for the gateway.
How do I install the gpt2api-openai-gateway skill?
Run npx -y skills add reason-machines/trending-skills --skill gpt2api-openai-gateway -y in a project to install it. Once installed, the gpt2api-openai-gateway skill lets the agent deploy the gateway with Docker Compose and configure its accounts and API keys.
What does the gpt2api-openai-gateway skill need to run?
The gpt2api-openai-gateway skill needs Docker Compose, MySQL and Redis, plus generated JWT_SECRET and CRYPTO_AES_KEY values in its .env file. It also needs ChatGPT accounts and optional proxies to pool for image generation.
Which category is the gpt2api-openai-gateway skill in, and what sets it apart?
The gpt2api-openai-gateway skill is in the AI Image, Video & Voice category on Claude Marketplaces. It stands out by pooling multiple ChatGPT accounts behind an OpenAI-compatible endpoint, so existing OpenAI SDK code can generate batch images through it.
More from reason-machines/trending-skills
All 251- Opengame Agentic Game Creation268
- Oransim Causal Marketing Twin267
- Aglais Xqvm Quantum Vm266
- Cairn Ai Pentest265
- Flashkda Delta Attention261
- Openai Privacy Filter261
- Masterhttprelayvpn Proxy259
- Crabtrap Llm Proxy257
- Masterhttprelayvpn Rust256
- Tilekernels Gpu Kernels256
- Text To Cad Harness250
- Freellmapi Proxy212
- Superlevels Chrome Extension211
- Gpt Image 2 Skill207
- Ppt Image First Workflow207
- Flowdriver Covert Transport206
- Future Agi Platform206
- Pi Computer Use206
- Privacy Parser Pii Extraction201
- Token Dashboard Claude Analytics201
- Wanman Agent Matrix200
- Awawausb Webusb Firefox195
- Humanize Korean Ai Text191
- Oh Story Claudecode Writing186
Similar to Gpt2api Openai Gateway
More AI Image, Video & Voicekling-videorefly-ai/refly-skills276 installsGenerate AI videos using Kling video generation models. Use when you need to: (1) create videos from text prompts, (2) animate images into videos, (3) transform
fal-image-editsickn33/agentic-awesome-skills270 installsfal image edit
fal-audiofal-ai-community/skills266 installsText-to-speech and speech-to-text using fal.ai audio models. Use when the user requests "Convert text to speech", "Transcribe audio", "Generate voice", "Speech
intelligent-prompt-generatorhuangserva/skill-prompt-generator264 installs智能提示词生成器 v2.0 - 支持人像/跨domain/设计三种模式,语义理解、常识推理、一致性检查
fal-workflowfal-ai-community/skills254 installsfal workflow
ai-video-conceptguia-matthieu/clawfu-skills253 installsDéveloppez une idée créative et structurez un script vidéo optimisé pour la génération IA, en suivant la méthode des scènes de 8 secondes de PJ Ace. Use when: *