Google DeepMind
Nano Banana 2.1
टेक्स्ट प्रॉम्प्ट से इमेज बनाएँ। विषय, लेआउट, रोशनी, शैली और इमेज में दिखने वाला कोई भी टेक्स्ट बताएँ, फिर आकार चुनें। मॉडल अपने 14 आस्पेक्ट रेशियो में से सबसे नज़दीकी अनुपात में 1K, 2K या 4K की इमेज देता है।
nano-banana-2.1- एंडपॉइंट
POST /api/v2/run- इनपुट
- Text prompt · Reference images
- आउटपुट
- Image (PNG / WebP)
- दर
- ~$0.0845 / 1K (1024px)
प्रॉम्प्ट का उदाहरण“A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of w…”
उपयुक्त उपयोग
- एक API कुंजी से POST /api/v2/run पर टेक्स्ट से इमेज बनाएँ और मल्टीपार्ट अपलोड से इमेज संपादित करें
- क्रेडिट लगाने से पहले POST /api/v2/quote से मुफ़्त लागत अनुमान लें
- एक API कुंजी से साझेदारों के प्रमुख मॉडलों की इमेज गुणवत्ता पाएँ। अनुरोध भेजते समय खर्च सीमा लागू होती है
- API मॉडल ID
nano-banana-2.1- मॉडल डेवलपर
- Google DeepMind
- मॉडल प्रकार
- इमेज जनरेशन और संपादन
- इनपुट
- Text prompt · Reference images
- आउटपुट
- Image (PNG / WebP)
- एंडपॉइंट
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media- इन्फ़्रास्ट्रक्चर
- साझेदार क्लाउड क्षमता
अनुरोध पैरामीटर
modelstring · आवश्यकExact Runstage model slug (nano-banana-2.1).
promptstring · आवश्यकVisual description of subject, composition, lighting, and medium.
width / heightinteger · वैकल्पिकOutput pixel dimensions (e.g. 1024×1024 or 1536×1024).
अतिरिक्त पैरामीटर
qualityseedenhance_prompt
त्वरित शुरुआत
मॉडल ID nano-banana-2.1 वाला तैयार अनुरोध कॉपी करें। पहले मुफ़्त अनुमान जाँचें (अंतिम लागत कार्य पूरा होने पर तय होती है), फिर अपनी Runstage API कुंजी से चलाएँ।
स्टूडियो खोलें# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
-H "Content-Type: application/json" \
-d '{"model":"nano-banana-2.1","width":1024,"height":1024}'
# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
-H "Authorization: Bearer $RUNSTAGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "nano-banana-2.1", "prompt": "A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of water droplets and a rising column of splash caught in mid-air, each droplet reflecting the sky. Low side light from the early morning sun, dark green out-of-focus reeds in the background, the bird'\''s reflection broken up in the rippled water below. Telephoto compression, shallow depth of field, natural colours.", "width": 1024, "height": 1024, "seed": 42 }'
# Optional: switch to image editing (img2img) by uploading multipart -F "image=@input.png"
# curl -X POST 'https://runstage.dev/api/v2/run' -H "Authorization: Bearer $RUNSTAGE_API_KEY" --form-string 'model=nano-banana-2.1' --form-string 'prompt=A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of water droplets and a rising column of splash caught in mid-air, each droplet reflecting the sky. Low side light from the early morning sun, dark green out-of-focus reeds in the background, the bird'\''s reflection broken up in the rippled water below. Telephoto compression, shallow depth of field, natural colours.' -F "image=@input.png"
# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
'https://runstage.dev/api/v2/jobs/<request_id>'कीमतें
| बिलिंग इकाई और विकल्प | दर (USD) |
|---|---|
| 1K · 1024×1024Standard square or portrait output (estimated) | ~$0.0845 |
| 2K · 2048×2048High-resolution editorial artwork (estimated) | ~$0.1372 |
| 4K · 4096×4096Ultra-high-resolution print master (estimated) | ~$0.2229 |
बिलिंग संबंधी जानकारी
- Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
- प्रीपेड क्रेडिट लगाने से पहले POST /api/v2/quote से मुफ़्त लागत अनुमान लें।
- कार्य पूरा या विफल होने पर आरक्षित राशि का अंतिम लागत से स्वतः मिलान होता है और बचा हुआ आरक्षित क्रेडिट लौटाया जाता है।
- मॉडल साझेदार की बाहरी क्षमता पर चलता है। अंतिम लागत रिपोर्ट किए गए निष्पादन आँकड़ों के अनुसार तय होती है।
Runstage की मौजूदा कैटलॉग दरें। हर कुंजी की खर्च सीमा के साथ प्रीपेड USD क्रेडिट।
पूरे कैटलॉग में तुलना करें