Peke ki ngā ihirangi

GPT Image 2.5 Text to Image

Whakauru

id tauira openai/gpt-image-2.5/flare/text-to-image
# 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/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A handwritten recipe card titled \"Apple Pie\" on a wooden kitchen table, neat cursive ingredient list, a slice of pie on a plate beside it, cinnamon sticks, warm afternoon light, photorealistic.",
    "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.013 13 whiwhinga API · ≈ ₽ 1.40 Whakahaerehia ki tēnei whārangi

Tikina he kī API
OpenAI Kuputuhi ki te Atahanga #typography#transparent#instruction-following

He tauira whakaahua nā OpenAI e tino whai ana i ngā tohutohu, e pai ana te tā tuhinga, ā, e tautoko ana i ngā papamuri pūataata.

Ngā tauira

Putanga · ~24 s
A handwritten recipe card titled "Apple Pie" on a wooden kitchen table, neat cursive ingredient list, a slice of pie ...

TohutohuA handwritten recipe card titled "Apple Pie" on a wooden kitchen table, neat cursive ingredient list, a slice of pie on a plate beside it, cinnamon sticks, warm afternoon light, photorealistic.

medium$ 0.013 · 13 whiwhinga API

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 193 / 32000

Tohutohu i whakamahia hei whakaputa atahanga.

image_size taunoa landscape_4_3

Ka whakaaetia e ngā rahinga putanga he ingoa tatūkē, he ahanoa {width, height}, he 'auto' rānei mō te kōwhiringa rahinga pai rawa a te tauira. Me whakawehe ngā rahinga tūturu katoa ki te 16, kaua ngā tapa e roa ake i te 3840px, kaua te ōwehenga āhuatanga e nui ake i te 3:1, ā, me 655,360–8,294,400 te tapeke pika.

background taunoa auto

Papamuri o te atahanga hua.

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 output_format · output_compression
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/text-to-image?wait=20 utu → $ 0.013
# 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/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A handwritten recipe card titled \"Apple Pie\" on a wooden kitchen table, neat cursive ingredient list, a slice of pie on a plate beside it, cinnamon sticks, warm afternoon light, photorealistic.",
    "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

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...

Mō GPT Image 2.5 Text to Image

He kaiwhakaputa whakaahua whānui nā OpenAI: ka whai ia i ngā tohutohu roa, motuhake hoki, ka āta whakarite i te tuhinga me ngā hoahoa, ā, ka taea te whakahoki PNG, WebP rānei me tētahi papamuri pūataata mō ngā whakapiri, ata me ngā tapahanga hua. E rima ngā taumata kounga hei whakawhiti i te tere me te utu mō te taipitopito. Ka eke ngā rahinga ki te 3840 px i te tapa roa (he whakareatanga o te 16, ko te mōrahi 3:1); kia tekau ngā whakaahua 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_sizekōwhiringa
Momoobject
Taunoalandscape_4_3
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
Ka whakaaetia e ngā rahinga putanga he ingoa tatūkē, he ahanoa {width, height}, he 'auto' rānei mō te kōwhiringa rahinga pai rawa a te tauira. Me whakawehe ngā rahinga tūturu katoa ki te 16, kaua ngā tapa e roa ake i te 3840px, kaua te ōwehenga āhuatanga e nui ake i te 3:1, ā, me 655,360–8,294,400 te tapeke pika.
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

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "openai/gpt-image-2.5/flare/text-to-image",
  "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": 13,
    "usd": "0.013",
    "charged": 13,
    "refunded": 0
  },
  "input": {
    "prompt": "A flat vector sticker of a smiling cactus wearing sunglasses, thick white outline, no background",
    "image_size": "square_hd",
    "quality": "medium",
    "background": "transparent"
  },
  "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: Kuputuhi ki te 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/text-to-image.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt