Nano Banana Edit overview
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
- 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
| Developer | |
|---|---|
| Model ID | google/nano-banana-edit |
| Release Date | February 26, 2026 |
| Modalities | Image, 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
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.04 | per 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.
| Model | Per generation |
|---|---|
| $0.04 | |
| $0.039 | |
| $0.15 | |
| $0.15 | |
| $0.25 |
How to use the Nano Banana Edit API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport 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."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"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."
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"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."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());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.
