Peke ki ngā ihirangi

GPT Image 2.5 Edit

Whakauru

id tauira 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: ≈$ 0.12 120 whiwhinga API · ≈ ₽ 12.79 Whakahaerehia ki tēnei whārangi

Tikina he kī API
OpenAI Whakatika Atahanga #editing#mask#transparent

Whakatikaia, whakakotahitia rānei kia 16 ngā whakaahua tohutoro me te tauira whakaahua a OpenAI, me te kanohi me te pūataata kōwhiringa.

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki GPT Image 2.5 e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 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...

Strong rule: style --- Cinematic Realistic ---. Энергичная девушка 27 лет с широкой лучезарной ул...

Strong rule: style --- Cinematic Realistic ---. Энергичная девушка 27 лет с широкой лучезарной улыбкой и задорными искорками в темных глазах. Короткая стильная стрижка пикси, волосы выкрашены в модный пепельный блонд. Одета в яркую джинсовую куртку с цветными нашивками и белую футболку. Образ...

Strong rule: style --- Cinematic Realistic ---. Молодая женщина около 30 лет, утонченные черты ли...

Strong rule: style --- Cinematic Realistic ---. Молодая женщина около 30 лет, утонченные черты лица, высокие скулы, пронзительные зеленые глаза. Волосы уложены в безупречное каре каштанового цвета. Одета в дорогой шелковый бежевый блейзер и изящные золотые украшения. Образ излучает уверенность,...

Use facial feature of attached photo. A realistic portrait of a woman with black hair loosely tie...

Use facial feature of attached photo. A realistic portrait of a woman with black hair loosely tied back, sitting outside a whitewashed stone house with a conical roof in a quiet Italian village. She wears a soft yellow floral summer dress with puff sleeves and white strappy heels. A wicker basket...

Фотореалистичная рекламная композиция в вертикальном формате 9:16. На переднем плане большая ярка...

Фотореалистичная рекламная композиция в вертикальном формате 9:16. На переднем плане большая яркая глянцевая фольгированная розово-синяя упаковка чипсов в современном стильном дизайне, с глянцевой поверхностью, бликами и складками, как у реального продукта. В левом углу упаковки средний логотип...

Art style: Кинематографичный, реалистичный стиль. Резкая смена кадра. Девушка с ужасом смотрит на...

Art style: Кинематографичный, реалистичный стиль. Резкая смена кадра. Девушка с ужасом смотрит на себя в зеркало. Маска снята, но ее лицо гротескно искажено: глаза слишком большие, улыбка растянута неестественно. Освещение стало холодным и резким. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL...

Art style: Кинематографичный, реалистичный стиль. Резкая смена кадра. Девушка с ужасом смотрит на...

Art style: Кинематографичный, реалистичный стиль. Резкая смена кадра. Девушка с ужасом смотрит на себя в зеркало. Маска снята, но ее лицо гротескно искажено: глаза слишком большие, улыбка растянута неестественно. Освещение стало холодным и резким. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL...

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana 55 / 32000

Tohutohu i whakamahia hei whakaputa atahanga.

•e hiahiatia ana image_urls
Whakataka he kōnae, · tae atu ki 16

Ngā URL atahanga tohutoro mō te whakaputa, he 16 atahanga te mōrahi.

image_size taunoa auto

Ngā rahinga putanga, ka whakatauhia mai i ngā atahanga kua tukuna ina tautuhia ki te 'auto'.

quality

Te kōwhiringa kounga atahanga, mā te 'auto' ka waiho te whakatau ki te tauira. Ko ngā tautuhinga teitei ake he taipitopito anō, engari he roa ake te whakautu, he nui ake hoki te whakamahinga tohu.

num_images taunoa 1

Te maha o ngā atahanga hei whakaputa.

Arā atu mask · background · output_format · output_compression
mask_url
Whakataka he kōnae,

URL mō tētahi atahanga kanohi e tautuhi ana i te rohe hei whakatika i te whakaputanga.

background taunoa auto

Papamuri o te atahanga hua.

output_format taunoa png

Hōputu kōnae o ngā atahanga putanga.

Te tautuhinga kōpeketanga e wātea ana mō te 'jpeg', 'webp' rānei i output_format anake; ko te awhe e whakaaetia ana ko 0–100.

POST /run/openai/gpt-image-2.5/flare/edit?wait=20 utu → $ 0.12
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō GPT Image 2.5 Edit

Ko te aratau whakatika o GPT Image 2.5: whakaahuatia te panonitanga, ka tukuna atu kia 16 ngā whakaahua tohutoro, me tētahi mask hei whakawhāiti i te wāhi ka taea e te tauira te peita. Ka tautoko i ngā papamuri pūataata, e rima ngā taumata kounga, ā, kia tekau ngā hua mō ia tono.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
≤ 32,000 pūāhua
Tohutohu i whakamahia hei whakaputa atahanga.
image_urlse hiahiatia ana images
Momourl[] · image
≤ 16 tūemi
Ngā URL atahanga tohutoro mō te whakaputa, he 16 atahanga te mōrahi.
mask_urlkōwhiringa mask
Momourl · image
URL mō tētahi atahanga kanohi e tautuhi ana i te rohe hei whakatika i te whakaputanga.
image_sizekōwhiringa
Momoobject
Taunoaauto
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
Ngā rahinga putanga, ka whakatauhia mai i ngā atahanga kua tukuna ina tautuhia ki te 'auto'.
backgroundkōwhiringa
Momoenum
Taunoaauto
autotransparentopaque
Papamuri o te atahanga hua.
qualitykōwhiringa
Momoenum
Taunoahigh
autolowmediumhighxhighmax
Te kōwhiringa kounga atahanga, mā te 'auto' ka waiho te whakatau ki te tauira. Ko ngā tautuhinga teitei ake he taipitopito anō, engari he roa ake te whakautu, he nui ake hoki te whakamahinga tohu.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 10
Te maha o ngā atahanga hei whakaputa.
output_formatkōwhiringa
Momoenum
Taunoapng
jpegpngwebp
Hōputu kōnae o ngā atahanga putanga.
output_compressionkōwhiringa
Momointeger | null
0 – 100
Te tautuhinga kōpeketanga e wātea ana mō te 'jpeg', 'webp' rānei i output_format anake; ko te awhe e whakaaetia ana ko 0–100.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
images
array of object {url, content_type, file_name, file_size, width, height}Ngā atahanga i whakaputaina e te tauira.

Ētahi atu tauira: Whakatika Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/openai/gpt-image-2.5/flare/edit.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt