ข้ามไปยังเนื้อหา
Runstage

OpenAI

GPT Image 2

รุ่นทดลอง · โมเดลพาร์ตเนอร์ · พรีเมียม สร้างภาพจากคำอธิบายโดยมีขั้นตอนใช้เหตุผลก่อนสร้างภาพ ผลที่ดีขึ้นเห็นได้ชัดเมื่อพรอมต์มีข้อกำหนดหลายอย่างที่เกี่ยวข้องกัน เช่น เลย์เอาต์ที่กำหนดตำแหน่งองค์ประกอบ ฉากที่ระบุจำนวนวัตถุไว้ หรือดีไซน์ที่ต้องมีข้อความบรรทัดใดบรรทัดหนึ่งโดยเฉพาะ ขนาดภาพที่ส่งออกอยู่ระหว่าง 512 ถึง 2048 px

ราคา API ที่ประกาศ
~$0.0845 / 1024×1024
ดูทุกระดับราคา
1024×1024~$0.0845
1536×1024~$0.0974
1024×1536~$0.0974
ID โมเดลสำหรับ API
อินเทอร์เฟซ API สำหรับภาพgpt-image-2
เอนด์พอยต์
POST /api/v2/run
อินพุต
Text prompt · Reference images
เอาต์พุต
Image (PNG / WebP)
อัตราค่าบริการ
~$0.0845 / 1024×1024
ตัวอย่างพรอมต์

“A detailed technical cutaway illustration of a mechanical wristwatch movement, precise line-and-wash rendering on cream paper, the mainspring barrel, escapement, balance wheel and gear train all visible and individually …”

เหมาะสำหรับ

เอกสารอ้างอิง API

ID โมเดลสำหรับ API
gpt-image-2
ผู้พัฒนาโมเดล
OpenAI
ประเภทโมเดล
การสร้างและแก้ไขภาพ
อินพุต
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 (gpt-image-2).

  • promptstring · จำเป็น

    Visual description of subject, composition, lighting, and medium.

  • width / heightinteger · ไม่บังคับ

    Output pixel dimensions (e.g. 1024×1024 or 1536×1024).

พารามิเตอร์เพิ่มเติม

  • quality
  • seed
  • enhance_prompt

เริ่มต้นอย่างรวดเร็ว

คัดลอกคำขอที่พร้อมใช้สำหรับ ID โมเดล gpt-image-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":"gpt-image-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": "gpt-image-2",   "prompt": "A detailed technical cutaway illustration of a mechanical wristwatch movement, precise line-and-wash rendering on cream paper, the mainspring barrel, escapement, balance wheel and gear train all visible and individually labelled with fine leader lines, an ornate title block at the lower right reading \"CALIBRE 7 - EXPLODED VIEW\", draughtsman precision, muted sepia and slate palette",   "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=gpt-image-2' --form-string 'prompt=A detailed technical cutaway illustration of a mechanical wristwatch movement, precise line-and-wash rendering on cream paper, the mainspring barrel, escapement, balance wheel and gear train all visible and individually labelled with fine leader lines, an ornate title block at the lower right reading "CALIBRE 7 - EXPLODED VIEW", draughtsman precision, muted sepia and slate palette' -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)
Standard · 1024×1024Production square artwork (estimated)~$0.0845
Widescreen · 1536×1024Hero & banner aspect ratio (estimated)~$0.0974
Portrait · 1024×1536Vertical editorial & mobile layout (estimated)~$0.0974

หมายเหตุการเรียกเก็บเงิน

  • 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 แบบเติมล่วงหน้าพร้อมวงเงินต่อคีย์

เปรียบเทียบในแคตตาล็อกทั้งหมด