Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)

Nano Banana 2 Lite is Google's fastest, most cost-efficient image generation model in the Nano Banana 2 family, released 2026-06. It produces images in roughly 4 seconds, about 2.7× faster than Gemini 3.1 Flash Image, while retaining the family's character consistency and precise editing. The same API handles text-to-image, image editing, and multi-image composition, with outputs at 1K resolution across 14 aspect ratios and an invisible SynthID watermark.

Modalities
inImageinTextoutImage
Price / 1M
$0.24 / $28.50
Context
66K
Knowledge cutoff
2025-01-01

Capabilities

ReasoningVisionStructured 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
+1542%
$0.24
$28.50

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-3.1-flash-lite-image",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) into your product

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

Start free