Nano Banana 2 API
Nano Banana 2 图像生成模型,支持文生图、图生图与多种画幅比例。
Starting price $0.020000 / 次 · Price snapshot
Waiting to refresh live prices…
Model pricing
Compare all public tiers and current prices for this series on one page.
Input
$0.020000 / 次
Output
总价 = 请求次数 × 每次价格
Context
—
Max output
—
- Model ID
-
nano-banana-2 - Billing model
- Fixed combination billing
- Available groups
- default, svip
- Capabilities
- text-to-image, image-to-image
- Combination pricing rules
按请求固定计费总价 = 请求次数 × 每次价格
基础价格$0.0200 / 次查看高级计费表达式
v2:tier("base", units(1, 0.02))
API reference
Base URL is https://api.rokoapi.com/v1. The model in requests must use the model IDs listed above.
curl https://api.rokoapi.com/v1/images/tasks \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-2",
"prompt": "A serene lake at dawn, photorealistic",
"size": "1:1",
"quality": "1K"
}' For more parameters, limits, and async task queries, read the Nano Banana 2 developer guide. Nano Banana 2 Developer guide · Authorization