DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to generate images from a text prompt in Codex with GPT Image Skill

Install the skill once, then create a finished GPT image from one natural-language request.

Short answer: 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; then 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-image with the same request. All steps.

  • Top pick
  • Content
  • Intermediate
  • 30 minutes
  • From the README
  • Codex
  • Claude Code

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

  1. 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.
  2. Wait for the setup to report readiness. The README states that no image is generated during setup.
  3. In Codex, type $gpt-image Create a cozy reading room at sunset, 16:9, high quality. In Claude Code, use /gpt-image with the same request.
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer