google/gemini-3-pro-image
Google Nano Banana Pro, backed by Gemini 3 Pro Image, for high-fidelity image generation and editing through the Vertex-compatible OneHop route. Industry-leading in-image text rendering, multi-image blending, identity preservation across subjects, and 2K/4K output. Supports text and image input, returns image output with optional text. Billed per successfully returned image at its actual resolution. The image package includes prompts, input images, thinking, caching and accompanying text; no additional token charges.
來源:https://ai.google.dev/gemini-api/docs/pricing · 核驗於 2026-10-30
API 呼叫時用任一 ID 都可以。
google/gemini-3-pro-image請求中的 model 可以直接使用這些名稱。
把 ONEHOP_KEY 佔位符替換為你的 API Key。 建立 →
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-pro-image",
contents="What is the meaning of life?",
)
print(response.text)Nano Banana 2 — current default Gemini image model.
— · —
Nano Banana 2 Lite — the fastest, cheapest Nano Banana, about 4 seconds per 1K image.
$0.25/M↓ · $1.5/M↑
Nano Banana — fast Gemini image generation and editing.
— · —
最近 30 天 0 次請求