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
Knowledge cutoff
2025-01-31

Capabilities

VisionPrompt cachingStructured output

Channels

Same weights on every channel. Requests route to the cheapest healthy one; the channel used is printed on each billing line.

Provider
Discount
Input /M
Output /M
Cache Read /M
Cache Create 5m /M
Cache Create 1h /M
Defaultstable
+928%
$0.28
$28.50
$0.07

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="google/gemini-2.5-flash-image",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire Nano Banana (Gemini 2.5 Flash Image) into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free