Nano Banana API
Nano Banana is Google's Gemini image generation and editing family: Pro for quality, 2.1 and 2 for fast generation, and 2 Lite for low latency.

Explore the model lineup
Preview the output style, compare capabilities, then open any model for full specs, pricing, and a live Playground.

Nano Banana 2.1 Text to Image
Nano Banana 2.1 is Google's latest fast image generation model, with better prompt adherence, cleaner text rendering, extreme aspect ratios and 1K to 4K output.

Nano Banana 2.1 Edit
Nano Banana 2.1 Edit is Google's latest fast image editing model, fusing up to 14 reference images with stronger subject consistency and 1K to 4K output.

Nano Banana 2 Lite Text to Image
Nano Banana 2 Lite by Google - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.

Nano Banana 2 Lite Edit
Nano Banana 2 Lite Edit is Google's low-latency, cost-efficient image editing model (Gemini 3.1 Flash Lite Image). Edit and combine supplied images with a text prompt; output is a 1K image.

Nano Banana 2 Text to Image
Nano Banana 2 is Google's new state-of-the-art fast image generation and editing model

Nano Banana 2 Edit
Nano Banana 2 is Google's new state-of-the-art image generation and editing model

Nano Banana Pro Text to Image
Nano Banana Pro is Google's new state-of-the-art image generation and editing model

Nano Banana Pro Edit
Nano Banana Pro is Google's new state-of-the-art image generation and editing model
Model lineup
The most used endpoints first.
| Model | Task | What it does |
|---|---|---|
| Nano Banana Pro Edit | Image edit | Nano Banana Pro is Google's new state-of-the-art image generation and editing model |
| Nano Banana 2 Edit | Image edit | Nano Banana 2 is Google's new state-of-the-art image generation and editing model |
| Nano Banana Pro Text to Image | Text → image | Nano Banana Pro is Google's new state-of-the-art image generation and editing model |
| Nano Banana 2 Text to Image | Text → image | Nano Banana 2 is Google's new state-of-the-art fast image generation and editing model |
| Nano Banana 2 Lite Text to Image | Text → image | Nano Banana 2 Lite by Google - generate stunning images from text prompts with state-of-the-art AI |
| Nano Banana 2.1 Text to Image | Text → image | Nano Banana 2.1 is Google's latest fast image generation model, with better prompt adherence, cleaner text rendering, extreme aspect ratios and 1K… |
| Nano Banana 2.1 Edit | Image edit | Nano Banana 2.1 Edit is Google's latest fast image editing model, fusing up to 14 reference images with stronger subject consistency and 1K to 4K… |
| Nano Banana 2 Lite Edit | Image edit | Nano Banana 2 Lite Edit is Google's low-latency, cost-efficient image editing model (Gemini 3.1 Flash Lite Image) |
Google's image generation and editing family
Nano Banana models generate images from text and edit them with natural-language instructions. Every tier has a matching Edit endpoint.
- Nano Banana Pro: Google's state-of-the-art tier and one of the most used image models on SandBase.
- Nano Banana 2.1: better prompt adherence, cleaner text, extreme aspect ratios, 1K–4K output, and edits that fuse up to 14 reference images.
- Nano Banana 2 and 2 Lite: fast and low-latency options for volume.
For Google video, see Veo. Compare with other families on Best AI Image Models.
Start using Nano Banana API on SandBase
One API key and one request shape for every model on this page.
- 01
Create an API key
Sign in to the SandBase Console and create a key on the API Keys page. Keep it in an environment variable and never commit it to source control.
TERMINALexport SANDBASE_API_KEY="YOUR_SANDBASE_API_KEY" - 02
Submit a run
Send a request to the Unified Run API with model google/nano-banana-pro/edit. Only the model field changes between models on this page.
TERMINALcurl https://api.sandbase.ai/v1/run \ -H "Authorization: Bearer $SANDBASE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "google/nano-banana-pro/edit", "prompt": "Create a professional e-commerce fashion photo. Take the blue floral dress from the first image and let the woman from the second image wear it. Generate a realistic, full-body shot of the woman wearing the dress, with the lighting and shadows adjusted to match the outdoor environment.", "images": ["https://static.sandbase.ai/examples/a24d699f-ac6b-4c57-b162-f6073c15d031/input/80b3b8e7-87db-4487-ab30-a844b4f22b96.png", "https://static.sandbase.ai/examples/a24d699f-ac6b-4c57-b162-f6073c15d031/input/7c80d815-ad38-457a-9664-bf7371a876b5.png"]}' - 03
Fetch the result
The response includes a run id. Poll it every few seconds until the status is completed, then download the output URL.
TERMINALcurl https://api.sandbase.ai/v1/run/$RUN_ID \ -H "Authorization: Bearer $SANDBASE_API_KEY"
Questions, answered
Pro or 2.1?
Use Pro for the highest quality. Use 2.1 for fast generation with strong text rendering and multi-reference edits.
How many reference images can I use?
Nano Banana 2.1 Edit accepts up to 14 reference images. Pass them as an images array.
What resolutions are available?
Nano Banana 2.1 supports 1K to 4K output and extreme aspect ratios.
What is Nano Banana 2 Lite?
A low-latency, cost-efficient tier for generation and editing.
Build with Nano Banana API.
One key, consistent APIs, and usage-based pricing across every model on this page.
