Nano Banana 2.1 (Gemini Nano Banana 2.1)
google/gemini-nano-banana-2.1Nano Banana 2.1 (Gemini Nano Banana 2.1) is Google's Flash-tier image generation and editing model, succeeding Nano Banana 2 and producing images alongside text through the native Gemini generateContent API. It improves prompt adherence, text rendering, product recontextualization and multi-turn editing consistency, supports extreme aspect ratios and 1K to 4K output, and can ground generation with Google web and image search. Pick Nano Banana Pro instead for the most demanding professional design work.
- इनपुट मूल्य
- $1.50USD / 1M टोकन
- आउटपुट मूल्य
- $7.50USD / 1M टोकन
- कैश पढ़ना
- $1.50USD / 1M टोकन
- संदर्भ विंडो
- 65.5K
- अधिकतम output
- 32.8K
model को आज़माएँ
Gemini-native API
यह model Gemini generateContent API के माध्यम से images जनरेट करता है और Chat Completions या Playground में उपलब्ध नहीं है। नीचे दिया गया अनुरोध उदाहरण अपने SandBase API key के साथ उपयोग करें।
मॉडल कार्ड
विनिर्देश
मूल्य निर्धारण
- इनपुट
- $1.50 / 1M टोकन
- आउटपुट
- $7.50 / 1M टोकन
- कैश पढ़ना
- $1.50 / 1M टोकन
संदर्भ और modalities
- संदर्भ विंडो
- 65,536 टोकन
- अधिकतम output
- 32,768 टोकन
- इनपुट
- टेक्स्ट, छवि
- आउटपुट
- टेक्स्ट
क्षमताएँ
- चैट
- समर्थित
- विज़न
- समर्थित
- रीज़निंग
- समर्थित
- संरचित output
- समर्थित नहीं
- फ़ंक्शन कॉलिंग
- समर्थित नहीं
- ऑडियो इनपुट
- समर्थित नहीं
पहुंच
- प्रदाता
- मॉडल ID
- google/gemini-nano-banana-2.1
- निष्पादन
- sync
- बेस URL
- https://api.sandbase.ai
- API
- Gemini generateContent API
- एंडपॉइंट
- /v1beta/models/google/gemini-nano-banana-2.1:generateContent
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
SandBase API key authentication और usage tracking के साथ Gemini-native endpoint.
curl -X POST "https://api.sandbase.ai/v1beta/models/google/gemini-nano-banana-2.1: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"
]
}
}'इनपुट स्कीमा
10 पैरामीटर · 1 आवश्यक · 9 वैकल्पिक
| पैरामीटर | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
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. |
stop | string[] | वैकल्पिक | Sequences where the model stops generating. The stop sequence is not included in the output. |
tools | array | वैकल्पिक | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
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 |
tool_choice | string | वैकल्पिक | Controls tool use: "auto", "none", "required", or a specific function. |
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 | 64K | $1.50 | $7.50 | 8 अक्तू॰ 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 | 1M | $1.50 | $7.50 | 2 सित॰ 2026 |
प्रश्न
FAQ
SandBase के माध्यम से Google Nano Banana 2.1 (Gemini Nano Banana 2.1) को कैसे कॉल करें?
एक SandBase API key बनाएं, फिर model ID "google/gemini-nano-banana-2.1" के साथ requests को https://api.sandbase.ai पर Gemini generateContent API (/v1beta/models/google/gemini-nano-banana-2.1:generateContent) भेजें। इस पेज पर दिए गए request examples exact payload दिखाते हैं।
Google Nano Banana 2.1 (Gemini Nano Banana 2.1) की लागत कितनी है?
$1.50 प्रति 1M input tokens और $7.50 प्रति 1M output tokens, जिसे आपके SandBase balance से प्रति request बिल किया जाता है। उपलब्ध होने पर छूटें इस पेज की pricing में दिखाई गई हैं।
Google Nano Banana 2.1 (Gemini Nano Banana 2.1) की context window क्या है?
65.5K context tokens, प्रति response अधिकतम 32.8K output tokens के साथ।
Google Nano Banana 2.1 (Gemini Nano Banana 2.1) किन features को सपोर्ट करता है?
Google Nano Banana 2.1 (Gemini Nano Banana 2.1) विज़न (छवि इनपुट), तर्क को सपोर्ट करता है। पूरी सूची के लिए ऊपर Specifications देखें।
क्या मुझे एक अलग Google account चाहिए?
नहीं। एक SandBase API key और balance आपको Google Nano Banana 2.1 (Gemini Nano Banana 2.1) और catalog के अन्य models तक access देता है; आपको अलग से Google पर sign up करने की आवश्यकता नहीं है।
