Gemini

Nano Banana 2

GooglePer Request
Alias:nano-banana-2
Create API Key

Compare nano-banana-2 API pricing, supported endpoints, capabilities and access options on Modelsell.

文生图图像编辑多图参考文字渲染
Starting price
Per Request
Context
—
Maximum input window
Modalities
→

Pricing by Supplier

标准按次
图片音频视频等多模态按次计费
Price$0.025/ request

Capabilities / Supported modalities

Vision
Input
Output

Provider & data privacy

Provider
Unknown
Tokenizer
BPE (vendor-specific)
License
Provider-specificUnknown
Data retention47 daysNot used for upstream training by default

Performance

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows

Metrics sourced fromArtificial Analysis 2026-09-30·Nano Banana 2

This model is not included in the current benchmark snapshot.

Missing models or measurements are not zero scores.

Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.

About Nano Banana 2

灵感还没有完全成形时,先做出一张图,往往能让讨论更具体。Nano Banana 2 是 Gemini 3.1 Flash Image 的常用名称,兼顾生成效率与图像理解,既能按文字创作,也能围绕参考图继续编辑,适合日常内容生产与反复试方案。

你可以先描述人物、商品或场景,再补充画幅、光线和视觉重点。比如为一本新书制作社交封面,可以让书本成为画面中心,用桌面与窗光营造阅读气氛,再预留放标题的位置。模型也能处理图片里的文字,但明确的短文案与清楚的版式要求,比泛泛要求“设计得漂亮”更容易获得可用结果。

参考图编辑让修改不必每次从头开始。可以保留人物、商品或已有构图,尝试新的背景与配色;也可以让不同参考图分别提供主体和风格。做系列视觉时,持续使用同一张主体参考,明确哪些地方不能变,再分步调整环境,能更容易延续整体感觉。

模型家族提供从较低分辨率到 4K 的创作选择,适合从草图比较推进到较清晰的展示素材。它尤其适合封面、活动配图、商品场景和轻量设计提案。生成后的文字、人物细节与产品形状仍需要检查;已经满意的图片,下一轮尽量只改一个重点,避免越改越偏离原来的方向。

Use cases and prompting

为一本新书准备社交封面

图一是书封面,请保留书名、封面颜色和书本比例。把书放在窗边木桌上,旁边只有一杯清茶。午后柔光,温暖但不过度泛黄;正方形构图,书本位于右下方,左上角留白,不增加新文字。

接着可要求“只把场景换成简洁书架前,书本角度和大小不变”,比较两种发布风格。

有参考图还需要很长的描述吗? 重点说明保留的主体,以及新的场景、布局和氛围即可。

怎么避免每次修改都换一张脸或一个商品? 使用清晰、统一的主体参考,并限制每轮改动范围;重要细节依然需要核查。

适合做精确排版吗? 可以先完成图文方向,最终文字和对齐仍建议人工检查。

API access

API documentation

nano-banana-2

Use the linked documentation for model-specific request parameters and examples.

Code samples

RequestPOST/v1/images/generations
Example request
Parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired image
size
enum
=1024x1024
Output image size
quality
enum
=standard
Generation quality preset
style
enum
=vivid
Aesthetic style
n
integer
=11 ~ 10
Number of images to generate
response_format
enum
=url
How to deliver the resulting image

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired image
size
enum
=1024x1024
Output image size
quality
enum
=standard
Generation quality preset
style
enum
=vivid
Aesthetic style
n
integer
=11 ~ 10
Number of images to generate
response_format
enum
=url
How to deliver the resulting image

Rate limits

SupplierRPMTPMRPD
标准按次UnlimitedUnlimitedUnlimited

No restriction

Frequently asked questions about nano-banana-2

What is nano-banana-2?

Compare nano-banana-2 API pricing, supported endpoints, capabilities and access options on Modelsell.

How do I call nano-banana-2?

Create an API key with access to nano-banana-2, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is nano-banana-2 priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

How should I evaluate nano-banana-2 for my project?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.