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.
- इनपुट मूल्य
- $0.50USD / 1M टोकन
- आउटपुट मूल्य
- $3.00USD / 1M टोकन
- संदर्भ विंडो
- 131.1K
- अधिकतम output
- 32.8K
model को आज़माएँ
Gemini-native API
यह model Gemini generateContent API के माध्यम से images जनरेट करता है और Chat Completions या Playground में उपलब्ध नहीं है। नीचे दिया गया अनुरोध उदाहरण अपने SandBase API key के साथ उपयोग करें।
मॉडल कार्ड
विनिर्देश
मूल्य निर्धारण
- इनपुट
- $0.50 / 1M टोकन
- आउटपुट
- $3 / 1M टोकन
संदर्भ और modalities
- संदर्भ विंडो
- 1,31,072 टोकन
- अधिकतम output
- 32,768 टोकन
- इनपुट
- टेक्स्ट, छवि
- आउटपुट
- टेक्स्ट
क्षमताएँ
- चैट
- समर्थित
- विज़न
- समर्थित
- रीज़निंग
- समर्थित
- संरचित output
- समर्थित नहीं
- फ़ंक्शन कॉलिंग
- समर्थित नहीं
- ऑडियो इनपुट
- समर्थित नहीं
पहुंच
- प्रदाता
- मॉडल ID
- google/gemini-3.1-flash-image
- निष्पादन
- sync
- बेस URL
- https://api.sandbase.ai
- API
- Gemini generateContent API
- एंडपॉइंट
- /v1beta/models/google/gemini-3.1-flash-image:generateContent
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
SandBase API key authentication और usage tracking के साथ Gemini-native endpoint.
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"
]
}
}'इनपुट स्कीमा
7 पैरामीटर · 1 आवश्यक · 6 वैकल्पिक
| पैरामीटर | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
messages | object[] | आवश्यक | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | वैकल्पिक | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
top_p | number | वैकल्पिक | Nucleus sampling: only tokens within this cumulative probability are considered. · न्यूनतम: 0 · अधिकतम: 1 |
stream | boolean | वैकल्पिक | Stream the response as server-sent events instead of returning it in one piece. · डिफ़ॉल्ट: false |
max_tokens | integer | वैकल्पिक | Maximum number of tokens to generate in the response. · अधिकतम: 32768 |
temperature | number | वैकल्पिक | Sampling temperature. Higher values make output more random; lower values make it more focused. · न्यूनतम: 0 · अधिकतम: 2 · डिफ़ॉल्ट: 1 |
response_format | object | वैकल्पिक | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
आउटपुट स्कीमा
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
id | string | completion के लिए विशिष्ट पहचानकर्ता |
object | string | Object type, जैसे "chat.completion" |
model | string | completion के लिए उपयोग किया गया model |
choices | array | completion विकल्पों की सूची |
choices[].message.content | string | जनरेट किया गया text content |
choices[].finish_reason | string | generation रुकने का कारण |
usage.prompt_tokens | integer | prompt में tokens की संख्या |
usage.completion_tokens | integer | completion में tokens की संख्या |
usage.total_tokens | integer | कुल उपयोग किए गए tokens |
अपना मॉडल चुनें
मॉडलों की तुलना करें
| मॉडल | कॉन्टेक्स्ट | इनपुट / 1M | आउटपुट / 1M | रिलीज़ |
|---|---|---|---|---|
Google | 128K | $0.50 | $3.00 | 18 जून 2026 |
Google | 1M | $3.00 | $15.00 | 18 नव॰ 2026 |
Google | 1M | $1.50 | $7.50 | 12 नव॰ 2026 |
Google | 1M | $4.00 | $20.00 | 10 नव॰ 2026 |
Google | 1M | $4.00 | $20.00 | 13 अक्तू॰ 2026 |
Google | 64K | $1.50 | $7.50 | 8 अक्तू॰ 2026 |
प्रश्न
FAQ
SandBase के माध्यम से Google Nano Banana 2 (Gemini 3.1 Flash Image) को कैसे कॉल करें?
एक SandBase API key बनाएं, फिर model ID "google/gemini-3.1-flash-image" के साथ requests को https://api.sandbase.ai पर Gemini generateContent API (/v1beta/models/google/gemini-3.1-flash-image:generateContent) भेजें। इस पेज पर दिए गए request examples exact payload दिखाते हैं।
Google Nano Banana 2 (Gemini 3.1 Flash Image) की लागत कितनी है?
$0.50 प्रति 1M input tokens और $3 प्रति 1M output tokens, जिसे आपके SandBase balance से प्रति request बिल किया जाता है। उपलब्ध होने पर छूटें इस पेज की pricing में दिखाई गई हैं।
Google Nano Banana 2 (Gemini 3.1 Flash Image) की context window क्या है?
131.1K context tokens, प्रति response अधिकतम 32.8K output tokens के साथ।
Google Nano Banana 2 (Gemini 3.1 Flash Image) किन features को सपोर्ट करता है?
Google Nano Banana 2 (Gemini 3.1 Flash Image) विज़न (छवि इनपुट), तर्क को सपोर्ट करता है। पूरी सूची के लिए ऊपर Specifications देखें।
क्या मुझे एक अलग Google account चाहिए?
नहीं। एक SandBase API key और balance आपको Google Nano Banana 2 (Gemini 3.1 Flash Image) और catalog के अन्य models तक access देता है; आपको अलग से Google पर sign up करने की आवश्यकता नहीं है।
