Who it is forA developer building a landing page or app who needs a new image that does not exist yet.
The problemClaude Code cannot generate images, and asking a chat window for one means copying files by hand.
The outcomeA PNG file saved at a path you chose, with the path printed by the wrapper.
What you need first
- Claude Code (any current version)
- Codex CLI installed with `npm i -g @openai/codex` or `brew install codex`
- Logged in with `codex login`, confirmed by `codex login status`
- A ChatGPT Plus, Pro, or Team plan
- macOS or Linux (Windows is not tested)
Steps
- Install the Codex CLI with
npm i -g @openai/codexorbrew install codex. - Sign in with
codex login, then check it withcodex login status. - Install the plugin with
/plugin marketplace add Sateezg/codex-bridgeand/plugin install codex-bridge@codex-bridge. - Run
codex-imagegen "flat vector rocket icon, #2563EB on white, 2px stroke, minimal" ./rocket.png. - Open the PNG to check it, then run again with
--ref ./rocket.pngto adjust the style. (inferred, check the README)
Prompt for your agent
In the Sateezg/codex-bridge plugin setup, run codex-imagegen with the prompt "<prompt>" and save the result to <output-path>.png. Report the absolute path the wrapper prints. Verify that the file exists and opens as a PNG before reporting success.
Caveat. Image turns use ChatGPT plan quota roughly 3 to 5 times faster than text turns, and setting OPENAI_API_KEY switches Codex to API billing.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Sateezg/codex-bridge and "Generate a project image from a text prompt"
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