Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Nano Banana 2 (Gemini 3.1 Flash Image)

google/gemini-3.1-flash-image

Nano 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
समर्थित नहीं
फ़ंक्शन कॉलिंग
समर्थित नहीं
ऑडियो इनपुट
समर्थित नहीं

पहुंच

प्रदाता
Google
मॉडल 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.

Production API
Gemini generateContent API एंडपॉइंट
https://api.sandbase.ai/v1beta/models/google/gemini-3.1-flash-image:generateContent
Model ID
google/gemini-3.1-flash-image
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"
    ]
  }
}'
01

इनपुट स्कीमा

7 पैरामीटर · 1 आवश्यक · 6 वैकल्पिक

पैरामीटरप्रकारआवश्यकविवरण
messagesobject[]आवश्यकConversation so far, as an ordered list of messages with a role (system, user or assistant) and content.
seedintegerवैकल्पिकBest-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results.
top_pnumberवैकल्पिकNucleus sampling: only tokens within this cumulative probability are considered. · न्यूनतम: 0 · अधिकतम: 1
streambooleanवैकल्पिकStream the response as server-sent events instead of returning it in one piece. · डिफ़ॉल्ट: false
max_tokensintegerवैकल्पिकMaximum number of tokens to generate in the response. · अधिकतम: 32768
temperaturenumberवैकल्पिकSampling temperature. Higher values make output more random; lower values make it more focused. · न्यूनतम: 0 · अधिकतम: 2 · डिफ़ॉल्ट: 1
response_formatobjectवैकल्पिकOutput format, for example { "type": "json_object" } or a JSON Schema for structured output.
02

आउटपुट स्कीमा

फ़ील्डप्रकारविवरण
idstringcompletion के लिए विशिष्ट पहचानकर्ता
objectstringObject type, जैसे "chat.completion"
modelstringcompletion के लिए उपयोग किया गया model
choicesarraycompletion विकल्पों की सूची
choices[].message.contentstringजनरेट किया गया text content
choices[].finish_reasonstringgeneration रुकने का कारण
usage.prompt_tokensintegerprompt में tokens की संख्या
usage.completion_tokensintegercompletion में tokens की संख्या
usage.total_tokensintegerकुल उपयोग किए गए tokens

अपना मॉडल चुनें

मॉडलों की तुलना करें

सभी भाषा मॉडल
मॉडलकॉन्टेक्स्टइनपुट / 1Mआउटपुट / 1Mरिलीज़
Google128K$0.50$3.0018 जून 2026
Google1M$3.00$15.0018 नव॰ 2026
Google1M$1.50$7.5012 नव॰ 2026
Google1M$4.00$20.0010 नव॰ 2026
Google1M$4.00$20.0013 अक्तू॰ 2026
Google64K$1.50$7.508 अक्तू॰ 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 करने की आवश्यकता नहीं है।