Claude Code GPT Image is for stills that must be invented from project language. GPT Image 2 is the net-new model; Claude Code is the session that should immediately open the output file.

  • Claude Code already has the product language.
  • GPT Image 2 is selected because there is no source to protect.
  • The still is written into the repo.
  • Identity edits are routed to Nano Banana 2.

claude code gpt image workflow overview

Media.io fit: Media.io CLI exposes GPT Image 2 to Claude Code. Claude Code owns context and paths; Media.io returns the still.

In this article

What GPT Image 2 Is For Inside Claude Code

Use GPT Image in Claude Code for new heroes, labeled mocks, and frames where type matters. Do not use it as a silent default for every request.

claude code gpt image - What GPT Image 2 Is For Inside Claude Code

If a source file must survive, switch to Nano Banana 2.

  • Put size and locks in a prompt file.
  • Write a review filename.
  • Keep model choice in the job note.
  • Open the file after generation.

Set Up Claude Code Before You Blame GPT Image 2

A missing Claude Code image model looks like a model quality problem. It is usually plugin, skills, or auth.

claude code gpt image - Set Up Claude Code Before You Blame GPT Image 2

Use the complete Claude Code setup prompt.

Run the First Still From Repo Language

The first gpt image Claude Code job should quote the product name and destination path from the repo.

GPT Image 2 Claude Code is easier to accept when the still already uses project words.

Hand Off the File, Not a Screenshot of the Chat

Claude Code should write the JPEG into the folder the CMS or design review already uses.

claude code gpt image - Run the First Still From Repo Language

  1. Read constraints from the repo.
  2. Write the prompt file.
  3. Generate with GPT Image 2.
  4. Save beside other campaign stills.

If a teammate cannot find the file, the workflow failed even if the still looks good.

Use Media.io CLI so Claude Code Can Call GPT Image 2

After Media.io CLI is connected, Claude Code can send the brief to GPT Image 2 and receive a path. Use Claude Code image generation for the general connection map.

If You Want Claude Code to Set Media.io Up for You

Copy This Complete Setup Prompt into Claude Code

Copy-ready Claude Code setup prompt

Set up or update Media.io for me so I can generate images and videos from here.

  1. Install the CLI: run npm i -g @mediaio/cli.
  2. Install the companion plugin: run claude plugin marketplace add media-io/plugin, then run claude plugin marketplace install media-io.
  3. Install the companion skills: run npx skills add media-io/plugin -g.
  4. Authenticate: run mediaio auth login and complete the sign-in in the browser it opens.

If any install/update/sign-in step fails, read https://raw.githubusercontent.com/media-io/cli/refs/heads/main/INSTALL-HELP.md and follow it to diagnose and fix the problem automatically; only ask me for the steps you can't do yourself (browser sign-in, granting permissions).

Once that's done, let me know when it's ready.

Media.io CLI workflow for claude code gpt image

Show a real terminal or agent session, the returned output path or status, and the generated result.

If Claude Returns Text, Repair Tools, Not Adjectives

More style words will not attach an image tool.

claude code gpt image - Hand Off the File, Not a Screenshot of the Chat

Symptom First check
Prompt, no file Plugin/skills/auth
Wrong product Brief missing locks
Looks like a failed edit You needed Nano Banana 2

Confirm CLI, plugin, skills, and auth, then rerun the same row.

FAQs About Claude Code Gpt Image

  • Can I use GPT Image in Claude Code natively?
    Claude Code can plan the still, but GPT Image 2 runs through a connected layer such as Media.io CLI.
  • When should I use GPT Image 2 in Claude Code?
    When the still is net-new or type-heavy and there is no source identity to preserve.
  • How is this different from Nano Banana in Claude Code?
    Nano Banana 2 is the edit model. GPT Image 2 is the net-new model.
  • Where should the file go?
    Into the project folder reviewers already use, with a stable shot name.
  • Why do I get a prompt instead of an image?
    The image tool is probably not connected. Repair setup first.
  • Do I need a GPT Image website tab?
    No. After setup, Claude Code can call the model in-session.

Use GPT Image 2 When Claude Code Must Invent the Still

If the session has context but no source file to protect, GPT Image 2 is the Claude Code image model to call. Keep identity edits on Nano Banana 2.

Nicola Massimo
Nicola Massimo Sep 24, 26
Share article:
media.io

AI Video Generator star

Easily generate videos from text or images

Generate