Google DeepMind
Nano Banana 2.1
أنشئ صورة من مطالبة نصية. صِف الموضوع والتكوين والإضاءة والأسلوب وأي نص تريد ظهوره، ثم اختر الحجم. يعيد النموذج الصورة بدقة 1K أو 2K أو 4K، ويختار أقرب نسبة عرض إلى ارتفاع من بين 14 نسبة يدعمها.
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…”
الاستخدامات الأنسب
- ولّد الصور من النص وحرّر الصور برفعها على أجزاء عبر POST /api/v2/run باستخدام مفتاح API واحد
- احصل على تقدير مجاني عبر POST /api/v2/quote قبل الالتزام باستخدام الرصيد
- جودة صور النماذج الرائدة للشركاء بمفتاح API واحد مع تطبيق السقف عند إرسال الطلب
- معرّف النموذج في API
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
البدء السريع
انسخ طلبًا جاهزًا يستخدم معرّف النموذج 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. رصيد مسبق الدفع بالدولار مع حدود إنفاق لكل مفتاح.
المقارنة في الدليل الكامل