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
- ID โมเดลสำหรับ 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
เริ่มต้นอย่างรวดเร็ว
คัดลอกคำขอที่พร้อมใช้สำหรับ ID โมเดล nano-banana-2 ตรวจสอบราคาประเมินฟรีก่อน (สรุปค่าใช้จ่ายจริงเมื่องานเสร็จ) แล้วรันด้วยคีย์ API ของ Runstage
เปิดสตูดิโอ# 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 ใช้เครดิต USD แบบเติมล่วงหน้าพร้อมวงเงินต่อคีย์
เปรียบเทียบในแคตตาล็อกทั้งหมด