Google

Nano Banana 2

This is a discounted trial route. Generation may take longer and has roughly a 10% chance of failing. It is best for cost-sensitive image generation trials where queueing and occasional failures are acceptable; for more stable production use, choose a regular route.

  • Multimodal output
Use in Consolenano-banana-2

USD /image

Pricing

GroupTierPrice
default1K$0.033
default2K$0.053
default4K$0.08
default
1K$0.033
2K$0.053
4K$0.08

Public list prices are shown in USD. Final charges may vary by account group and usage tier.

API

Code examples

curl --location --request POST 'https://api.tokenhot.ai/v1beta/models/nano-banana-2:generateContent' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contents": [
        {
            "role": "user",
            "parts": [
                {
                    "text": "draw a baby"
                }
            ]
        }
    ],
    "generationConfig": {
        "responseModalities": [
            "TEXT",
            "IMAGE"
        ],
        "imageConfig": {
            "aspectRatio": "16:9",
            "imageSize": "2k"
        }
    }
}'

FAQ

Frequently asked questions

What is Nano Banana 2 best suited for?

Nano Banana 2 is suited to the input, output, and capability types listed on this page. Test production workloads before choosing it for a critical system.

How is Nano Banana 2 priced?

Pricing is shown in the pricing section above. Actual cost depends on usage volume, account group, and the request payload.

How can I call Nano Banana 2?

Use the model ID shown above with one of the supported API protocols. Code examples are provided when usage data is available.

Get started

Build with Nano Banana 2

Use in Console