Skip to content
Runstage

Google DeepMind

Nano Banana 2

Text-to-image model built on Google's Gemini 3.1 Flash Image. Renders legible typography, follows long multi-part prompts, and delivers anything from photoreal portraits to labelled diagrams — up to 4096 x 4096 in a single pass.

Published API pricing
~$0.0845 / 1K (1024px)
See all tiers
1K (1024px)~$0.0845
2K (2048px)~$0.1372
4K (4096px)~$0.2229
API model ID
Image API interfacenano-banana-2
Endpoint
POST /api/v2/run
Input
Text prompt
Output
Image (PNG / WebP)
Rate
~$0.0845 / 1K (1024px)
Sample prompt

“An overhead flat-lay photograph of a weekend breakfast spread on a scratched zinc table, shot from directly above with a slight wide-angle. A cast iron skillet holds a golden dutch baby pancake dusted with icing sugar an…”

Best for

API reference

API model ID
nano-banana-2
Model developer
Google DeepMind
Modality
Image Generation & Editing
Input
Text prompt
Output
Image (PNG / WebP)
Endpoints
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media
Infrastructure
Partner cloud capacity

Request parameters

  • modelstring · required

    Exact Runstage model slug (nano-banana-2).

  • promptstring · required

    Visual description of subject, composition, lighting, and medium.

  • width / heightinteger · optional

    Output pixel dimensions (e.g. 1024×1024 or 1536×1024).

Additional parameters

  • quality
  • seed
  • enhance_prompt

Quickstart

Copy a working request using model ID nano-banana-2. Check a free pre-run quote first (final cost settles on completion), then run with your Runstage API key.

Open interactive Playground
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"nano-banana-2","width":1024,"height":1024}'

# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "nano-banana-2",   "prompt": "An overhead flat-lay photograph of a weekend breakfast spread on a scratched zinc table, shot from directly above with a slight wide-angle. A cast iron skillet holds a golden dutch baby pancake dusted with icing sugar and torn figs, beside a chipped enamel jug of cream, a linen napkin in ochre, two speckled ceramic plates and a scattering of blueberries. Hard morning sun enters from the right, casting crisp geometric window shadows across the surface and lighting steam rising from a small espresso cup. Rich saturated colour, tactile textures, editorial food photography.",   "width": 1024,   "height": 1024,   "seed": 42 }'

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'

Pricing

Billable unit and optionsRate (USD)
1K · 1024×1024Standard square or portrait output (estimated)~$0.0845
2K · 2048×2048High-resolution editorial artwork (estimated)~$0.1372
4K · 4096×4096Ultra-high-resolution print master (estimated)~$0.2229

Billing notes

  • Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
  • Free pre-run cost estimates are available via POST /api/v2/quote before committing prepaid credits.
  • Upfront reservations automatically reconcile against settled execution cost on completion or failure, refunding any unused reserved credits.
  • Served via partner external capacity; final settled cost reconciles against reported execution metrics.

Live catalog rates on Runstage. Prepaid USD credits with per-key spend caps.

Compare in full catalog