Nano Banana API
Google's fast, high-quality image generation and editing model
Overview
Nano Banana is Google's efficient AI image model optimized for fast generation and editing. Available through AI Generate with all variants including Pro and standard modes.
All 7 Nano Banana variants & pricing
Every variant is accessible via the same API endpoint. Switch variants by changing the model parameter. No extra setup.
| Variant | Credits | Price USD | Unit | |
|---|---|---|---|---|
| Google nano banana, text-to-image | 4.00 | $0.0280 | per image | Details → |
| Google nano banana edit, image-to-image | 4.00 | $0.0280 | per image | Details → |
| Google nano banana 2, 1K | 8.00 | $0.0560 | per image | Details → |
| Google nano banana 2, 2K | 12.00 | $0.0840 | per image | Details → |
| Google nano banana 2, 4K | 18.00 | $0.1260 | per image | Details → |
| Google nano banana pro, 1/2K | 18.00 | $0.1260 | per image | Details → |
| Google nano banana pro, 4K | 24.00 | $0.1680 | per image | Details → |
Use Nano Banana via API
Example call with the default variant. Replace model with any slug from the table above.
curl https://aimarcusimage.eu/api/v1/jobs/createTask \
-H "Authorization: Bearer sk-aig-..." \
-H "Content-Type: application/json" \
-d '{
"model": "google-google-nano-banana-text-to-image",
"input": {
"prompt": "a red fox sitting in snow, golden hour, photographic"
}
}'
FAQ
How much does Nano Banana cost?
Pricing starts at $0.0280 per image for the most affordable variant. You pay per call from your credit balance — no monthly subscription, no minimum commitment. First $10 on signup are free.
Is this an official Google API?
AI Generate is an AI model aggregator that routes calls to Google's upstream API. You get the exact same model outputs with simpler billing (pay per call, no contracts), one API key for 288 models, and the same OpenAI-compatible request shape across all providers.
Can I use Nano Banana in production?
Yes. The endpoint is rate-limited to 20 requests per 10 seconds per API key, retries are idempotent via taskId, and async results are delivered via polling or webhook. Set a spend cap in dashboard settings to protect against runaway usage.
Which Nano Banana variant should I pick?
For first tests, start with the cheapest variant (lowest "Price USD" in the table above). Upgrade to higher-resolution or "Quality" tiers only when you have validated prompts. The Playground (free) lets you A/B test all variants before spending credits.