Gemini

Gemini Nano Banana 2.1

Google按量收費動態收費
Alias:gemini-nano-banana-2.1

Google 開發了 Gemini 系列 AI 模型,可處理文字、圖像和音訊等多種模態的任務。

文生图对话式修图主体一致性文字渲染
起始價格
查看完整計費明細
上下文
131.1K
最大輸入窗口
最大輸出
32.8K
單次回應最大 token 數
模態
→
發佈於
Oct 2026

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商2
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount輸入/M輸出/M圖像輸出/M
Google AI Studio

Google 官方 API

省41.5%
$0.8775$1.5
$4.3875$7.5
$17.55$30
Google Vertex

Google 官方 API

省25%
$1.125$1.5
$5.625$7.5
$22.5$30
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

推理網絡搜尋
輸入
輸出

廠商與數據私隱

供應商
Google文件
分詞器
SentencePiece (Gemini)
許可證
Proprietary (commercial)商業閉源
數據保留26 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·Gemini Nano Banana 2.1

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About Gemini Nano Banana 2.1

Use Gemini Nano Banana 2.1 through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

查看介紹原文

一张图生成出来以后,真正费心的往往是修改:换个背景,保留人物;改一句标题,别把构图一起推翻。Nano Banana 2.1 把这类反复沟通的设计过程放进对话里,既能从文字生成画面,也能理解参考图并继续调整细节。它在 Nano Banana 2 的基础上改进了视觉质量、指令遵循、文字呈现和多轮角色一致性,适合需要持续打磨的日常设计。

让参考图各司其职

可以把商品外观、角色形象和场景风格分别交代清楚,再让模型组合成新画面。最多支持 14 张参考图,适合围绕同一品牌做系列视觉,或把多件商品放进统一场景。相比只写“参考这些图片”,说明每张图负责什么,更容易保住重要的颜色、材质和身份特征。

图片里的文字也是设计的一部分

海报标题、信息图和活动卡片,需要文字内容与版式一起考虑。Nano Banana 2.1 能按提示安排文字层级、图文位置与留白,也适合在后续对话中更换文案、调整配色。中文标题、长段文字和品牌标识仍值得逐字检查;先确定布局,再精修文字,通常比一次加入所有信息更容易控制。

提供 1K、2K、4K 输出,适合从概念草图逐步推进到较清晰的展示素材。宽幅与全景构图也可以用于横幅、长条封面或空间氛围图。需要真实背景知识的主题创作时,模型还支持搜索辅助理解。生成结果依然需要检查人物、商品细节和事实表达,尤其不要把漂亮的信息图直接当成已经验证的数据结论。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Explore product visuals, campaign concepts and illustration drafts.
  • Compare composition and visual style across several prompt variations.

Practical tips

Specify the subject, composition, lighting and style. Only include reference images or editing parameters when the endpoint supports them.

Example prompt

A minimalist product photograph of a ceramic cup on pale stone, soft window light, ample empty space on the right, warm neutral colors.

查看使用指南原文

咖啡店周末活动海报

图一是我们的咖啡杯,请保留杯型、米白色杯身和绿色标识。图二只参考窗边的光线。制作竖版海报:杯子放在画面下半部,背景为浅绿色,上方清晰写“周末来一杯”,下方留出添加日期的位置。画面温暖、干净,不增加其他品牌文字。

下一轮可以只要求“标题保持不变,把桌面换成浅木色,杯子位置与大小不变”,观察局部修改是否符合预期。

多张图怎样用才有效? 标明商品图、人物图、构图图或风格图各自的用途,避免相互冲突。

适合直接做带文字的海报吗? 适合先完成图文设计,再检查文字准确性和发布尺寸;长说明文字可留给排版工具补充。

API access

API 介面文件

呼叫示例

請求POST/v1beta/models/gemini-nano-banana-2.1:generateContent
請求範例
參數
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
Google AI Studio無限制無限制無限制
Google Vertex無限制無限制無限制

無限制

Frequently asked questions about gemini-nano-banana-2.1

What is gemini-nano-banana-2.1?

Use gemini-nano-banana-2.1 through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

How do I call gemini-nano-banana-2.1?

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

How is gemini-nano-banana-2.1 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.

What is the context window of gemini-nano-banana-2.1?

The model catalog lists a context window of 131072 tokens. Check the selected endpoint for request limits.

What is the maximum output of gemini-nano-banana-2.1?

The model catalog lists a maximum output of 32768 tokens. Your request settings may set a lower limit.

How should I evaluate gemini-nano-banana-2.1 for my project?

Specify the subject, composition, lighting and style. Only include reference images or editing parameters when the endpoint supports them.