curl 'https://api.kerox.ai/v1/tasks' \
-H "Authorization: Bearer $KEROX_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "google/nano-banana-2",
"input": {
"prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
"resolution": "1K"
}
}'响应示例
{
"id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
"object": "task",
"model": "google/nano-banana-2",
"status": "processing"
}可传入的参数
参数一律用统一格式的名字,各模型通用。
| 参数名 | 类型 | 必填 | 默认值 | 可选值 | 作用 |
|---|---|---|---|---|---|
prompt | string | 必填 | — | — | 提示词 |
images | string | string[] | — | — | — | 参考图 |
aspect_ratio | string | — | "1:1" | 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 21:9, 1:4, 4:1, 1:8, 8:1 | 画面比例 |
resolution | string | — | "1K" | 1K, 2K, 4K | 分辨率 |
n | integer | — | 1 | 1 | 生成数量 |
暂不支持: seed, output_format, n
定价
1 张 · 1K
$0.0250
$0.0670比官方价低 62%1 张 · 2K
$0.0300
$0.1010比官方价低 70%1 张 · 4K
$0.0400
$0.1510比官方价低 73%
常见用法参考价
| 规格 | 官方价 | Kerox | 比官方价低 |
|---|---|---|---|
| 1 张 · 1K | $0.0250 | 62% | |
| 1 张 · 2K | $0.0300 | 70% | |
| 1 张 · 4K | $0.0400 | 73% | |
| $10 能做多少 | 400 张 1K 图片 | ||
| 档位 | 官方价 | Kerox |
|---|---|---|
| 1K | $0.0250 | |
| 2K | $0.0300 | |
| 4K | $0.0400 |
提交任务前可用 POST /v1/estimate 估价。
Nano Banana 2 生成的作品

Editorial photograph of a blue kingfisher perched above a quiet pond, square composition, natural light, no lettering.

Editorial photograph of a yellow tram winding through a coastal village, square composition, natural light, no lettering.

Editorial photograph of a ceramic teapot on an oak table, morning light, square composition, natural light, no lettering.
关于 Nano Banana 2
根据提示词生成一张图片,或使用最多 14 张参考图进行编辑。支持 1K、2K 和 4K。
常见问题
Nano Banana 2 多少钱?
Kerox 上的 Nano Banana 2 $0.0250 / 张 起,比官方价低 62%。按次付费,生成失败不扣费。每一档的价格见本页的价格表。
Nano Banana 2 有 API 吗?
有。用模型 ID google/nano-banana-2 向 Kerox 的接口提交任务,然后查询任务,或等 webhook 通知。Nano Banana 2 的 API 文档里有全部参数和代码示例。
不写代码能在网页上直接用 Nano Banana 2 吗?
可以。在本页生成面板选择参数即可查看价格,登录后即可生成。 在线体验
用 Nano Banana 2 需要订阅吗?
不需要。没有套餐,也没有月费。$5 起充,用多少付多少。
如何使用 Nano Banana 2?
登录 Kerox,在 Studio 中打开 Nano Banana 2,输入提示词即可在浏览器中生成。如需通过代码调用,请创建 API 密钥,并使用模型 ID google/nano-banana-2 提交任务。
Nano Banana 2 可以免费使用吗?
Nano Banana 2 是 Kerox 上的付费模型:每次成功生成按本页价格计费,生成失败不收费。无月费,最低充值 $5 即可开始使用。
