Text to image
Elo · text-to-image arena
Custom pricing for production workloads
Nano Banana is Google’s native image-generation and editing model for creating and transforming images from text, images, or both with conversational control.
Nano Banana is Google's native image generation and editing model, producing images from text or image prompts.
google/nano-bananaPOST https://api.aimlapi.com/v1/images/generationsNano Banana is Google’s name for Gemini’s native image generation and editing capability. In Google’s current model lineup, the exact model id `google/nano-banana` corresponds to the legacy Nano Banana image model, which Google identifies as Gemini 2.5 Flash Image.
Google describes Nano Banana as a conversational image model that can generate, edit, and iterate on visuals using text, images, or a combination of both.
| Developer | |
|---|---|
| Model ID | google/nano-banana |
| Release Date | February 26, 2026 |
| Modalities | Image, Text → Image |
Model identity
Google’s documentation maps Nano Banana to Gemini 2.5 Flash Image, described as the legacy pioneer of the Nano Banana series.
Core function
The model supports conversational image generation and editing from text and image inputs.
Key capabilities
Google says the model can blend multiple images into one image, maintain character consistency, make targeted transformations with natural language, and use Gemini’s world knowledge in image editing.
Availability
Google says the model is available via the Gemini API and Google AI Studio, with enterprise access through Vertex AI.
Image creation
Generate new images from text prompts or combinations of text and images.
Image editing
Edit existing images conversationally with targeted changes described in natural language.
Multi-image composition
Blend multiple reference images into a single output while preserving consistency across subjects.
Nano Banana 2 Lite
Google describes this as the fastest and cheapest Gemini image model, aimed at speed- and cost-sensitive workloads.
Nano Banana 2
Google describes this as the most versatile general-purpose image model, with strong 4K generation and reliable text rendering.
Nano Banana Pro
Google positions this as the premium model for the most complex visual tasks, with higher world knowledge and advanced localization.
Sources: https://aistudio.google.com/models/nano-banana · https://ai.google.dev/gemini-api/docs/image-generation · https://gemini.google/overview/image-generation/
Create and edit images conversationally using text, images, video, or a combination, with fine control over the result.
Generate high-quality image content such as detailed, playful, realistic, or whimsical images.
Use it for studio-quality image generation and editing with precise control over visuals.
Build image-based apps and workflows that generate or edit visuals directly inside developer tools and production applications.
Human-preference results for Nano Banana in text to image, next to models available on AI/ML API. Data retrieved Nov 3, 2026.
Elo · text-to-image arena
USD per generation
Arena results for models you can call with the same API key.
Blind pairwise human votes on images generated from text prompts. Nano Banana ranks #56 of 98.
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.039 | per generation |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API rates for 5 models, per generation.
| Model | Per generation |
|---|---|
| $0.039 | |
| $0.04 | |
| $0.15 | |
| $0.15 | |
| $0.25 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/images/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "google/nano-banana",
"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",
"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",
"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 costs $0.039 per generation on AI/ML API, billed as you go with no subscription.
Nano Banana takes image, text as input and returns image.
Nano Banana became available on February 27, 2026.
Yes, Nano Banana accepts image input as well as a text prompt.
Nano Banana was built by Google.
Send a request to https://api.aimlapi.com/v1/images/generations with google/nano-banana as the model id.
Yes. Nano Banana is served through AI/ML API, so the same key and endpoint format used for other models applies.
Nano Banana is an image generation model, supporting text-to-image and image-to-image modalities.
Use google/nano-banana as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.