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 کریڈٹ۔
مکمل کیٹلاگ میں موازنہ کریں