google/gemini-2.5-flash-image
Google Nano Banana,底层为 Gemini 2.5 Flash Image,通过 OneHop Vertex 兼容入口进行图像生成与图像编辑。支持文本和图片输入,可输出图片并可附带文本。
来源: gemini_image_x0.5 · 核验于 2026-06-06
缓存读 $0.015/M · 缓存写 —/M
API 调用时用任一 ID 都可以。
google/gemini-2.5-flash-image把 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-2.5-flash-image",
contents="What is the meaning of life?",
)
print(response.text)Nano Banana 2 — 当前默认 Gemini 图片模型。
$0.25/M↓ · $1.5/M↑
Nano Banana Pro — Google 最强 Gemini 3 Pro 图像生成与编辑。
$1/M↓ · $6/M↑
Nano Banana 2 Lite —— 家族里最快最便宜的一档,1K 出图约 4 秒。
$0.125/M↓ · $0.75/M↑
最近 30 天 207 次请求