google/gemini-3.1-flash-lite-image
Nano Banana 2 Lite, backed by Gemini 3.1 Flash Lite Image, is Google's speed-and-cost tier for image generation and editing through the Vertex-compatible OneHop route. It takes text and image input and returns an image with optional text, at roughly 4 seconds per 1K image. Google positions it as the upgrade path for anyone still on the original Nano Banana. It renders at the 1K size only, and is not tuned for many reference images or long multi-turn editing sessions — reach for Nano Banana 2 or Nano Banana Pro when you need those.
Fuente: official_x0.5 · Verificado el 2026-09-10
Lectura de caché $0.0125/M · Escritura de caché —/M
Puedes usar cualquiera de los IDs para llamar al modelo via API.
google/gemini-3.1-flash-lite-imageYou can use these names directly in the request model field.
Reemplaza el marcador ONEHOP_KEY con tu API key. Crear →
from google import genai
# OneHop 兼容 Vertex AI Gemini generateContent 接口
client = genai.Client(
api_key="<ONEHOP_KEY>",
http_options={"base_url": "https://api.onehop.ai/vertex-ai"},
)
response = client.models.generate_content(
model="google/gemini-3.1-flash-lite-image",
contents="What is the meaning of life?",
)
print(response.text)Nano Banana 2 — current default Gemini image model.
$0.25/M↓ · $1.5/M↑
Nano Banana Pro — Google's most advanced Gemini 3 Pro image generation and editing.
$1/M↓ · $6/M↑
Nano Banana — fast Gemini image generation and editing.
$0.15/M↓ · $1.25/M↑