google/gemini-2.5-flash-image
Google Nano Banana, backed by Gemini 2.5 Flash Image, for image generation and image editing through the Vertex-compatible OneHop route. It supports text and image input and can return image output with optional text.
Источник: 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 — 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 2 Lite — the fastest, cheapest Nano Banana, about 4 seconds per 1K image.
$0.125/M↓ · $0.75/M↑
207 запросов за последние 30 дней