مواد پر جائیں

GPT-Image 1.5 · Edit

انٹیگریٹ کریں

ماڈل id gpt-image-1.5/edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/gpt-image-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

مثال جیسی فائلیں: ⁨$0.225⁩ 225 API کریڈٹس آپ کی فائلیں رن سے پہلے ناپی جاتی ہیں اس صفحے پر چلائیں

API کلید حاصل کریں
OpenAI تصویر میں ترمیم #openai#gpt-image

ورژن 1.5 تصویر ایڈیٹنگ، مخصوص تبدیلیوں کے لیے اختیاری ماسک اور ڈیفالٹ اعلیٰ ان پٹ فیڈیلیٹی کے ساتھ

Doitong پر بنایا گیا

Doitong کمیونٹی کے GPT-Image 1.5 سے بنائے گئے عوامی کام۔ ایک کلک میں پرامپٹ دوبارہ استعمال کریں۔

دکھائے گئے عوامی کام: 16
Art style: Реалистичный кулинарный блог. Финальный кадр, средний план ведущей. Она улыбается свое...

Art style: Реалистичный кулинарный блог. Финальный кадр, средний план ведущей. Она улыбается своей самой широкой и дружелюбной улыбкой, глядя в камеру. Она делает призывающий жест руками, словно приглашая к общению. Перед ней на столе по-прежнему лежат аппетитные булочки. Освещение становится...

Grungy analog photo of Daphne Blake (from Serial scooby doo) watching her own movie on a 90s CRT ...

Grungy analog photo of Daphne Blake (from Serial scooby doo) watching her own movie on a 90s CRT TV in a dimly lit bedroom. The TV clearly shows animated scene from scooby doo, with a cartoon-style Daphne in her classic clothes on screen, smiling. Daphne Blake is sitting cross-legged on the floor...

Fotografia realistica scattata dall’interno di un appartamento situato a un piano abbastanza alto...

Fotografia realistica scattata dall’interno di un appartamento situato a un piano abbastanza alto, guardando verso il basso attraverso una finestra aperta su una normale strada cittadina. In strada, una folla numerosa di manifestanti avanza compatta; alcune persone indossano passamontagna. Sul...

Art style: Disney-inspired. Золушка walking further back in the frame; Косметолог standing in the...

Art style: Disney-inspired. Золушка walking further back in the frame; Косметолог standing in the near foreground. The couch and strip of reflective floor separate them. Золушка is walking on glossy floor near the open doorway further back in the frame in the midground. Torso in three-quarter...

Art style: Реалистичный кулинарный блог. Экстремально крупный план рук ведущей, разламывающих гот...

Art style: Реалистичный кулинарный блог. Экстремально крупный план рук ведущей, разламывающих готовую, горячую булочку. Булочка имеет аппетитную золотисто-коричневую корочку, густо посыпанную поджаренным кунжутом. В месте разлома видна пористая, воздушная и очень мягкая текстура мякиша...

Art style: Реалистичный кулинарный блог. Финальный кадр, средний план ведущей. Она улыбается свое...

Art style: Реалистичный кулинарный блог. Финальный кадр, средний план ведущей. Она улыбается своей самой широкой и дружелюбной улыбкой, глядя в камеру. Она делает призывающий жест руками, словно приглашая к общению. Перед ней на столе по-прежнему лежат аппетитные булочки. Освещение становится...

Square album cover for an energetic house dance single. A dancing crowd silhouette in a night clu...

Square album cover for an energetic house dance single. A dancing crowd silhouette in a night club under warm orange and golden stage lights, flying sparks and flames rising from the dance floor, misty Scottish highland mountains faintly visible in the glowing background. Bold modern clean...

Medium shot of launch team executives in smart casual blazers over plain t-shirts, sitting in a m...

Medium shot of launch team executives in smart casual blazers over plain t-shirts, sitting in a modern conference room facing a large display showing the 'International AI Safety Report' document title from February 2026, professional lighting. Context markers: smart casual blazer, plain t-shirt,...

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

•لازمی 88 / 32000

تصاویر کی تخلیق کے لیے استعمال ہونے والا پرامپٹ۔

•لازمی image_urls
فائل ڈراپ کریں، یا

تخلیق کے لیے حوالہ جاتی تصاویر کے URLs۔

image_size ڈیفالٹ auto

نتیجے میں آنے والی تصویر کا aspect ratio۔

quality ڈیفالٹ high

نتیجے میں آنے والی تصویر کی quality۔

input_fidelity ڈیفالٹ high

نتیجے میں آنے والی تصویر کے ان پٹ کی پیروی کرنے کی سطح۔

num_images ڈیفالٹ 1

تیار کی جانے والی تصاویر کی تعداد۔

ایڈوانسڈ mask_image_url · background · output_format
فائل ڈراپ کریں، یا

ماسک تصویر کا URL جو تخلیق کے دوران ترمیم کیے جانے والے حصے کی نشان دہی کرتا ہے۔

background ڈیفالٹ auto

نتیجے میں آنے والی تصویر کا background۔

output_format ڈیفالٹ png

آؤٹ پٹ تصاویر کی فائل کا فارمیٹ۔

POST /run/gpt-image-1.5/edit?wait=20 قیمت → ⁨$0.225⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/gpt-image-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

یہ درخواست چلائیں

آپ کی key اسی براؤزر میں رہتی ہے: یہ صرف Doitong API کو بھیجی جاتی ہے اور صرف اس صورت میں localStorage میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ API کلید حاصل کریں

GPT-Image 1.5 · Edit کے بارے میں

`image_urls` سے حوالہ تصاویر میں 32000 حروف تک کے پرامپٹ کے ذریعے ترمیم کرتا ہے۔ اختیاری `mask_image_url` تبدیل کیے جانے والے حصے کی نشان دہی کرتا ہے۔ `input_fidelity` low یا high ہے (ڈیفالٹ high)، معیار low، medium یا high ہے، اور سائز auto یا تین مقررہ سائزوں میں سے ایک ہو سکتا ہے۔ زیادہ سے زیادہ 4 تصاویر، png، jpeg یا webp میں۔

پیرامیٹرز

معیاری نام یا مقامی نام میں سے صرف ایک بھیجیں، دونوں نہیں۔ معیاری نام

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
≤ 32,000 کریکٹرز≥ 2 کریکٹرز
تصاویر کی تخلیق کے لیے استعمال ہونے والا پرامپٹ۔
image_urlsلازمی images
قسمurl[] · image
تخلیق کے لیے حوالہ جاتی تصاویر کے URLs۔
image_sizeاختیاری
قسمenum
ڈیفالٹauto
auto1024x10241536x10241024x1536
نتیجے میں آنے والی تصویر کا aspect ratio۔
backgroundاختیاری
قسمenum
ڈیفالٹauto
autotransparentopaque
نتیجے میں آنے والی تصویر کا background۔
qualityاختیاری
قسمenum
ڈیفالٹhigh
lowmediumhigh
نتیجے میں آنے والی تصویر کی quality۔
input_fidelityاختیاری
قسمenum
ڈیفالٹhigh
lowhigh
نتیجے میں آنے والی تصویر کے ان پٹ کی پیروی کرنے کی سطح۔
num_imagesاختیاری num_outputs
قسمinteger
ڈیفالٹ1
1 – 4
تیار کی جانے والی تصاویر کی تعداد۔
output_formatاختیاری
قسمenum
ڈیفالٹpng
jpegpngwebp
آؤٹ پٹ تصاویر کی فائل کا فارمیٹ۔
mask_image_urlاختیاری
قسمurl · image
ماسک تصویر کا URL جو تخلیق کے دوران ترمیم کیے جانے والے حصے کی نشان دہی کرتا ہے۔
لازمی معیاری نام، یہ بھی قبول ہے

فائل پیرامیٹرز عوامی https:// URL، 10 MB تک کی data: URI، یا اپ لوڈ کے file_url کو قبول کرتے ہیں۔ فائلیں

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "gpt-image-1.5/edit",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 225,
    "usd": "0.225",
    "charged": 225,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
آپ کی فائلیں، آپ کا انتخابہر outputs[].url ہمارے اسٹوریج میں ایک کاپی ہے: ہمیشہ کے لیے محفوظ (فی GB-ماہ ادائیگی) یا مفت میں 7 دن تک، آپ کی اکاؤنٹ سیٹنگ یا ?storage= کے مطابق۔
ہر ماڈل میں ایک جیسی ساختtype، url، content_type، width، height اور duration، تصاویر، ویڈیو اور آڈیو سب کے لیے یکساں۔ output ماڈل کا اپنا نتیجہ آبجیکٹ ہے۔
آؤٹ پٹ کے فیلڈز
images
array of object {url, content_type, file_name, file_size, width, height}ماڈل سے تیار کردہ تصاویر۔

مزید ماڈلز: تصویر میں ترمیم

AI ایجنٹس کے لیے: یہ صفحہ Markdown میں یہاں موجود ہے https://doitong.com/ur/developers/models/gpt-image-1.5/edit.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt