すべてのモデルコンソールで開く
無料ではじめる
Gemini 3.1 Flash Image (Nano Banana 2)
googlegoogle/gemini-3.1-flash-image-preview
Also known as "Nano Banana 2". High-efficiency counterpart to Gemini 3 Pro Image, optimized for speed and high-volume developer use cases. Supports the widest aspect-ratio set (incl. 1:4 / 4:1 / 1:8 / 8:1 banners) and 512-4K resolutions.
入力
画像とプロンプト
出力
生成枚数
ツール
MINIMAL
推論
非対応
料金
| 種別 | 100 万トークンあたり |
|---|---|
| 入力 | $0.50 |
| 出力 | $60.00 |
トークン単位で課金。最低料金やリクエストごとの手数料はありません。対応プロバイダではキャッシュが適用され、ミス時は通常の入出力単価にフォールバックします。
クイックスタート
from openai import OpenAI
client = OpenAI(
base_url="https://api.vecbase.com/v1",
api_key="sk-vbc-...",
)
with open("product.jpg", "rb") as image:
response = client.images.edit(
model="google/gemini-3.1-flash-image-preview",
image=image,
prompt="Create a commerce-ready vertical product detail image.",
size="1024x1024",
quality="low",
)
print(len(response.data), response.usage)出荷の準備はできましたか?
プロジェクトを作成し、API キーを発行して、OpenAI 互換クライアントからこのモデルを呼び出しましょう。