Generate and edit images through the user's ChatGPT Plus or Pro plan via the local Codex CLI.

CCM score
47 of 100
skills.sh installs
6
GitHub stars
17
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers text-to-image, image-to-image editing, style transfer, and multi-reference composition, all run through codex exec
  • Includes scripts/gen.sh (bash wrapper) and scripts/extract_image.py, which decodes the image payload from new session rollouts
  • Enforces a pass-through prompt policy and refuses to fall back to other image models or mockups when this route is requested
  • Requires codex CLI, codex login with an image-capable ChatGPT plan, and python3; exits with distinct codes per failure layer

Install

$ npx -y skills add agentspace-so/agent-skills --skill gpt-image-2 -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription

agentspace.so · GitHub

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.

Details

Repository
github.com/agentspace-so/agent-skills
Categories
AI Image, Video & Voice, Skill & Plugin Building
First seen
May 16, 2026

Similar to Gpt Image 2

More AI Image, Video & Voice