Google: Nano Banana (Gemini 2.5 Flash Image)

Nano Banana is Google's Gemini 2.5 Flash Image model, released 2025-10, focused on image generation and editing with strong contextual understanding. It handles multi-turn visual conversations and supports controllable aspect ratios, making it suitable for iterative design and creative workflows.

Modalities
inImageinTextoutImage
Price / 1M
$0.28 / $28.50
Context
33K
Released
Oct 7, 2025

Channels

Every channel serves the same model, but they differ in price and stability. On each API key in the Platform, you pick a primary and a backup channel per vendor, and each billing line shows which channel served the request.

Provider
Discount
Input /M
Output /M
Cache read /M
Cache write 5m /M
Cache write 1h /M
Defaultcheap
+928%
$0.28
$28.50
$0.07
—
—
Officialstable
+1090%
$0.33
$33.00
$0.08
—
—

Context pricing

This model’s price depends on how much input context a request carries. The headline price is the cheapest band, and a longer prompt moves the whole request into a higher one.

Input context
Input /M
Output /M
Cache read /M
Defaultcheap
standardBase
$0.28
$28.50
$0.07
Officialstable
standardBase
$0.33
$33.00
$0.08

Capabilities

VisionPrompt cachingStructured output

Parameters

Request parameters this model accepts through the API.

max_tokensresponse_formatseedstopstructured_outputstemperaturetop_p

Quick start

POST /v1beta/models/{model}:generateContent
curl https://api.mirapi.ai/v1beta/models/gemini-2.5-flash-image:generateContent \
  -H "x-goog-api-key: $MIRAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "A red bicycle leaning on a white wall"}]}],
    "generationConfig": {
      "responseModalities": ["TEXT", "IMAGE"],
      "imageConfig": {"aspectRatio": "1:1"}
    }
  }'
# the image is base64 in candidates[0].content.parts[].inlineData.data
Wire Nano Banana (Gemini 2.5 Flash Image) into your product

1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.

Start free