Choose flagship
Use the top model when correctness, reasoning depth, and coding reliability matter more than cost.
Nano Banana collection
The Nano Banana API Family collection is a comparison of related Image models on APIAny. Use it to pick a version by quality, cost, and workflow before you integrate.
Compare Nano Banana models for text-to-image, image-to-image, editing, high-fidelity text rendering, and creative production.
| Model | Best For | Input | Output | Context | Cached |
|---|---|---|---|---|---|
| Nano Banana Fast | Fast image generation and editing with high availability. | Text / image | Image | 1K | Async |
| Nano Banana 2 Quality | Higher-quality visual generation with multiple output size options. | Text / image | Image | 0.5K / 1K / 2K / 4K | Async |
| Nano Banana Pro Pro | High-fidelity generation and editing for premium creative workflows. | Text / image | Image | 1K / 2K / 4K | Async |
Use the top model when correctness, reasoning depth, and coding reliability matter more than cost.
Use value models for assistants, automation, support, and workflows that still need strong quality.
Use lightweight models for routing, classification, extraction, and high-volume background tasks.
Prototype and ship features on Image models without managing multiple provider SDKs.
Route across the family by changing the model id — pricing, channels, and fallbacks stay on the platform.
Evaluate versions side by side, then move traffic between models without rewriting integration code.
Unified access
Keep product code stable while changing models, providers, pricing, and channel routes from the platform.
curl https://apiany.ai/v1/images/generations \
-H "Authorization: Bearer $APIANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana",
"prompt": "A clean product hero image for APIAny.AI",
"size": "1k"
}'Send requests to one OpenAI-compatible APIAny endpoint with a single API key, and set the public model id in the request body — no provider-specific SDKs required.
Usage is paid from prepaid APIAny credits at the rates shown in the comparison table. Credits never expire and there is no subscription.
Yes. Change only the model id in your request — endpoint, auth, and response format stay the same across the family.
Use the comparison table and the How to choose guidance above: pick flagship for quality, balanced for everyday production, and budget for high-volume tasks.
Sources
The quotations below are from official API documentation that APIAny implements against.
The Chat Completions API endpoint will generate a model response from a list of messages comprising a conversation.
The Gemini API provides access to Google's most capable generative AI models.
APIAny© 2026 APIAny. All rights reserved.