Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)
Image Generationgoogle/gemini-3.1-flash-lite-imageGemini 3.1 Flash Lite Image is Google's most cost-efficient image generation and editing model, supporting text-to-image, image editing, and multi-image composition. Outputs generated at 1K resolution across 14 aspect ratios, at the lowest price point in the Nano Banana family.
コンテキストウィンドウ
66K
最大出力トークン
64K
リリース日
2026-06-30
機能
Vision
利用可能なプロバイダー
Vertex
対応プロトコル
openaigemini
Providers
Vertex
入力トークン
$0.25/M
出力トークン
$1.5/M
画像出力
$30/M
Protocols
openai
/v1/chat/completions/v1/images/generationsgemini
コード例
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "base_url": "https://api.ofox.io/gemini"},)response = client.models.generate_content(model="google/gemini-3.1-flash-lite-image",contents="Generate an image of a beautiful sunset over mountains",)print(response.text)
関連モデル
よくある質問
Ofox.aiでのGoogle: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)の料金は、入力100万トークンあたり$0.25/M、出力100万トークンあたり$1.5/Mです。従量課金制、月額料金なし。
Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)は66Kトークンのコンテキストウィンドウと最大64Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.ai/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)は以下の機能に対応:Vision。Ofox.ai統合APIですべての機能にアクセスできます。