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.07/img on Varosity credits ($0.067/img with your own key).

no Google AI Studio account needed · provider's list price; credits round each call up to the cent · failed renders never billed

Best for

  • production-scale quality at flash speed
  • legible in-image text

Trade-offs

  • video-to-image (its unique trick) not wired via Varosity yet

How to get the best result

Nano Banana 2: production-scale image quality with legible text at flash speed. Pick instead: gemini-3-pro-image for the hardest text/layout jobs; gemini-3.1-flash-lite-image for the cheapest drafts.

Prompting

  • Narrative scene description; for photos, name shot type, lens, lighting and textures like a photographer.
  • Quote exact text with font and placement; describe what should be present rather than excluded.

Settings on Varosity

  • aspectRatio sent natively (1:1, 16:9, 9:16, 4:5, 21:9); no providerOptions.
  • Text-to-image only; referenceImageUrl is refused (400 reference_not_supported); the image is returned as a hosted URL at the default size.

Avoid

  • Using it for edits via Varosity (not wired).

Example prompt

Overhead product photo of a matte black water bottle on wet slate, three-point softbox light, droplets in sharp focus, empty space on the right.

From ai.google.dev, developers.googleblog.com, checked against what Varosity sends.

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 use Nano Banana 2 (Gemini 3.1 Flash Image) over MCP

Connect ChatGPT, Claude, Cursor or any MCP client to https://varosity.ai/api/mcp (sign in, or use your key), then say:

"Use Varosity with gemini-3.1-flash-image to generate an image of …"
MCP setup for your agent

Alternatives to Nano Banana 2 (Gemini 3.1 Flash Image)