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
対応プロトコル:openaigemini
利用可能なプロバイダー:Vertex
機能:Vision
料金
| タイプ | 料金 |
|---|---|
| 入力トークン | $0.3/M |
| 出力トークン | $2.5/M |
| 画像出力 | $30/M |
コード例
from google import genaiclient = 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です。従量課金制、月額料金なし。
Google: Nano Banana (Gemini 2.5 Flash Image)は32Kトークンのコンテキストウィンドウと最大32Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.ai/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
Google: Nano Banana (Gemini 2.5 Flash Image)は以下の機能に対応:Vision。Ofox.ai統合APIですべての機能にアクセスできます。