OpenAI
GPT Image 2.6
GPT Image 2.6 จาก OpenAI ใช้สร้างภาพจากข้อความและแก้ไขภาพ จัดวางตัวอักษรได้คมชัด ให้แสงธรรมชาติและพื้นผิวที่มีรายละเอียด และแก้ไขเฉพาะส่วนที่คุณขอ รองรับสูงสุด 3840 px พร้อมคุณภาพ 6 ระดับ ตั้งแต่แบบร่างจนถึงระดับสูงสุด
gpt-image-2.6- เอนด์พอยต์
POST /api/v2/run- อินพุต
- Text prompt · Reference images
- เอาต์พุต
- Image (PNG / WebP)
- อัตราค่าบริการ
- ~$0.0845 / 1024×1024
ตัวอย่างพรอมต์“A clean editorial infographic titled "FROM CHERRY TO CUP" explaining how coffee is made, laid out left to right in four numbered panels on an off-white background. Panel 1 "HARVEST" shows red coffee cherries on a branch,…”
เหมาะสำหรับ
- สร้างภาพจากข้อความและแก้ไขภาพแบบ multipart ผ่าน POST /api/v2/run ด้วยคีย์ API เดียว
- ประเมินราคาได้ฟรีผ่าน POST /api/v2/quote ก่อนใช้เครดิต
- รับคุณภาพภาพจากโมเดลเรือธงของพันธมิตรด้วยคีย์ API เดียว พร้อมตรวจวงเงินตอนส่งคำขอ
เอกสารอ้างอิง API
- ID โมเดลสำหรับ API
gpt-image-2.6- ผู้พัฒนาโมเดล
- 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.6).
promptstring · จำเป็นVisual description of subject, composition, lighting, and medium.
width / heightinteger · ไม่บังคับOutput pixel dimensions (e.g. 1024×1024 or 1536×1024).
พารามิเตอร์เพิ่มเติม
qualityseedenhance_prompt
เริ่มต้นอย่างรวดเร็ว
คัดลอกคำขอที่พร้อมใช้สำหรับ ID โมเดล gpt-image-2.6 ตรวจสอบราคาประเมินฟรีก่อน (สรุปค่าใช้จ่ายจริงเมื่องานเสร็จ) แล้วรันด้วยคีย์ 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.6","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.6", "prompt": "A clean editorial infographic titled \"FROM CHERRY TO CUP\" explaining how coffee is made, laid out left to right in four numbered panels on an off-white background. Panel 1 \"HARVEST\" shows red coffee cherries on a branch, panel 2 \"DRY\" shows beans spread on a raised drying bed, panel 3 \"ROAST\" shows a drum roaster with beans turning brown, panel 4 \"BREW\" shows a pour-over dripper over a glass carafe. Thin arrows connect the panels, each panel has a one-line caption in small sans-serif type, muted palette of espresso brown, sage green and terracotta, flat illustration with subtle paper grain.", "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.6' --form-string 'prompt=A clean editorial infographic titled "FROM CHERRY TO CUP" explaining how coffee is made, laid out left to right in four numbered panels on an off-white background. Panel 1 "HARVEST" shows red coffee cherries on a branch, panel 2 "DRY" shows beans spread on a raised drying bed, panel 3 "ROAST" shows a drum roaster with beans turning brown, panel 4 "BREW" shows a pour-over dripper over a glass carafe. Thin arrows connect the panels, each panel has a one-line caption in small sans-serif type, muted palette of espresso brown, sage green and terracotta, flat illustration with subtle paper grain.' -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 แบบเติมล่วงหน้าพร้อมวงเงินต่อคีย์
เปรียบเทียบในแคตตาล็อกทั้งหมด