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…”
الاستخدامات الأنسب
- ولّد الصور من النص وحرّر الصور برفعها على أجزاء عبر POST /api/v2/run باستخدام مفتاح API واحد
- احصل على تقدير مجاني عبر POST /api/v2/quote قبل الالتزام باستخدام الرصيد
- جودة صور النماذج الرائدة للشركاء بمفتاح API واحد مع تطبيق السقف عند إرسال الطلب
- معرّف النموذج في 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
البدء السريع
انسخ طلبًا جاهزًا يستخدم معرّف النموذج gpt-image-2.5. تحقّق أولًا من التقدير المجاني قبل التشغيل (تُسوّى التكلفة النهائية عند الانتهاء)، ثم نفّذ الطلب باستخدام مفتاح Runstage API.
فتح الاستوديو# 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. رصيد مسبق الدفع بالدولار مع حدود إنفاق لكل مفتاح.
المقارنة في الدليل الكامل