Neidio i'r cynnwys

GPT Image 2.5 Sunburst Text to Image

Integreiddio

ID y model openai/gpt-image-2.5/sunburst/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/sunburst/text-to-image?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"
  }'

# 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.054 54 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
OpenAI Testun i Ddelwedd #realism#typography#stylized

GPT Image 2.5 Sunburst testun-i-ddelwedd gydag ansawdd xhigh/max, hyd at 10 delwedd a rheolaeth cywasgu

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

Adeiladu cais

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

•gofynnol 88 / 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.

num_images rhagosodedig 1

Nifer y delweddau i'w cynhyrchu.

Uwch background · quality · output_format · output_compression · enable_safety_checker
background rhagosodedig auto

Cefndir y ddelwedd sy'n deillio.

quality rhagosodedig high

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.

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/sunburst/text-to-image?wait=20 dyfynbris → $0.054
# 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/sunburst/text-to-image?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"
  }'

# 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

Ynglŷn â GPT Image 2.5 Sunburst Text to Image

Yn cynhyrchu delweddau o anogwyr o hyd at 32000 o nodau. Mae ansawdd yn cynnig auto, low, medium, high, xhigh a max, gyda gosodiadau uwch yn ychwanegu manylder ac oedi. Mae `num_images` yn mynd hyd at 10, ac mae `output_compression` o 0 i 100 yn berthnasol i jpeg a webp. Mae meintiau’n defnyddio rhagosodiadau, auto neu ddimensiynau penodol.

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.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Gellir llacio'r sgrinio drwy osod false, ar yr amod bod y galwr wedi'i awdurdodi.
gofynnol Enw canonaidd, derbyniol hefyd

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "openai/gpt-image-2.5/sunburst/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": 54,
    "usd": "0.054",
    "charged": 54,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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/sunburst/text-to-image.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt