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.
Kaynak: official_x0.5 · Doğrulandı: 2026-09-10
Cache okuma $0.0125/M · Cache yazma —/M
API çağrısında her iki ID de kullanılabilir.
google/gemini-3.1-flash-lite-imageYou can use these names directly in the request model field.
ONEHOP_KEY yer tutucusunu API key'inizle değiştirin. Oluşturun →
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↑