ChatGPT Imagegen — AI skill for Claude Code
Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no daemon.
How to install ChatGPT Imagegen
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open leeguooooo/chatgpt-imagegen and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What ChatGPT Imagegen does
Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no daemon. Zero-dep Python CLI + AI-agent skill.
Alternatives in AI
README
chatgpt-imagegen
[](https://github.com/leeguooooo/chatgpt-imagegen/actions/workflows/ci.yml)
**English** | [中文](./README.zh-CN.md)
**Generate images with your ChatGPT subscription — no `OPENAI_API_KEY`.**
A tiny zero-dependency Python CLI (and AI-agent skill): one file, stdlib only. Works on a **free ChatGPT account** too — the default backend just drives the normal ChatGPT web chat, where even free-tier users get image generation.
chatgpt-imagegen "a watercolor cat sitting on a windowsill" -o cat.png
# -> saved: cat.png (812,344 bytes) size=1024x1024 quality=medium
Install
Needs Python 3.10+ and a ChatGPT subscription (free tier works).
**For AI agents (recommended)** — drops the skill into Claude Code, Codex, Cursor, etc.:
npx skills add leeguooooo/chatgpt-imagegen -g
Then just ask: *"画一张 …"* / *"generate a hero banner for the README"*.
**Standalone CLI** — no `pip`, no virtualenv:
git clone https://github.com/leeguooooo/chatgpt-imagegen
sudo install chatgpt-imagegen/chatgpt-imagegen /usr/local/bin/chatgpt-imagegen
You also need **one backend** — `web` (default, drives your logged-in Chrome, spends no Codex-usage) or `codex` (headless fallback). `chatgpt-imagegen doctor` shows what's ready. → **[Backends & troubleshooting](https://drawstyle.leeguoo.com/en/docs/backends)**
Got a **Gemini** subscription too? Two more backends use it instead of OpenAI: `--backend gemini` (drives a logged-in `gemini.google.com` Chrome) and `--backend agy` (the Antigravity CLI, headless). They bill **separate quotas** from each other, so either can cover for the other. Neither is ever chosen automatically — ask by name. Pin the subscribed Chrome profile with `--gemini-profile`, since most profiles are signe
Related Skills
Image Use
Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae
Codex Image MCP
Generate images in Claude Code using the ChatGPT subscription you already pay for. An MCP server for OpenAI's
GPT Image Skill
Generate GPT images from Codex or Claude Code using a ChatGPT subscription, without the Images API.
Vibeshot Candid GPT
Real-life candid portrait prompt studio for ChatGPT (GPT Image / Sora Images). Adapted from vibeshot-candid-ph
Subpowers
Your AI agents make images on the ChatGPT, Google (Nano Banana) and SuperGrok plans you already pay for. No AP
Cheap LLM Router
Save Claude/Codex subscription tokens by routing context-only file reads through a cheaper LLM (DeepSeek, Kimi
Related Agents
GPT 5.6 Luna
General-purpose agent that runs on GPT-5.6-Luna (routed through the shunt gateway to the ChatGPT/Codex subscri
Codex Agent
Runs OpenAI Codex on the user's ChatGPT subscription. Three modes - consult (OS-sandboxed read-only analysis,
Independent Reviewer
Product-technical alignment reviewer. Spawned in a tmux pane via OpenAI Codex CLI with zero inherited context.