Back to modelsGoogle
Buy Plan
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
Quick Stats
Context
131K
Max Output
33K
Provider
Specs
1
Modalities
in imagein textout imageout text
Specs & Platform Price (per 1M tokens)
Quality
Input $0.5Output $3Image out $60
Recommended Plan
Nano Banana 2 (Gemini 3.1 Flash Image) Starter Plan
Pay-as-you-go after top-up; $1 free credit for new users.
API Endpoint
Model ID
google/gemini-3.1-flash-imagecURL
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)Start using this model
Sign up free, get an API key, and make your first call in 30 seconds.