# Nano Banana 2

`nano-banana-2` · Google DeepMind · Image Generation & Editing

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.

[Model page](https://runstage.dev/models/nano-banana-2) · [JSON](https://runstage.dev/models/nano-banana-2.json) · [Catalog](https://runstage.dev/pricing) · [Playground](https://runstage.dev/playground?model=nano-banana-2)

## Technical summary

- **Exact API model slug**: `nano-banana-2`
- **Developer**: Google DeepMind
- **Inference types**: `txt2img`
- **Infrastructure**: Partner Cloud (Premium plan)
- **Headline rate**: Live estimate via /api/v2/quote (Partner rate (estimated before run))
- **Free quote endpoint**: `POST https://runstage.dev/api/v2/quote`

## Runstage routes

- **Text to Image** (`txt2img`): `POST /api/v2/quote` · `POST /api/v2/run` · `GET /api/v2/jobs/{request_id}` · `GET /api/v2/jobs/{request_id}/output` · `MCP runstage_generate_media`

## Best for

- Run Nano Banana 2 via unified v2 jobs with free pre-run /price quotes
- Partner-hosted flagship model accessible on Premium accounts

## Billing notes

Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.

## Quickstart (cURL)

```bash
# 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>'
```
