Google Image Available

Nano Banana 2 API

Nano Banana 2 图像生成模型,支持文生图、图生图与多种画幅比例。

Starting price $0.0200 / 次 · Price snapshot

Waiting to refresh live prices…

Get started Developer guide

Model pricing

Compare all public tiers and current prices for this series on one page.

Per request

$0.0200 / 次

Output

Context

Max output

Model ID
nano-banana-2
Billing model
Per-request billing
Available groups
default, svip
Capabilities
text-to-image, image-to-image

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

Other Google model series