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
Released
Jun 30, 2026

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
+1542%
$0.24
$28.50
—
—
—
Officialstable
+1801%
$0.28
$33.00
—
—
—

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
Defaultcheap
standardBase
$0.24
$28.50
Officialstable
standardBase
$0.28
$33.00

Capabilities

ReasoningVisionStructured output

Parameters

Request parameters this model accepts through the API.

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedtemperaturetop_p

Benchmarks

bar = score (0–100) · ▏ median

Scores come from vendor reports and public leaderboards, not private evals.

GPQA Diamond
Science QA
10.3
—

Quick start

POST /v1/images/generations/
import os
from openai import OpenAI

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

img = client.images.generate(
    model="gemini-3.1-flash-lite-image",
    prompt="A red bicycle leaning on a white wall",
    n=1,
    size="1024x1024",
)
# img.data[0].b64_json — or .url, depending on the model
Wire Nano Banana 2 Lite (Gemini 3.1 Flash Lite 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