Nano Banana API
Nano Banana 图像生成模型,支持文生图与图生图。
Starting price View pricing · Price snapshot
Waiting to refresh live prices…
Model pricing
Compare all public tiers and current prices for this series on one page.
Input
$0.010000–$0.020000 / 张/个
Output
总价 = 生成数量 × 对应档位单价
Context
—
Max output
—
- Model ID
-
nano-banana - Billing model
- Fixed combination billing
- Available groups
- default, svip
- Capabilities
- text-to-image, image-to-image
- Combination pricing rules
按生成数量和所选参数计费总价 = 生成数量 × 对应档位单价
分辨率: 1k$0.0100 / 张/个分辨率: 2k$0.0150 / 张/个分辨率: 4k$0.0200 / 张/个查看高级计费表达式
v2:resolution == "1k" ? tier("resolution/1k/", units(n, 0.01)) : resolution == "2k" ? tier("resolution/2k/", units(n, 0.015)) : resolution == "4k" ? tier("resolution/4k/", units(n, 0.02)) : tier("resolution/unmatched", 0)
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",
"prompt": "A serene lake at dawn, photorealistic"
}' For more parameters, limits, and async task queries, read the Nano Banana developer guide. Nano Banana Developer guide · Authorization