Gemini

Google: Nano Banana (Gemini 2.5 Flash Image)

Image Generation
google/gemini-2.5-flash-image

Gemini 2.5 Flash Image, a.k.a. "Nano Banana," is now generally available. It is a state of the art image generation model with contextual understanding. It is capable of image generation, edits, and multi-turn conversations.

32K コンテキストウィンドウ
32K 最大出力トークン
リリース日: 2025-10-02
対応プロトコル:OpenAIopenaiGeminigemini
利用可能なプロバイダー:GoogleCloudVertexGeminiGemini
機能:Vision

Providers

GeminiGemini
入力トークン
$0.3/M
出力トークン
$2.5/M
画像出力
$30/M
Protocols
OpenAIopenai/v1/chat/completions/v1/images/generations
Geminigemini
GoogleCloudVertex
入力トークン
$0.3/M
出力トークン
$2.5/M
画像出力
$30/M
Protocols
OpenAIopenai/v1/chat/completions/v1/images/generations
Geminigemini

コード例

from google import genai
client = genai.Client(
api_key="YOUR_OFOX_API_KEY",
http_options={"api_version": "v1beta", "url": "https://api.ofox.ai/gemini"},
)
response = client.models.generate_content(
model="google/gemini-2.5-flash-image",
contents="Generate an image of a beautiful sunset over mountains",
)
print(response.text)

よくある質問

Ofox.aiでのGoogle: Nano Banana (Gemini 2.5 Flash Image)の料金は、入力100万トークンあたり$0.3/M、出力100万トークンあたり$2.5/Mです。従量課金制、月額料金なし。