{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "sateezg-codex-bridge--generate-image-for-a-project",
 "repo": "Sateezg/codex-bridge",
 "repo_url": "https://github.com/Sateezg/codex-bridge",
 "repo_slug": "sateezg-codex-bridge",
 "title": "Generate a project image from a text prompt",
 "page_title": "How to generate a project image from a text prompt with Codex Bridge",
 "summary": "Create an icon, mockup, or hero image with gpt-image-2 and save it to your repo.",
 "who": "A developer building a landing page or app who needs a new image that does not exist yet.",
 "problem": "Claude Code cannot generate images, and asking a chat window for one means copying files by hand.",
 "outcome": "A PNG file saved at a path you chose, with the path printed by the wrapper.",
 "steps": [
  "Install the Codex CLI with `npm i -g @openai/codex` or `brew install codex`.",
  "Sign in with `codex login`, then check it with `codex login status`.",
  "Install the plugin with `/plugin marketplace add Sateezg/codex-bridge` and `/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.png` to adjust the style. (inferred, check the README)"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "shell",
 "requirements": [
  "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)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/sateezg-codex-bridge/generate-image-for-a-project/",
 "md": "https://dedupedai.com/use-cases/sateezg-codex-bridge/generate-image-for-a-project/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/sateezg-codex-bridge--generate-image-for-a-project.json",
 "api_version": "v1"
}
