Nano Banana Edit API

Nano Banana Edit is Google’s AI image-editing model for transforming existing images with text prompts, enabling edits, style changes, and visual refinements.

Modalities
Image, TextImage
Price
$0.04per generation
Model type
Image generation
Released
Feb 27, 2026

Nano Banana Edit overview

Aspect ratio
Sample Nano Banana Edit image generated through AI/ML API: A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lette

Nano Banana Edit by Google

Meet Nano Banana Edit: describe the change and it edits your image directly, blending in up to 3 reference photos while keeping the rest of the scene intact.

Nano Banana Edit specs

Model ID
google/nano-banana-edit
Developer
Google
Input
Image, Text
Output
Image
Endpoint
POST https://api.aimlapi.com/v1/images/generations

What Is Nano Banana Edit API?

Nano Banana Edit is a Google image-editing model surfaced under the Nano Banana family on Google AI Studio and Gemini’s image-generation documentation. The available Google sources describe Nano Banana as a native image-generation and editing capability rather than a separate standalone product description for this exact model ID.

Google’s documentation shows Nano Banana supports image editing workflows with text and image inputs, and the Nano Banana family is positioned for precise visual generation and editing.

Technical Reference

DeveloperGoogle
Model IDgoogle/nano-banana-edit
Release DateFebruary 26, 2026
ModalitiesImage, Text → Image

What Nano Banana Edit Brings to the Table

Image-editing support
Google’s Nano Banana documentation includes image-editing workflows alongside text and image generation capabilities.

Multi-input workflows
The model family supports image-based prompting, and Google documents image inputs as part of Nano Banana prompting guidance.

Native Gemini image capability
Google states that Nano Banana is the name for Gemini’s native image-generation capabilities.

Broad input support in AI Studio
Google AI Studio lists Nano Banana among models that accept text and image inputs, with a Nano Banana Pro variant also shown in the catalog.

Where Nano Banana Edit Makes the Most Sense

Photo edits from natural language
Google’s Nano Banana materials describe using prompts to transform images in editing workflows.

Image generation for Gemini apps
Google positions Nano Banana as Gemini’s native image-generation capability for creating images from text and image references.

Google product-assisted editing
Google says Nano Banana powers image editing experiences in Lens, Photos, Search, and NotebookLM.

Reference-image prompting
Google’s prompting guidance describes using image inputs as references for Nano Banana workflows.

Use cases

Localized edits to existing images are documented as a primary use case for Nano Banana Edit, including adding, removing, or modifying a specific element while keeping the rest of the image unchanged.

It is also suited to identity preservation and related edits such as prop swaps, expression changes, and clothing changes.

Multi-image composition is another documented use case, where multiple input images are combined, such as placing a subject from one photo into the setting of another.

Nano Banana Edit API pricing

Nano Banana Edit pricing in US dollars
UsagePriceUnit
Image generation$0.04per generation

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Nano Banana Edit vs other image models: prices

AI/ML API rates for 5 models, per generation.

AI/ML API prices in USD per generation
ModelPer generation
Nano Banana Edit$0.04
Nano Banana$0.039
Gemini 3 Pro Image Edit$0.15
Nano Banana Pro Edit$0.15
Nano Banana Pro$0.25

How to use the Nano Banana Edit API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/nano-banana-edit",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'

Nano Banana Edit FAQ

How much does Nano Banana Edit cost?

Nano Banana Edit costs $0.04 per generation on AI/ML API, billed as you go with no subscription.

What inputs and outputs does Nano Banana Edit support?

Nano Banana Edit takes image, text as input and returns image.

When was Nano Banana Edit released?

Nano Banana Edit became available on February 27, 2026.

Can Nano Banana Edit take an existing image as input?

Yes, Nano Banana Edit accepts image input as well as a text prompt.

Who created Nano Banana Edit?

Nano Banana Edit was built by Google.

How do I call Nano Banana Edit on AI/ML API?

Send a request to https://api.aimlapi.com/v1/images/generations with google/nano-banana-edit as the model id.

Is Nano Banana Edit available through a single API key?

Yes. Nano Banana Edit is served through AI/ML API, so the same key and endpoint format used for other models applies.

What is the Nano Banana Edit model ID?

Use google/nano-banana-edit as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.

Start building with Nano Banana Edit

Nano Banana Edit API

google/nano-banana-edit

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/nano-banana-edit",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'