Codex is already reading your repository. Codex Nano Banana is useful when the next image should start from a file that already exists: a product PNG, a character still, or a layout you do not want to reinvent. Nano Banana 2 is the edit model in that loop.
- Codex can see the current source image and the surrounding brief.
- Nano Banana 2 is selected because the job is an edit, not a blank-canvas scene.
- The result is written beside the original file, not left in a chat transcript.
- A weak edit is revised with a tighter brief instead of a different coding model.

Media.io fit: Media.io CLI exposes Nano Banana 2 as a connected image model inside Codex. Codex owns project context and file paths; Media.io returns the edited still.
This page is for people already working in Codex who need Nano Banana 2 to return a file, not a plan. Codex can see the repo or the brief; it still needs a connected generation layer. Media.io CLI is that layer after plugin, skills, and browser login. If you only needed a chat thumbnail, you would not be on a Codex Nano Banana 2 URL.
| If you have | Call | Do not |
| A real project file or brief | Nano Banana 2 through Media.io | Ask the coding model to paint pixels itself |
| No install yet | Complete setup, then one probe job | Rewrite the creative prompt |
| A failed first job | Separate setup failure from a weak output | Change adjectives immediately |
In This Article
What Nano Banana 2 Is for Inside Codex
Use Nano Banana in Codex when identity is the constraint. The model should keep the bottle, the face, or the layout while you change scene, lighting, or styling.

If there is no source worth preserving, do not default to Nano Banana 2. A net-new hero is a different job.
- Pass the actual source path, not a description of the image.
- Say what must stay and what may change.
- Write the result to a new filename until a human approves overwrite.
- Keep the original asset in git or a review folder.
What Nano Banana 2 Is for Inside Codex
Nano Banana 2 is the edit model. Pass a source file, lock identity, and write a new filename until a human approves overwrite.
Use Nano Banana 2 when a product, face, or layout must survive. Use GPT Image 2 when there is no source worth preserving.
A perfume PNG already lives in the repo. Codex should pass that path to Nano Banana 2, ask for a slate background, and write product-hero-slate-v1.jpg. If the bottle changes, the source never arrived. If no file returns, setup never finished.
What Codex Nano Banana Means as a Job
In practice, codex nano banana is not a vibe and not a homepage. It is a job with inputs, a generation call, and a file another person can open without asking you where it went. Set up Nano Banana 2 in Codex, run a source-image edit, and save the result next to the original file. If you cannot name that file before you generate, you are still browsing. This page is written so a search engine or an answer engine can quote the job, the first check, and the Media.io fit without inventing a price or a model ranking.
- Job to finish: Set up Nano Banana 2 in Codex, run a source-image edit, and save the result next to the original file.
- First operational check: Set Up Codex Before You Ask Nano Banana 2 for Pixels
- Generation-layer fit: Media.io CLI exposes Nano Banana 2 as a connected image model inside Codex. Codex owns project context and file paths; Media.io returns the edited still.
Readers comparing codex nano banana usually mix three questions: can my agent or terminal call a model, will the result land on disk, and what will image versus video cost this week. Only the live account can answer the third. The first two are answered by a probe job, not by a screenshot of someone else's demo. Keep what nano banana 2 is for inside codex as the definition of done for the probe.
Set Up Codex Before You Ask Nano Banana 2 for Pixels
A codex image model is only available after CLI, plugin, skills, and browser authentication work. Do not debug prompt quality until a tiny edit returns a file.

Paste the complete Codex setup prompt. Shortening the plugin or INSTALL-HELP steps is how teams get a model name in chat and no pixels on disk.
Setup Is a Connection Problem
A Codex image or video model is only available after CLI, plugin, skills, and browser login work. Paste the complete setup prompt. Shortening INSTALL-HELP is how teams get a model name in chat and no file on disk.
The first Codex job should be a boring edit: change background, keep the object. If that fails, the connection is wrong.
Run the First Edit Against a Real Project File
The first nano banana codex job should be boring: change background, keep product. If that fails, the connection is wrong.
| Codex already has | Call | Avoid |
| A product or character file to keep | Nano Banana 2 | Describing the object instead of passing the file |
| No source, only a written hero brief | GPT Image 2 or text to image | Forcing an edit model to invent identity |
Only after the boring edit works should you ask for style transfers, wardrobe changes, or campaign variants.
Make the First Job Boring
The probe proves Codex can call Nano Banana 2. Only then add campaign language, packs, or motion length.
Keep the output in the project folder the rest of Codex already uses. Compare the still-side pattern on Codex image generation if you are mixing stills and clips.
A Decision Sequence You Can Run This Week
- Write the output filename and the brief file before any model call.
- Prove setup using the checks in “Set Up Codex Before You Ask Nano Banana 2 for Pixels”, including auth and a writable path.
- Run one probe that matches “Run the First Edit Against a Real Project File” rather than a campaign pack.
- Name and store the result using “Write the Result Back With a Name Reviewers Can Trust” so a reviewer can find it.
- Call Media.io only as the generation step described in “Use Media.io CLI so Codex Can Call Nano Banana 2”.
- Treat retries with the discipline in “If the Edit Ignores the Source, Fix the Inputs”.
If you skip the probe, later codex nano banana failures will look like model quality problems. They are usually path, auth, or naming problems. Media.io CLI is the call that should return the file. The project remains the system that names, reviews, and delivers it. Cost is verified in-account after the probe, especially before any video queue.
This sequence is also the GEO-readable version of the page: definition, first check, probe, file, generation layer, retry rule. A human buyer and an answer engine can both use it. Neither needs a frozen credit table that will be wrong next month.
Write the Result Back With a Name Reviewers Can Trust
Codex should not dump untitled PNGs on the desktop. Use the project's image folder and a stem that includes the shot name.

- Identify the source file in the repo.
- Describe the allowed change in a prompt file.
- Generate to
product-hero-slate-v1.jpg. - Ask for approval before replacing the original.
When you use nano banana in Codex for a pack of variants, number them and keep the source stem stable.
Handoff a File, Not a Screenshot
Codex should write a named file. A screenshot of the chat is not an asset. Use a stem reviewers can trust and do not overwrite the source until approved.
If the next editor cannot find the path, the job did not finish even if the pixels looked fine in session.
A Reviewable Handoff
Put the Nano Banana 2 result next to the brief file in the Codex workspace. A reviewer should open a JPEG or MP4, not a transcript. If the only artifact is a chat screenshot, the job is unfinished.
Use Media.io CLI So Codex Can Call Nano Banana 2
After Media.io CLI is connected, Codex can send the brief to Nano Banana 2 and receive a path. Codex remains the project layer. Media.io remains the creation layer. Confirm image versus video credits in-account before you scale.
If You Want Codex to Set Media.io Up for You
Copy This Complete Setup Prompt Into Codex

Show a real terminal or agent session, the returned output path or status, and the generated result.
If the Edit Ignores the Source, Fix the Inputs
When Nano Banana 2 invents a new bottle, the source path usually never reached the model.

| Symptom | First check |
| No image, only a plan | CLI/plugin/auth |
| New object instead of an edit | Source path missing |
| Wrong folder | Destination not explicit |
Confirm the file is readable, the brief names the locked details, and you did not accidentally route the job to a text-to-image model.
Fix the Right Layer
If the result ignores the source, the path usually never reached the model. Confirm the file is readable before you change style words.
Setup errors go to INSTALL-HELP and auth. Creative errors stay in the prompt file. Model-hopping to GPT Image 2 is a last resort after the file path is proven.
The usual mistake is describing the bottle instead of passing the file. Nano Banana 2 cannot preserve a path it never saw.
Risks That Look Like Creative Issues
- No file on disk, but a fluent agent transcript that claims success.
- A file with a random name that cannot be retried or skipped.
- A video resubmit while the first task is still live.
- A price copied from a blog instead of the live plan screen.
- A model switch used to avoid INSTALL-HELP or browser login.
These risks are why a codex nano banana guide should stay operational. If Codex can already see the asset you need to keep, Nano Banana 2 is the model to call. Generate from scratch only when there is no source worth preserving. If you need a two-product cut against Higgsfield MCP, use the versus page. If you need a wider shortlist, use the alternatives page. If you need pixels, run the probe in the agent you actually use.
FAQs About Codex Nano Banana
Can I Use Nano Banana in Codex Natively?
Codex can plan the edit and choose files, but raster pixels come from a connected image model such as Nano Banana 2 through Media.io CLI.What Is Nano Banana 2 Best at in a Codex Workflow?
Source-image editing where product identity, character, or layout should survive the change.How Do I Use Nano Banana in Codex When I Have No Source File?
You can still generate, but GPT Image 2 or text-to-image is usually the better first model when nothing needs to be preserved.Where Should the Edited File Go?
Next to the source asset or in the project's image folder, using a stable name that does not overwrite the original until approved.Do I Need a Separate Nano Banana Website Tab?
No. After CLI, plugin, skills, and authentication are in place, Codex can call the model from the same session.What if the Edit Ignores the Source Image?
Confirm the source path was passed, the file is readable, and the brief states what must stay versus what may change.Can Codex Run Nano Banana 2 Natively Without a Generation Layer?
Codex can plan the job and choose files. Raster stills and clips still come from a connected model such as Nano Banana 2 through Media.io CLI.What Should I Do if Codex Returns Text Instead of a File?
Treat it as a tools/auth/path failure until a probe file exists. Do not thicken the adjectives.When Should I Pick GPT Image 2 Instead?
Use Nano Banana 2 when a product, face, or layout must survive. Use GPT Image 2 when there is no source worth preserving.What Is a Good First Nano Banana 2 Job in Codex?
One boring probe with an explicit output path. Campaign language comes after the file exists.Who Owns QA After Codex Calls Nano Banana 2?
The project, not the model. Media.io returns the file; humans or rules accept it.When Do I Change Models?
After the path works and the brief is specific. Switching models to avoid setup repair is the slow path.What Is Codex Nano Banana in One Sentence?
Set up Nano Banana 2 in Codex, run a source-image edit, and save the result next to the original file.Who Should Not Start a Codex Nano Banana Workflow Yet?
Anyone who cannot name the output file or complete install and login. Browse first; generate after the path exists.How Should I Verify Cost for Image Versus Video?
In the live Media.io account, and in any other vendor account on your shortlist. Confirm whether image has a free entry and whether video is a separate credit pool.What Is the First Codex Nano Banana Artifact I Should Keep?
The probe file plus the brief that produced it. Without those two, you cannot debug or resume.
Use Nano Banana 2 When the Source File Is the Point
If Codex can already see the asset you need to keep, Nano Banana 2 is the model to call. Generate from scratch only when there is no source worth preserving. Use Nano Banana 2 in Codex when the job matches the model. Prove the connection with one boring file, then scale the brief rather than the stack.
