Neidio i'r cynnwys

GPT Image 2.5 Text to Image

Integreiddio

ID y model 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Y cais hwn: $0.013 13 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
OpenAI Testun i Ddelwedd #typography#transparent#instruction-following

Model delwedd OpenAI gyda dilyniant cyfarwyddiadau cryf, rendro testun glân a chefndiroedd tryloyw.

Enghreifftiau

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

AnogwrA 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 o gredydau API

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol 193 / 32000

Anogiad a ddefnyddir i gynhyrchu delweddau.

image_size rhagosodedig landscape_4_3

Mae dimensiynau allbwn yn derbyn enw rhagddodiad, gwrthrych {width, height}, neu 'auto' ar gyfer dewis maint gorau'r model. Rhaid i bob maint pendant fod â dimensiynau sy'n rhanadwy â 16, ymylon heb fod yn hirach na 3840px, cymhareb agwedd o 3:1 ar y mwyaf, a chyfanswm picseli o 655,360–8,294,400.

background rhagosodedig auto

Cefndir y ddelwedd sy'n deillio.

quality

Dewis ansawdd delwedd, gyda 'auto' yn dirprwyo'r penderfyniad i'r model. Mae manylder ychwanegol mewn gosodiadau uwch yn golygu hwyrni hirach a mwy o ddefnydd tocynnau.

num_images rhagosodedig 1

Nifer y delweddau i'w cynhyrchu.

Uwch output_format · output_compression
output_format rhagosodedig png

Fformat ffeil yr allbwn delweddau.

Gosodiad cywasgu sydd ar gael dim ond ar gyfer 'jpeg' neu 'webp' yn output_format; ei ystod a ganiateir yw 0–100.

POST /run/openai/gpt-image-2.5/flare/text-to-image?wait=20 dyfynbris → $0.013
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Wedi'i wneud ar Doitong

Gwaith cyhoeddus a wnaed gyda GPT Image 2.5 gan gymuned Doitong. Ailddefnyddiwch anogwr mewn un clic.

Gwaith cyhoeddus wedi'i ddangos: 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...

Ynglŷn â GPT Image 2.5 Text to Image

Cynhyrchydd delweddau pwrpas cyffredinol OpenAI: mae’n dilyn cyfarwyddiadau hir a phenodol, yn gosod testun a diagramau yn lân ac yn gallu dychwelyd PNG neu WebP gyda chefndir tryloyw ar gyfer sticeri, eiconau a thoriadau cynnyrch. Mae pum lefel ansawdd yn cyfaddawdu cyflymder a phris yn erbyn manylder. Mae meintiau’n mynd hyd at 3840 px ar yr ymyl hiraf (lluosrifau o 16, ar uchaf 3:1); hyd at ddeg delwedd fesul cais.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
≤ 32,000 nod
Anogiad a ddefnyddir i gynhyrchu delweddau.
image_sizedewisol
Mathobject
Rhagosodediglandscape_4_3
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
Mae dimensiynau allbwn yn derbyn enw rhagddodiad, gwrthrych {width, height}, neu 'auto' ar gyfer dewis maint gorau'r model. Rhaid i bob maint pendant fod â dimensiynau sy'n rhanadwy â 16, ymylon heb fod yn hirach na 3840px, cymhareb agwedd o 3:1 ar y mwyaf, a chyfanswm picseli o 655,360–8,294,400.
backgrounddewisol
Mathenum
Rhagosodedigauto
autotransparentopaque
Cefndir y ddelwedd sy'n deillio.
qualitydewisol
Mathenum
Rhagosodedighigh
autolowmediumhighxhighmax
Dewis ansawdd delwedd, gyda 'auto' yn dirprwyo'r penderfyniad i'r model. Mae manylder ychwanegol mewn gosodiadau uwch yn golygu hwyrni hirach a mwy o ddefnydd tocynnau.
num_imagesdewisol num_outputs
Mathinteger
Rhagosodedig1
1 – 10
Nifer y delweddau i'w cynhyrchu.
output_formatdewisol
Mathenum
Rhagosodedigpng
jpegpngwebp
Fformat ffeil yr allbwn delweddau.
output_compressiondewisol
Mathinteger | null
0 – 100
Gosodiad cywasgu sydd ar gael dim ond ar gyfer 'jpeg' neu 'webp' yn output_format; ei ystod a ganiateir yw 0–100.
gofynnol Enw canonaidd, derbyniol hefyd

Allbwn

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
images
array of object {url, content_type, file_name, file_size, width, height}Delweddau a gynhyrchir gan y model.

Mwy o fodelau: Testun i Ddelwedd

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/openai/gpt-image-2.5/flare/text-to-image.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt