
Gpt Image 2
Generates images inside Claude Code by routing through your existing ChatGPT Plus or Pro subscription, so you're not paying twice or juggling API keys. Handles text-to-image, reference-based edits, and multi-image composition via the local Codex CLI. The implementation is clever: it snapshots your Codex sessions directory, fires `codex exec` with the image_generation flag enabled, diffs the output, and extracts the base64 PNG from the new rollout file. Works well for infographics and text-heavy layouts, but you need Codex installed and logged in or it's a non-starter. If you already have the ChatGPT subscription and want image generation without leaving your editor, this is the straightforward path.
- skills.sh installs
- 672
- GitHub stars
- 17
- last updated
- Aug 21, 2026
Install
$ npx -y skills add agentspace-so/agent-skills --skill gpt-image-2 --agent claude-codeInstalls into .claude/skills of the current project.
Files
🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription
Generate images with GPT Image 2 (ChatGPT Images 2.0) inside your agent, using your existing ChatGPT Plus or Pro subscription — no separate OpenAI access, no Fal or Replicate tokens, no per-image billing.
Text-to-image, image-to-image editing, style transfer, and multi-reference composition. Runs entirely through the local codex CLI you're already logged into.
Sponsors
Details
- Repository
- github.com/agentspace-so/agent-skills
- Categories
- Code Review & Quality, AI & Agent Building, Productivity & Planning, CLI & Terminal, Generative Media
- First seen
- May 16, 2026