Credentials. Setup asks you to complete Sign in with ChatGPT device authorization, so only approve it on a machine and account you control.
Who it is forA solo creator or developer with a ChatGPT subscription who needs a quick illustration for a blog post, slide, or project page and works inside Codex or Claude Code.
The problemImage generation usually means a separate tool, a separate bill, or an API key. The user wants images without leaving the coding agent.
The outcomeA PNG saved in /generated-images inside the active project, returned as a PATH and an inline Markdown link.
What you need first
- A ChatGPT or Codex plan that permits image generation (the README says Codex image generation is not available on the Free plan)
- Node.js 22 or newer
- Git, for installing from GitHub
- Codex CLI signed in with ChatGPT, or a host that provides subscription-native image_gen
Steps
- Paste the install prompt from the README into Codex, Claude Code, or Google Antigravity, and follow the Sign in with ChatGPT device authorization when asked.
- Wait for the setup to report readiness. The README states that no image is generated during setup.
- In Codex, type
$gpt-image Create a cozy reading room at sunset, 16:9, high quality.In Claude Code, use/gpt-imagewith the same request. - Open the returned PATH in /generated-images and check the image against your request.
Prompt for your agent
Install GPT Image Skill from https://github.com/GENEXIS-AI/gpt-image-skill using the AGENT_INSTALL.md contract, then generate one image of <subject> at <aspect ratio> with high quality. Expect a PNG under /generated-images and a PATH=... line in the output. Verify the file exists and that the output did not use OPENAI_API_KEY or the Images API.
Caveat. Generation draws on included ChatGPT or Codex usage, so a Free plan account cannot complete these steps.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for GENEXIS-AI/gpt-image-skill and "Generate images from a text prompt in Codex"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer