Nano Banana Pro 对比 Nano Banana 2:该用哪个图像 API
Google 现在有一整个 Nano Banana 图像模型系列,人们最常对比的两个是 Nano Banana Pro 和 Nano Banana 2。本指南从价格、尺寸、画幅和输入几个方面并排对比它们,并展示如何用同一个请求调用其中任何一个。
简短结论
Nano Banana Pro 和 Nano Banana 2 都是 Google 的图像模型,既能根据提示词生成图片,也能编辑你发送的图片。在 Revana 上它们使用同一种请求格式,所以在两者之间切换只需修改 model 字段中的一个词。实际的区别在于每张图片的价格、各自提供的尺寸和画幅,以及背后有几条线路:
- 选择 Nano Banana Pro:当图片中的文字必须正确(包装、海报、菜单、幻灯片),或者要把许多参考图合成一个场景时。它是 Google 的顶级图像模型,价格在每种尺寸下都一样:从 1K 到 4K,每张 $0.04。
- 选择 Nano Banana 2:适合大批量工作、极端的横幅画幅,或者任何想在 1K 或 2K 下得到更便宜图片的情形:1K 和 2K 下每张 $0.03,4K 下 $0.04。
- 选择 Nano Banana 2 Lite:适合 1K 的缩略图、草稿和测试运行,每张 $0.02。
这些都不是画质排名。我们不发布评分,真正靠谱的测试是用你自己的十条提示词在两个模型上各跑一遍,并排比较结果。按这些价格,这个测试的花费远低于一美元。
Nano Banana Pro 对比 Nano Banana 2,并排对比
这张表中的所有内容都来自实时目录(models.json),也就是 API 用来校验请求的同一个文件。
| Nano Banana Pro | Nano Banana 2 | Nano Banana 2.1 | Nano Banana 2 Lite | |
|---|---|---|---|---|
| 模型 id | nano-banana-pro | nano-banana-2 | nano-banana-2.1 | nano-banana-2-lite |
| 任务 | 文生图、图像编辑 | 文生图、图像编辑 | 文生图、图像编辑 | 文生图、图像编辑 |
| 尺寸 | 1K, 2K, 4K | 0.5K, 1K, 2K, 4K | 1K, 2K, 4K | 1K |
| 宽高比 | 10 种画幅,从 21:9 到 9:16 | 14 种画幅,包括 1:4、4:1、1:8 和 8:1 | 14 种画幅,包括 1:4、4:1、1:8 和 8:1 | 10 种画幅,从 21:9 到 9:16 |
| 参考图 | 最多 14 张 | 最多 14 张 | 最多 14 张 | 最多 14 张 |
| 起价 | $0.04 / 张 | $0.03 / 张 | $0.03 / 张 | $0.02 / 张 |
| 线路 | 一条线路 | 两条线路 | 三条线路 | 两条线路 |
有两点很突出。第一,四个模型都支持最多 14 张参考图,所以多图合成本身并不是为 Pro 付费的理由。第二,Nano Banana 2 和 2.1 支持 Pro 不支持的极高和极宽画幅(1:8 和 8:1),这对网页横幅、竖版故事长条图和长信息图很重要。
每种尺寸下的每张图片价格(2026 年 10 月)
图片按每张计费一次。表格显示了标价,以及每种尺寸下 100 张和 1,000 张图片的批量费用。
| 模型 | 尺寸 | 每张图片 | 100 张图片 | 1,000 张图片 |
|---|---|---|---|---|
| Nano Banana Pro | 1K | $0.04 | $4.00 | $40.00 |
| Nano Banana Pro | 2K | $0.04 | $4.00 | $40.00 |
| Nano Banana Pro | 4K | $0.08 | $8.00 | $80.00 |
| Nano Banana 2 | 1K | $0.03 | $3.00 | $30.00 |
| Nano Banana 2 | 2K | $0.03 | $3.00 | $30.00 |
| Nano Banana 2 | 4K | $0.04 | $4.00 | $40.00 |
| Nano Banana 2.1 | 2K | $0.03 | $3.00 | $30.00 |
| Nano Banana 2 Lite | 1K | $0.02 | $2.00 | $20.00 |
到 4K 时差距消失:Nano Banana Pro 和 Nano Banana 2 都标价 $0.08。如果你要印刷、大幅裁剪,或为零售屏幕放大,在这个尺寸下 Pro 的价格并不比 Nano Banana 2 高。想了解其他平台上的同样价格,请参阅 Nano Banana Pro 价格对比。
常见任务该用哪个
| 任务 | 先用 | 原因 |
|---|---|---|
| 标签清晰可读的产品图 | Nano Banana Pro | 文字准确度正是 Pro 的强项,而且价格直到 4K 都是固定的。 |
| 批量生成社交媒体帖子和广告变体 | Nano Banana 2 | 1K 和 2K 下价格更低;请求格式相同,所以对胜出的图片可以升级到 Pro。 |
| 宽幅横幅和高长条图 | Nano Banana 2 或 2.1 | 只有这两个提供 1:4、4:1、1:8 和 8:1。 |
| 缩略图、草稿和提示词测试 | Nano Banana 2 Lite | 整个系列中最低的价格,仅 1K。 |
| 繁忙的生产流水线 | Nano Banana 2.1 | 整个系列中线路最多,所以某条线路繁忙时不太容易拖慢你。 |
一个合理的做法是:先用 Nano Banana 2 或 Lite 出草稿,挑出你喜欢的图片,然后在 Nano Banana Pro 上用 2K 或 4K 再把这些提示词跑一遍。由于除了 model 之外请求体完全相同,在代码里切换非常简单。
调用 Nano Banana Pro 或 Nano Banana 2
发送 POST /v1/generations,带上模型 id 和 input。响应是一个带有生成任务 id 的 202;轮询它,直到状态为 succeeded 或 failed。图片通常几秒内完成。这张 2K 的 Nano Banana Pro 图片费用为 $0.04;把模型改成 nano-banana-2,同样的请求只需 $0.03。
export REVANA_API_KEY="sr_live_..."
# 1. Submit the job (returns 202 with the generation id)
curl https://api.revana.si/v1/generations \
-H "Authorization: Bearer $REVANA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-pro",
"input": {
"prompt": "A matte black coffee bag on a light oak counter, morning light from the left. The label reads NORTHLINE ROASTERS in white capitals, with SINGLE ORIGIN ETHIOPIA in smaller type below.",
"resolution": "2K",
"aspect_ratio": "4:5"
},
"max_cost_usd": 0.1
}'
# 2. Poll with the id from step 1 until status is "succeeded" or "failed"
curl https://api.revana.si/v1/generations/gen_01JC2V8K5T \
-H "Authorization: Bearer $REVANA_API_KEY"import os
import time
import requests
API = "https://api.revana.si/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['REVANA_API_KEY']}"}
resp = requests.post(f"{API}/generations", headers=HEADERS, json={
"model": "nano-banana-pro",
"input": {
"prompt": "A matte black coffee bag on a light oak counter, morning light from the left. The label reads NORTHLINE ROASTERS in white capitals, with SINGLE ORIGIN ETHIOPIA in smaller type below.",
"resolution": "2K",
"aspect_ratio": "4:5",
},
"max_cost_usd": 0.1,
})
resp.raise_for_status()
job = resp.json()
while job["status"] in ("queued", "running"):
time.sleep(5)
job = requests.get(f"{API}/generations/{job['id']}", headers=HEADERS).json()
if job["status"] == "succeeded":
print(job["output"]["urls"], job["cost_usd"])
else:
print("Failed:", job["error"])// Node 18 or later. Save as generate.mjs and run: node generate.mjs
const API = "https://api.revana.si/v1";
const headers = {
Authorization: `Bearer ${process.env.REVANA_API_KEY}`,
"Content-Type": "application/json",
};
const res = await fetch(`${API}/generations`, {
method: "POST",
headers,
body: JSON.stringify({
model: "nano-banana-pro",
input: {
prompt: "A matte black coffee bag on a light oak counter, morning light from the left. The label reads NORTHLINE ROASTERS in white capitals, with SINGLE ORIGIN ETHIOPIA in smaller type below.",
resolution: "2K",
aspect_ratio: "4:5",
},
max_cost_usd: 0.1,
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
let job = await res.json();
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 5000));
job = await (await fetch(`${API}/generations/${job.id}`, { headers })).json();
}
if (job.status === "succeeded") console.log(job.output.urls, job.cost_usd);
else console.error("Failed:", job.error);完成的任务会返回图片 URL 和确切的扣费金额:
{
"id": "gen_01JC2V8K5T",
"model": "nano-banana-pro",
"status": "succeeded",
"output": {
"urls": [
"https://cdn.revana.si/g/gen_01JC2V8K5T/0.png"
]
},
"cost_usd": 0.04,
"attempts": 1,
"error": null
}用参考图编辑
要编辑,或把多张图片合成一张,请通过 image_urls 发送它们(这个系列的每个模型最多 14 张),并描述你想要的结果。可以使用你自己托管的文件,或先用 POST /v1/uploads 上传。Nano Banana 2 上这张宽幅横幅的费用为 $0.03:
{
"model": "nano-banana-2",
"input": {
"prompt": "Place the sneaker from the first image on the rock from the second image, at sunset, with the sea behind. Keep the sneaker exactly as it is.",
"image_urls": [
"https://example.com/sneaker.png",
"https://example.com/rock.jpg"
],
"resolution": "2K",
"aspect_ratio": "4:1"
},
"max_cost_usd": 0.1
}max_cost_usd 是上限,而不是费用。标价高于它的线路会被跳过,你只需支付成功的那个任务的标价。失败的图片不收费。
在模型页面查看所有图像模型,在文档中查看完整的请求参考,在价格页面查看额度包,或者获取 API 密钥并运行上面的示例。
常见问题
Nano Banana Pro 比 Nano Banana 2 更好吗?
它们面向不同的任务。Nano Banana Pro 是 Google 的顶级图像模型,以准确的文字和精确的编辑著称;Nano Banana 2 在 1K 和 2K 下更便宜,并提供 1:8 和 8:1 等额外画幅。我们不发布画质评分,所以请用你自己的提示词测试两者。
Nano Banana Pro 和 Nano Banana 2 的价格相比如何?
2026 年 10 月,Nano Banana Pro 在每种尺寸下都是每张 $0.04。Nano Banana 2 在 1K 下 $0.03,2K 下 $0.03,4K 下 $0.04。
两个模型都能编辑图片吗?
能。通过 image_urls 发送图片(最多 14 张),并附上描述期望结果的提示词。两者也都可以只根据提示词生成图片。
哪个 Nano Banana 模型支持 4K?
Nano Banana Pro、Nano Banana 2 和 Nano Banana 2.1 都最高支持 4K。Nano Banana 2 Lite 只能生成 1K 图片。
Nano Banana 2 Lite 适合做什么?
草稿、缩略图和提示词测试。它生成 1K 图片,每张 $0.02,是这个系列中最低的价格。
图片失败时我需要付费吗?
不需要。提交时价格会被预留,任务失败时就会释放。只有已交付的图片才会扣费。