google/gemini-3.1-flash-image
Google Nano Banana 2, backed by Gemini 3.1 Flash Image, for higher-quality image generation and editing. It accepts text, image, and video input, and returns image output through the Vertex-compatible OneHop route.
出典: gemini_image_x0.5 · 確認日 2026-06-06
キャッシュ読み取り $0.025/M · キャッシュ書き込み —/M
どちらの ID を使っても API でこのモデルを呼び出せます。
google/gemini-3.1-flash-imageYou can use these names directly in the request model field.
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.1-flash-image",
contents="What is the meaning of life?",
)
print(response.text)Nano Banana Pro — Google's most advanced Gemini 3 Pro image generation and editing.
$1/M↓ · $6/M↑
Nano Banana 2 Lite — the fastest, cheapest Nano Banana, about 4 seconds per 1K image.
$0.125/M↓ · $0.75/M↑
Nano Banana — fast Gemini image generation and editing.
$0.15/M↓ · $1.25/M↑
過去 30 日間で 544 件のリクエスト