Google DeepMind
Nano Banana 2
نموذج لتوليد الصور من النص، مبني على Gemini 3.1 Flash Image من Google. يعرض النصوص بوضوح ويتبع المطالبات الطويلة متعددة الأجزاء، وينتج في عملية توليد واحدة صورًا تصل أبعادها إلى 4096 x 4096، من الصور الشخصية الواقعية إلى المخططات ذات التسميات.
nano-banana-2- نقطة النهاية
POST /api/v2/run- المدخلات
- Text prompt
- المخرجات
- Image (PNG / WebP)
- التعرفة
- ~$0.0845 / 1K (1024px)
مثال على التعليمات“An overhead flat-lay photograph of a weekend breakfast spread on a scratched zinc table, shot from directly above with a slight wide-angle. A cast iron skillet holds a golden dutch baby pancake dusted with icing sugar an…”
الاستخدامات الأنسب
- ولّد صورًا من النص عبر POST /api/v2/run للحملات والإعلانات وتصوّرات المنتجات
- احصل على تقدير مجاني عبر POST /api/v2/quote قبل الالتزام باستخدام الرصيد
- جودة صور النماذج الرائدة للشركاء بمفتاح API واحد مع تطبيق السقف عند إرسال الطلب
- معرّف النموذج في API
nano-banana-2- مطوّر النموذج
- Google DeepMind
- نوع النموذج
- توليد الصور وتحريرها
- المدخلات
- Text prompt
- المخرجات
- 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).
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. تحقّق أولًا من التقدير المجاني قبل التشغيل (تُسوّى التكلفة النهائية عند الانتهاء)، ثم نفّذ الطلب باستخدام مفتاح 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","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", "prompt": "An overhead flat-lay photograph of a weekend breakfast spread on a scratched zinc table, shot from directly above with a slight wide-angle. A cast iron skillet holds a golden dutch baby pancake dusted with icing sugar and torn figs, beside a chipped enamel jug of cream, a linen napkin in ochre, two speckled ceramic plates and a scattering of blueberries. Hard morning sun enters from the right, casting crisp geometric window shadows across the surface and lighting steam rising from a small espresso cup. Rich saturated colour, tactile textures, editorial food photography.", "width": 1024, "height": 1024, "seed": 42 }'
# 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. رصيد مسبق الدفع بالدولار مع حدود إنفاق لكل مفتاح.
المقارنة في الدليل الكامل