Nano Banana 2 (Gemini 3.1 Flash Image)
google/gemini-3.1-flash-imageNano Banana 2 (Gemini 3.1 Flash Image) is Google's image generation and conversational image editing model in the Gemini 3 series, producing images alongside text from text, image, video and PDF input. Google positions it as the high-efficiency, low-latency counterpart to Nano Banana Pro for high-volume developer use, adding output resolutions from 0.5K to 4K, extra wide and tall aspect ratios, image search grounding and improved multilingual text rendering. Choose Nano Banana Pro for complex, precision design work.
- Girdi fiyatı
- $0.50USD / 1M token
- Çıktı fiyatı
- $3.00USD / 1M token
- Bağlam penceresi
- 131.1K
- Maks. çıktı
- 32.8K
Modeli deneyin
Gemini yerel API
Bu model, Gemini generateContent API üzerinden görsel üretir ve Chat Completions'ta ya da Oynatma Alanı'nda kullanılamaz. SandBase API anahtarınızla aşağıdaki istek örneğini kullanın.
Model kartı
Teknik özellikler
Fiyatlandırma
- Girdi
- $0.50 / 1M token
- Çıktı
- $3 / 1M token
Bağlam ve modaliteler
- Bağlam penceresi
- 131.072 token
- Maks. çıktı
- 32.768 token
- Girdi
- Metin, görsel
- Çıktı
- Metin
Yetenekler
- Sohbet
- Destekleniyor
- Görsel
- Destekleniyor
- Akıl yürütme
- Destekleniyor
- Yapılandırılmış çıktı
- Desteklenmiyor
- Fonksiyon çağırma
- Desteklenmiyor
- Ses girdisi
- Desteklenmiyor
Erişim
- Sağlayıcı
- Model kimliği
- google/gemini-3.1-flash-image
- Çalıştırma
- sync
- Temel URL
- https://api.sandbase.ai
- API
- Gemini generateContent API
- Uç nokta
- /v1beta/models/google/gemini-3.1-flash-image:generateContent
Geliştirmeye başlayın
İlk isteğinizi gönderin
SandBase API anahtarı kimlik doğrulaması ve kullanım takibi sunan Gemini yerel uç noktası.
curl -X POST "https://api.sandbase.ai/v1beta/models/google/gemini-3.1-flash-image:generateContent" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "A watercolor illustration of a fox in a snowy forest"
}
]
}
],
"generationConfig": {
"responseModalities": [
"TEXT",
"IMAGE"
]
}
}'Giriş Şeması
7 parametre · 1 zorunlu · 6 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
messages | object[] | Zorunlu | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | İsteğe bağlı | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
top_p | number | İsteğe bağlı | Nucleus sampling: only tokens within this cumulative probability are considered. · Min: 0 · Maks: 1 |
stream | boolean | İsteğe bağlı | Stream the response as server-sent events instead of returning it in one piece. · Varsayılan: false |
max_tokens | integer | İsteğe bağlı | Maximum number of tokens to generate in the response. · Maks: 32768 |
temperature | number | İsteğe bağlı | Sampling temperature. Higher values make output more random; lower values make it more focused. · Min: 0 · Maks: 2 · Varsayılan: 1 |
response_format | object | İsteğe bağlı | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Tamamlamanın benzersiz tanımlayıcısı |
object | string | Nesne türü, örn. "chat.completion" |
model | string | Tamamlamada kullanılan model |
choices | array | Tamamlama seçeneklerinin listesi |
choices[].message.content | string | Oluşturulan metin içeriği |
choices[].finish_reason | string | Oluşturmanın durmasının nedeni |
usage.prompt_tokens | integer | İstemdeki token sayısı |
usage.completion_tokens | integer | Tamamlamadaki token sayısı |
usage.total_tokens | integer | Kullanılan toplam token sayısı |
Modelinizi seçin
Modelleri karşılaştırın
| Model | Bağlam | Giriş / 1M | Çıkış / 1M | Yayınlanma |
|---|---|---|---|---|
Google | 128K | $0.50 | $3.00 | 18 Haz 2026 |
Google | 1M | $3.00 | $15.00 | 18 Kas 2026 |
Google | 1M | $1.50 | $7.50 | 12 Kas 2026 |
Google | 1M | $4.00 | $20.00 | 10 Kas 2026 |
Google | 1M | $4.00 | $20.00 | 13 Eki 2026 |
Google | 64K | $1.50 | $7.50 | 8 Eki 2026 |
Sorular
SSS
Google Nano Banana 2 (Gemini 3.1 Flash Image)'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "google/gemini-3.1-flash-image" ile https://api.sandbase.ai adresindeki Gemini generateContent API (/v1beta/models/google/gemini-3.1-flash-image:generateContent) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.
Google Nano Banana 2 (Gemini 3.1 Flash Image)'in fiyatı nedir?
1M giriş tokenı başına $0.50 ve 1M çıkış tokenı başına $3, istek başına SandBase bakiyenizden tahsil edilir. Mevcut olduğunda indirimler bu sayfadaki fiyatlandırmada gösterilir.
Google Nano Banana 2 (Gemini 3.1 Flash Image)'in bağlam penceresi nedir?
131.1K token bağlam, yanıt başına en fazla 32.8K çıkış tokenı ile.
Google Nano Banana 2 (Gemini 3.1 Flash Image) hangi özellikleri destekliyor?
Google Nano Banana 2 (Gemini 3.1 Flash Image), görsel algılama (görüntü girişi), akıl yürütme destekler. Tam liste için yukarıdaki Teknik Özellikler bölümüne bakın.
Ayrı bir Google hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size Google Nano Banana 2 (Gemini 3.1 Flash Image) ve katalogdaki diğer modellere erişim sağlar; Google için ayrıca kayıt olmanız gerekmez.
