MODEL COLLECTIONGOOGLE · IMAGE MODEL FAMILY

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.

Nano Banana API collection artwork

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 output preview
image
Google

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.

  • text-to-image
  • commercial
PRICEFrom $0.04
MODEimage
View model
Nano Banana 2.1 Edit output preview
image
Google

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.

  • image-to-image
  • commercial
PRICEFrom $0.042
MODEimage
View model
Nano Banana 2 Lite Text to Image output preview
image
Google

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.

  • text-to-image
PRICEFrom $0.0336
MODEimage
View model
Nano Banana 2 Lite Edit output preview
image
Google

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.

  • image-to-image
PRICEFrom $0.0336
MODEimage
View model
Nano Banana 2 Text to Image output preview
image
Google

Nano Banana 2 Text to Image

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

  • text-to-image
  • commercial
PRICEFrom $0.067
MODEimage
View model
Nano Banana 2 Edit output preview
image
Google

Nano Banana 2 Edit

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

  • image-to-image
  • commercial
PRICEFrom $0.067
MODEimage
View model
Nano Banana Pro Text to Image output preview
image
Google

Nano Banana Pro Text to Image

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

  • text-to-image
  • commercial
PRICEFrom $0.134
MODEimage
View model
Nano Banana Pro Edit output preview
image
Google

Nano Banana Pro Edit

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

  • image-to-image
  • commercial
PRICEFrom $0.1351
MODEimage
View model

Model lineup

The most used endpoints first.

ModelTaskWhat it does
Nano Banana Pro EditImage editNano Banana Pro is Google's new state-of-the-art image generation and editing model
Nano Banana 2 EditImage editNano Banana 2 is Google's new state-of-the-art image generation and editing model
Nano Banana Pro Text to ImageText → imageNano Banana Pro is Google's new state-of-the-art image generation and editing model
Nano Banana 2 Text to ImageText → imageNano Banana 2 is Google's new state-of-the-art fast image generation and editing model
Nano Banana 2 Lite Text to ImageText → imageNano Banana 2 Lite by Google - generate stunning images from text prompts with state-of-the-art AI
Nano Banana 2.1 Text to ImageText → imageNano 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 EditImage editNano 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 EditImage editNano 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.

  1. 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.

    TERMINAL

    export SANDBASE_API_KEY="YOUR_SANDBASE_API_KEY"
  2. 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.

    TERMINAL

    curl 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"]}'
  3. 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.

    TERMINAL

    curl 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.

READY / SET / RUN

Build with Nano Banana API.

One key, consistent APIs, and usage-based pricing across every model on this page.

Get your API keyRead the docs