OpenAI
GPT Image 2.6
OpenAI کا GPT Image 2.6 متن سے تصاویر بنانے اور تصاویر میں ترمیم کرنے کے لیے ہے۔ اس میں حروف کی صاف ترتیب، قدرتی روشنی اور بھرپور بناوٹ ملتی ہے، اور ترمیم میں صرف وہی بدلتا ہے جو آپ کہیں۔ یہ 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,…”
موزوں استعمال
- ایک API کلید کے ساتھ POST /api/v2/run پر متن سے تصاویر بنائیں اور ملٹی پارٹ اپ لوڈ سے تصاویر کی تدوین کریں
- کریڈٹ خرچ کرنے سے پہلے POST /api/v2/quote سے مفت تخمینہ لیں
- ایک API کلید سے پارٹنر کے نمایاں ماڈلز کا تصویری معیار، درخواست بھیجنے پر خرچ کی حد لاگو
- API ماڈل ID
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 والی تیار درخواست کاپی کریں۔ پہلے مفت تخمینہ دیکھیں (حتمی لاگت کام مکمل ہونے پر طے ہوتی ہے)، پھر اپنی 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.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 کریڈٹ۔
مکمل کیٹلاگ میں موازنہ کریں