Njuolgga sisdollui

GPT Image 2.5 Edit

Integrere

Modealla-id openai/gpt-image-2.5/flare/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/openai/gpt-image-2.5/flare/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Same sneaker, but on a snowy mountain trail in daylight",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg"
    ],
    "quality": "medium"
  }'

# 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"

Dát ohcamuš: ≈0,12 $ 120 API-kreditta Vuodje dán siiddu alde

Oza API-čoavdaga
OpenAI Gova heiveheapmi #editing#mask#transparent

Divve dahje ovttasta gitta 16 referánsa-gova OpenAI:a govvamálliin, eaktodáhtolaš maskain ja čáhppesvuođain.

Ráhkaduvvon Doitongis

Doitong-bargosearvvi almmolaš barggut, ráhkaduvvon GPT Image 2.5 bokte. Geavat fas jearaldaga ovtta deaddilemiin.

Almmolaš barggut čájehuvvojit: 16
A polished studio concept art board — a single composite page that reads as a high-end pre-produc...

A polished studio concept art board — a single composite page that reads as a high-end pre-production pitch deck for an animated short. NOT a vintage pencil sketch, NOT a finished movie frame, but a polished concept page in the visual treatment described below. Layout: TOP HEADER (left): bold...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое наполь...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое напольное зеркало в тонкой арочной раме. Спиной к камере у зеркала стоит взрослая девушка-, корпус развёрнут к своему отражению, голова слегка повёрнута в профиль, взгляд направлен в зеркало на свою...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое наполь...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое напольное зеркало в тонкой арочной раме. Спиной к камере у зеркала стоит взрослая девушка-, корпус развёрнут к своему отражению, голова слегка повёрнута в профиль, взгляд направлен в зеркало на свою...

Create image: ultra realistic image: man 35 years old sitting in super luxury house (ref4). Luxur...

Create image: ultra realistic image: man 35 years old sitting in super luxury house (ref4). Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furni...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The man is...

Сделай этикетку на продукцию оформленную красиво и стильно в соответствии с составом. Можешь орие...

Сделай этикетку на продукцию оформленную красиво и стильно в соответствии с составом. Можешь ориентироваться по стилю на фото 1. Текст на этикетке: производитель ИП Стрини Ю.Л. «соломка горбуши», состав: рыба горбуша, соль, сахар, специи. Срок хранения при t не от 0 до -3 60 суток. Вес: 500гр

Create image: ultra realistic image: man 35 years old (attached reference ) sitting in super luxu...

Create image: ultra realistic image: man 35 years old (attached reference ) sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furni...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The man is...

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo 55 / 32000

Bivdda, mii geavahuvvo govvagiid ráhkadeapmái.

•gáibiduvvo image_urls
Luoitte fiilla, dahje · gitta 16

Referánsa-govaid URL:at ráhkadeapmái, rádjejuvvon 16 govvii.

image_size standárda auto

Boađus-dimenšuvnnat, mat árvvoštallojuvvojit addojuvvon govaid vuođul go leat 'auto'.

quality

Govva-kvalitehta válljen, mas 'auto' guođđá mearrádusa modeallii. Eanet detaljat alit heivehemiin dagahit guhkit latency ja stuorát token-geavaheami.

num_images standárda 1

Ráhkaduvvon govaid mearri.

Viiddiduvvon mask · background · output_format · output_compression
mask_url
Luoitte fiilla, dahje

URL maska-govvii, mii dovddaha heivehan-guovllu ráhkadeamis.

background standárda auto

Boađusgovvagiid duogáš.

output_format standárda png

Boađusgovvagiid fiilaformáhta.

Kompresserenheiveheapmi mii lea olámuttus dušše 'jpeg' dahje 'webp' várás output_format:is; dan lohpi ráddje lea 0–100.

POST /run/openai/gpt-image-2.5/flare/edit?wait=20 haddemearrádus → 0,12 $
# 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/openai/gpt-image-2.5/flare/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Same sneaker, but on a snowy mountain trail in daylight",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg"
    ],
    "quality": "medium"
  }'

# 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"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea GPT Image 2.5 Edit birra

GPT Image 2.5 rievdanmodus: čále rievdadusa ja geige gitta 16 referánsa govvosa, dárbbu mielde maskkain mii ráddje guđe guovllus modealla sáhttá málehit. Doarju čielga duogážiid, vihtta kvalitehtadási ja gitta logi bohtosa ovtta dáhttui.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
promptgáibiduvvo
Šládjastring
≤ 32 000 mearkka
Bivdda, mii geavahuvvo govvagiid ráhkadeapmái.
image_urlsgáibiduvvo images
Šládjaurl[] · image
≤ 16 merki
Referánsa-govaid URL:at ráhkadeapmái, rádjejuvvon 16 govvii.
mask_urleaktodáhtolaš mask
Šládjaurl · image
URL maska-govvii, mii dovddaha heivehan-guovllu ráhkadeamis.
image_sizeeaktodáhtolaš
Šládjaobject
Standárdaauto
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
Boađus-dimenšuvnnat, mat árvvoštallojuvvojit addojuvvon govaid vuođul go leat 'auto'.
backgroundeaktodáhtolaš
Šládjaenum
Standárdaauto
autotransparentopaque
Boađusgovvagiid duogáš.
qualityeaktodáhtolaš
Šládjaenum
Standárdahigh
autolowmediumhighxhighmax
Govva-kvalitehta válljen, mas 'auto' guođđá mearrádusa modeallii. Eanet detaljat alit heivehemiin dagahit guhkit latency ja stuorát token-geavaheami.
num_imageseaktodáhtolaš num_outputs
Šládjainteger
Standárda1
1 – 10
Ráhkaduvvon govaid mearri.
output_formateaktodáhtolaš
Šládjaenum
Standárdapng
jpegpngwebp
Boađusgovvagiid fiilaformáhta.
output_compressioneaktodáhtolaš
Šládjainteger | null
0 – 100
Kompresserenheiveheapmi mii lea olámuttus dušše 'jpeg' dahje 'webp' várás output_format:is; dan lohpi ráddje lea 0–100.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "openai/gpt-image-2.5/flare/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": 120,
    "usd": "0.12",
    "charged": 120,
    "refunded": 0
  },
  "input": {
    "prompt": "Same sneaker, but on a snowy mountain trail in daylight",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg"
    ],
    "quality": "medium"
  },
  "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"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
images
array of object {url, content_type, file_name, file_size, width, height}Modealla bokte buvttaduvvon govvat.

Eanet modeallat: Gova heiveheapmi

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/openai/gpt-image-2.5/flare/edit.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt