Summary
- Generate images via your ChatGPT subscription using text-to-image, image editing, and style transfer.
- Requires a local codex CLI login and active ChatGPT Plus or Pro subscription with image-generation entitlement; no separate OpenAI API keys or per-image billing needed.
- Supports text-to-image generation, image-to-image editing, and multi-reference composition via repeatable --ref flags.
- Invoked through a single bash script that snapshots the Codex session directory, runs codex exec with image generation enabled, and extracts the base64 PNG payload from the session rollout.
- Pass user prompts through raw without rewriting unless requested; deliver the output image file directly rather than stopping at a path reference.