全GPT 20%オフ 🎉 DeepSeek 30%オフ詳細はこちら

Google: Nano Banana 2.1

Image Generation
google/gemini-nano-banana-2.1

Nano Banana 2.1 は、Google の GA 版画像生成・編集モデルであり、Nano Banana 2(Gemini 3.1 Flash Image)の後継モデルです。1 つのプロンプトにつき最大 14 枚の参照画像に対応し、1K、2K、4K 解像度での出力が可能で、アスペクト比は 1:8 から 8:1 まで対応しています。テキストからの画像生成やマルチターン編集をこなし、Google Search によるグラウンディングにも対応しています。

コンテキストウィンドウ
131K
最大出力トークン
33K
リリース日
2026-10-06
機能
VisionWeb検索
利用可能なプロバイダー
Vertex
対応プロトコル
openaigemini

Providers

Vertexprovider.type: "google_vertex"
入力トークン
$1.5/M
出力トークン
$7.5/M
画像出力
$30/M
Web検索
$0.014/R
Protocols
openai/v1/chat/completions/v1/images/edits/v1/images/generations
gemini

コード例

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

よくある質問

Ofox.aiでのGoogle: Nano Banana 2.1の料金は、入力100万トークンあたり$1.5/M、出力100万トークンあたり$7.5/Mです。従量課金制、月額料金なし。