Nano Banana API
$0.04/img on Varosity credits ($0.04/img with your own key).
no Replicate account needed · provider's list price, no markup · failed renders never billed
Best for
- very fast
- good identity preservation
- image editing
Trade-offs
- less photoreal than Flux Pro
- occasional limb glitches
How to get the best result
Fast image editing and restyling that preserves a subject's identity from a reference image. Pick instead: gemini-3-pro-image for text-heavy graphics from scratch; gpt-image-2 for precise instruction-following edits.
Prompting
- Describe edits conversationally, as to a designer; make one change per request.
- Name only what changes and say everything else (style, lighting, composition) stays the same.
- Reuse the same reference image across generations for consistency.
Settings on Varosity
- referenceImageUrl is passed as image_input (one image via the public API).
- aspectRatio 1:1, 16:9, 9:16, 4:5; output png.
Avoid
- Bundling several edits in one prompt.
- Small faces needing fine detail; occasional limb glitches.
Example prompt
Keep the person's face and jacket exactly the same; change only the background to a snowy mountain trail at dusk and match the lighting.
From replicate.com, 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": "nano-banana",
"aspectRatio": "1:1"
}'Or use Nano Banana 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 nano-banana to generate an image of …"MCP setup for your agent
Alternatives to Nano Banana
- Flux Dev12B parameter model · strong prompt adherence$0.02/img
- FLUX.1 [schnell]fast (about 5 s) · good prompt adherence$0.01/img
- FLUX.2 [klein]current-gen FLUX at draft price · crisper text than FLUX.1$0.01/img
- FLUX.2 [pro]current-gen FLUX quality · strong prompt adherence$0.03/img
- FLUX.3 KleinBlack Forest Labs' newest image model · fast and cheap$0.01/img
- GPT Image 2best-in-class instruction following · accurate in-image text$0.08/img