Nano Banana
Nano Banana generates images. One fixed variant per request.
Our price
per image
Official output price
per image
20% lessFirst request
Available# Set OPERATION_ID once per generation; reuse it when retrying.
OPERATION_ID=$(python3 -c "import uuid; print(uuid.uuid4())")
curl https://api.tokely.me/v1/images/generations \
-H "Authorization: Bearer $TOKELY_API_KEY" \
-H "Idempotency-Key: $OPERATION_ID" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-flash-image",
"output_format": "png",
"aspect_ratio": "1:1",
"image_size": "1:1",
"n": 1,
"prompt": "A quiet coastal village at sunrise."
}'Set TOKELY_API_KEY to your dashboard key. Requests require a funded Tokely balance. Base URL: https://api.tokely.me/v1.
Capabilities & limits
- Provider
- API model ID
gemini-2.5-flash-image- Category
- Image
- Endpoints
POST /v1/images/generations- Output
- Image · synchronous response
- Supported input
- Prompt, Output format, Aspect ratio, Image size, Nsfw checker, Images
- One bounded generation
- $0.0312 per image
API reference
Authenticate with Authorization: Bearer YOUR_TOKELY_API_KEY. Use your Tokely base URL and API key.
- model
- Required string:
gemini-2.5-flash-image - prompt (required)
- Text, up to 20000 characters
- output_format
- png, jpeg. Default:
png - aspect_ratio
- 1:1, 9:16, 16:9, 3:4, 4:3, 3:2, 2:3, 5:4, 4:5, 21:9, auto. Default:
1:1 - image_size
- 1:1, 9:16, 16:9, 3:4, 4:3, 3:2, 2:3, 5:4, 4:5, 21:9, auto. Default:
1:1 - nsfw_checker
- true or false
- n
- Between 1 and 1; whole numbers. Default:
1
Requests are charged to your Tokely balance using the options and rates shown above. Your dashboard records usage.
The response contains the generated image. Save or download the result returned by the API.
- 400 / 415
- Invalid request, parameter, endpoint for this model, or content type.
- 401 / 403
- Invalid, revoked or restricted API key.
- 402
- Insufficient account balance or API key budget.
- 429
- Request limit reached. Retry after the indicated delay.
- 502 / 503 / 504
- Upstream failure, temporary service unavailability or request timeout.
Compare nearby prices
| Model | Price | Unit | Variant |
|---|---|---|---|
| Nano BananaGoogle · this model | $0.0312 | image | One bounded generation |
| GPT Image 1.5OpenAI | $0.0306 | image | One bounded generation |
| Qwen Image 3.0Qwen | $0.036 | image | One bounded generation |
| FLUX.1 Kontext ProBlack Forest Labs | $0.036 | image | One bounded generation |
| Seedream 3.0Doubao | $0.027 | image | One bounded generation |
Compare equivalent generation settings
Match model version, duration, resolution and input requirements before comparing two prices. Results are kept for 30 days; download those you need to keep.
Frequently asked questions
How much does Nano Banana cost?
One bounded generation: $0.0312 per image. Usage is charged to your Tokely balance.
Do I need a separate Google account?
Use your Tokely API key and balance. A separate provider key is not required.
How do I switch to this model?
Set model to gemini-2.5-flash-image and use /v1/images/generations. Keep your Tokely base URL and API key. Use the parameters listed above for this model.