Varosity

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)