Nano Banana 2 (Gemini 3.1 Flash Image) API
Nano Banana 2 — Google's GA workhorse image model (Gemini 3.1 Flash Image). Gemini-3-series prompt understanding at flash speed; the direct successor tier for the retired Imagen 4 standard model.
$0.070/img on Varosity credits ($0.067/img with your own key).
no google account needed · no subscription · failed renders never billed
Best for
- production-scale quality at flash speed
- legible in-image text
- up to 4K
Trade-offs
- base64 only — no hosted URL
- video-to-image (its unique trick) not wired via Varosity yet
Call it from your code
One Varosity key works for every model.
curl -X POST https://varosity.ai/api/v1/images \
-H "Authorization: Bearer $VAROSITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "studio product shot of a matte black water bottle, soft rim light",
"modelId": "gemini-3.1-flash-image",
"aspectRatio": "1:1"
}'Or ask your agent
Connect Claude, Cursor, or any MCP client to https://varosity.ai/api/mcp with your key, then say:
"Use Varosity with gemini-3.1-flash-image to generate an image of …"Agent setup guide
Alternatives to Nano Banana 2 (Gemini 3.1 Flash Image)
- Nano Banana Pro (Gemini 3 Pro Image)best-in-class legible in-image text · multilingual text$0.141/img
- DALL-E 3strong text-in-image · creative compositions$0.042/img
- FLUX.2 [klein]current-gen FLUX at draft price · crisper text than FLUX.1$0.006/img
- GPT Image 2best-in-class instruction following · accurate in-image text$0.084/img
- Grok Imagine Imagecheap ($0.02/image) · photorealism$0.021/img
- Ideogram V3best text-in-image · legible typography$0.042/img