分辨率
1K · 2K · 4K
三档输出,按张计费。
Nano Banana 2.1 是谷歌最新的高效图像生成与对话式编辑模型,基于 Gemini 3.6 Flash,是 Nano Banana 2 的升级版本。它在保持 Flash 级速度的同时,提升了 1K、2K、4K 下的画质、提示词遵循、文字渲染、蒙版编辑与多轮角色一致性,并可融合最多 14 张参考图。
新品 · Nano Banana 2.1
Nano Banana 2 的下一代 —— 更清晰、更听话,依然 Flash 级速度。
Nano Banana 2.1(gemini-nano-banana-2.1)是谷歌最新的图像模型,基于 Gemini 3.6 Flash 打造,带来更好的视觉设计、蒙版编辑、更强的主体一致性和更自然的画面。它与你已在使用的 Nano Banana 2 共用完全相同的 APIPod 图片 API —— 只需更换模型 ID。
分辨率
1K · 2K · 4K
三档输出,按张计费。
参考图
最多 14 张
一次请求融合商品、风格与角色。
一致性
4 角色 · 10 物体
最多 4 个角色一致、10 个物体高保真。
起步价
$0.02
APIPod 1K 每张价格,仅为 Nano Banana 2 的一半。
Google DeepMind 官方 Nano Banana 2.1 示例图。
2.1 是日常生产的新默认选择,家族其他成员继续负责各自擅长的场景。
在 APIPod 上 API 契约相同 —— 变化的是背后的模型。
| 规格 | Nano Banana 2.1 | Nano Banana 2 |
|---|---|---|
| 上游模型 | gemini-nano-banana-2.1 | Gemini 3.1 Flash Image |
| 分辨率 | 1K · 2K · 4K | 512px · 1K · 2K · 4K |
| 宽高比 | 10 种常规比例(横幅比例即将开放) | 10 种常规 + 4 种横幅 |
| 参考图 | 最多 14 张 | 最多 14 张 |
| 主体一致性 | 4 角色 · 10 物体,跨多轮编辑 | 5 角色 · 14 物体 |
| 视觉设计与文字 | 排版与文字渲染升级 | 清晰文字 + 本地化 |
| 速度 | Flash 级 | Flash 级 |
| 每张价格 | $0.02 (1K) · $0.04 (2K) · $0.05 (4K) | $0.04 (512px/1K) · $0.06 (2K) · $0.08 (4K) |
能力说明参考谷歌 Nano Banana 2.1 模型卡与 API 文档,实际效果因提示词而异。谷歌提示 1K 下的小字与长段落仍可能不完美,文字密集的版式建议使用 2K 或 4K。谷歌为 2.1 列出了 1:4–8:1 全景比例,待上游渠道支持后将在 APIPod 开放。
APIPod 定价
按分辨率档位为每张生成的图片付费,无订阅、无最低消费。
| 分辨率 | 每张价格 |
|---|---|
| 1K | $0.02 |
| 2K | $0.04 |
| 4K | $0.05 |
价格以美元计且可能调整,提交前控制台会显示实时价格。生成与编辑同价。
一个模型 ID 同时覆盖文生图与图片编辑。
最高 4K 的写实场景、人像与商品图,光影与细节更出色。
在原图上手绘蒙版并描述修改 —— 物体保持大小与位置不变,只替换周围场景。
融合最多 14 张参考图,最多保持 4 个角色与 10 个物体一致。
为海报、信息图、包装与网站样机提供更干净的字体与排版。
官方示例
以下示例图与原始提示词来自 Google DeepMind 的 Nano Banana 2.1 发布页。复制提示词,发送到同一个图片接口即可。
雾气弥漫的高地场景中,自然光、镜头质感与细腻纹理。
提示词
A cinematic landscape portrait still, captured with a 50mm f/1.8 prime lens, depicting an adult Scottish crofter in a tweed cap and waxed jacket scratching the woolly forelock of a majestic red-haired Highland cow in a misty mountain pasture in the Isle of Skye. Deep green peat bogs and craggy basalt pinnacles of the Storr rise dramatically in the soft overcast morning daylight.
大胆的黄、粉、绿配色与精准构图。
提示词
A 16:9 horizontal cinematic still, shot from street level looking up at the sharp diagonal steel exterior staircase of a two-story retro motel painted vibrant mustard-yellow against a flamingo-pink stucco facade. An adult woman in an emerald-green mini dress descends the staircase, her hand trailing along the yellow railing. The bright yellow, pink, and green color clash creates a delightful, sun-drenched cinematic mood.
被蒙版圈出的物体保持大小与位置,周围环境被整体替换。
提示词
mask the object inside the sketch and place in a completely different environment but don't change the size and position of the object itself, create 5 of these each 16:9, each it's own server call, one at a time
多张参考人像融合成一张风格统一的时尚大片。
提示词
i want a high-end editorial fashion shot with all these models posing together in abstract colorful set, dramatic composition, some models are far and some are close. choose a theme
图片与提示词来源:Google DeepMind「Introducing Nano Banana 2.1」。编辑类示例所用的参考图输入未包含在内。
快速开始
提交任务、轮询状态、拿到图片 URL。已经在用 Nano Banana 2?只需更换模型 ID。
完整参数说明(quality / aspect_ratio / image_urls)请查看 Nano Banana 2.1 文档。
import os, time, requests
headers = {"Authorization": f"Bearer {os.environ['APIPOD_API_KEY']}"}
payload = {
"model": "nano-banana-2.1",
"prompt": "A minimalist product shot of a ceramic coffee cup on travertine, soft morning light",
"quality": "2K", # 1K / 2K / 4K
"aspect_ratio": "4:5", # 10 standard ratios
# "image_urls": ["https://..."] # up to 14 references for editing
}
resp = requests.post("https://api.apipod.ai/v1/images/generations", json=payload, headers=headers)
task_id = resp.json()["data"]["task_id"]
while True:
data = requests.get(f"https://api.apipod.ai/v1/images/status/{task_id}", headers=headers).json()["data"]
if data["status"] in ("completed", "failed"):
print(data.get("result"))
break
time.sleep(2)Nano Banana 2.1(gemini-nano-banana-2.1)是谷歌最新的高效图像生成与编辑模型,于 2026 年 10 月 6 日发布,是 Nano Banana 2 的升级版本,基于 Gemini 3.6 Flash。它提升了画质、提示词遵循、文字渲染与多轮编辑中的角色一致性。在 APIPod 上的模型 ID 为 nano-banana-2.1。
2.1 基于 Gemini 3.6 Flash,画面更自然,视觉设计与文字排版更好,并支持蒙版编辑与更强的多参考图一致性。在 APIPod 上,Nano Banana 2 仍提供 512px 档与横幅比例(1:4、4:1、1:8、8:1),2.1 暂未开放。两者请求格式相同,2.1 各档位价格都更低。
Nano Banana 2.1 支持 1K(默认)、2K、4K 输出,不提供 Nano Banana 2 的 512px 档。在 APIPod 上目前支持 10 种常规宽高比:1:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9、21:9。
每次请求可通过 image_urls 传入最多 14 张参考图。谷歌称最多可稳定呈现 4 个角色与 10 个物体。
1K 每张 $0.02,2K 每张 $0.04,4K 每张 $0.05,按生成张数计费。文生图与图片编辑同价。
向 /v1/images/generations 发送 POST 请求并将 model 设为 nano-banana-2.1,然后轮询 /v1/images/status/{task_id} 直到任务完成;也可以配置 webhook 接收结果。
创建 API Key 并更换模型 ID —— 现有的 Nano Banana 2 集成无需任何改动,每张价格还更低。