返回模型列表
Google

Nano Banana 2 (Gemini 3.1 Flash Image)

Gemini 3.1 Flash Image is Google's native image generation and editing model built for speed and efficiency, ideal for fast interactive responses and high-throughput creative workflows. 计价类型: multimodal

快速参数

上下文

131K

最大输出

33K

出品方

Google

规格数

1

模态

输入 image输入 text输出 image输出 text

规格与平台指导价(每百万 tokens)

高质量
输入 $0.5输出 $3图片输出 $60

推荐套餐

Nano Banana 2 (Gemini 3.1 Flash Image) 体验套餐

充值即用,按量计费;新用户享 $1 体验额度。

购买套餐

API 接入

Model IDgoogle/gemini-3.1-flash-image

cURL

curl https://intertoken.ai/v1/chat/completions \
  -H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-image",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python (openai SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://intertoken.ai/v1",
    api_key="$TOKENPORTAL_API_KEY",
)

resp = client.chat.completions.create(
    model="google/gemini-3.1-flash-image",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

立即使用此模型

免费注册,获取 API Key,30 秒接入