OpenAI
GPT Image 2.5
สร้างภาพจากพรอมต์ข้อความ ระบุตัวแบบ เลย์เอาต์ แสง สไตล์ และข้อความที่ต้องการให้ปรากฏ จากนั้นเลือกขนาดและระดับคุณภาพเพื่อรับภาพที่เสร็จสมบูรณ์โดยไม่ต้องใช้ภาพอ้างอิงหรือตั้งค่าตัวสุ่มตัวอย่าง
gpt-image-2.5- เอนด์พอยต์
POST /api/v2/run- อินพุต
- Text prompt · Reference images
- เอาต์พุต
- Image (PNG / WebP)
- อัตราค่าบริการ
- ~$0.0845 / 1024×1024
ตัวอย่างพรอมต์“A nineteenth-century botanical plate of a single hart's-tongue fern, hand-coloured copperplate engraving on aged cream paper. The full plant fills the centre: glossy strap-shaped fronds with wavy margins, a curled fiddle…”
เหมาะสำหรับ
- สร้างภาพจากข้อความและแก้ไขภาพแบบ multipart ผ่าน POST /api/v2/run ด้วยคีย์ API เดียว
- ประเมินราคาได้ฟรีผ่าน POST /api/v2/quote ก่อนใช้เครดิต
- รับคุณภาพภาพจากโมเดลเรือธงของพันธมิตรด้วยคีย์ API เดียว พร้อมตรวจวงเงินตอนส่งคำขอ
เอกสารอ้างอิง API
- ID โมเดลสำหรับ API
gpt-image-2.5- ผู้พัฒนาโมเดล
- 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.5).
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.5 ตรวจสอบราคาประเมินฟรีก่อน (สรุปค่าใช้จ่ายจริงเมื่องานเสร็จ) แล้วรันด้วยคีย์ 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.5","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.5", "prompt": "A nineteenth-century botanical plate of a single hart'\''s-tongue fern, hand-coloured copperplate engraving on aged cream paper. The full plant fills the centre: glossy strap-shaped fronds with wavy margins, a curled fiddlehead unrolling at the base, and the underside of one frond turned toward the viewer to show the rows of rust-brown sori in fine stipple. Two small inset details on the right show a single sorus magnified and a cross-section of the rhizome, each numbered \"1\" and \"2\". The title \"ASPLENIUM SCOLOPENDRIUM\" runs along the bottom in engraved serif capitals, with \"Hart'\''s-tongue Fern - Pl. XLII\" in italic beneath it and a small scale bar marked \"5 cm\". Faint foxing at the corners, muted greens and sepia.", "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.5' --form-string 'prompt=A nineteenth-century botanical plate of a single hart'\''s-tongue fern, hand-coloured copperplate engraving on aged cream paper. The full plant fills the centre: glossy strap-shaped fronds with wavy margins, a curled fiddlehead unrolling at the base, and the underside of one frond turned toward the viewer to show the rows of rust-brown sori in fine stipple. Two small inset details on the right show a single sorus magnified and a cross-section of the rhizome, each numbered "1" and "2". The title "ASPLENIUM SCOLOPENDRIUM" runs along the bottom in engraved serif capitals, with "Hart'\''s-tongue Fern - Pl. XLII" in italic beneath it and a small scale bar marked "5 cm". Faint foxing at the corners, muted greens and sepia.' -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 แบบเติมล่วงหน้าพร้อมวงเงินต่อคีย์
เปรียบเทียบในแคตตาล็อกทั้งหมด