What problem does it solve? It lets you generate and edit images with GPT Image 2 (ChatGPT Images 2.0) directly inside your agent workflow, reusing your existing ChatGPT Plus or Pro subscription through the local Codex CLI instead of paying for separate OpenAI API access or per-image billing. ## Core Features & Use Cases - Text-to-Image Generation: Run a single bash script with a prompt and output path to produce a PNG, JPEG, or WebP image decoded from the Codex session rollout. - Image-to-Image Editing & Style Transfer: Pass one or more reference images with repeatable --ref flags for editing, restyling, or multi-reference composition. - Use Case: Attach a flat-color icon and ask to repaint it as a 1950s ukiyo-e woodblock print; the script runs codex exec with the image_generation feature enabled and writes the result to your chosen output path. ## Quick Start Ask the agent to use GPT Image 2 to generate an image of your subject and save it to a specified output path.