Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用
模型集合GOOGLE · 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 集合插画

探索模型阵容

预览输出风格,对比能力,然后打开任意模型查看完整规格、价格和实时 Playground。

Nano Banana 2.1 Text to Image 输出预览
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
价格起价 $0.04
模式image
查看模型
Nano Banana 2.1 Edit 输出预览
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
价格起价 $0.042
模式image
查看模型
Nano Banana 2 Lite Text to Image 输出预览
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
价格起价 $0.0336
模式image
查看模型
Nano Banana 2 Lite Edit 输出预览
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
价格起价 $0.0336
模式image
查看模型
Nano Banana 2 Text to Image 输出预览
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
价格起价 $0.067
模式image
查看模型
Nano Banana 2 Edit 输出预览
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
价格起价 $0.067
模式image
查看模型
Nano Banana Pro Text to Image 输出预览
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
价格起价 $0.134
模式image
查看模型
Nano Banana Pro Edit 输出预览
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
价格起价 $0.1351
模式image
查看模型

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.

    终端

    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.

    终端

    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.

    终端

    curl https://api.sandbase.ai/v1/run/$RUN_ID \
      -H "Authorization: Bearer $SANDBASE_API_KEY"

常见问题解答

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.

准备 / 就绪 / 运行

使用 Nano Banana API 构建。

一个 key、统一的 APIs,以及按用量计费,覆盖本页每个 模型。

获取您的 API key阅读文档