Dža ko lil

GPT Image 2.5 Sunburst Text to Image

Integriruj

Modelosko id 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://vit.doitong.com/api/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: ≈$0.054 54 API krediti Phir les kate

Lel API klidin
OpenAI Teksto ko Kip #realism#typography#stylized

GPT Image 2.5 Sunburst tekstos-tar-fotografija xhigh/max kaliteha, dži 10 fotografije thaj kompresijaki kontrola

OpenAI · Kip

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 88 / 32000

Prompto savo pes labarel vaš kipengo keripe.

image_size standardno landscape_4_3

Rezultatoskera dimenzije len presetoskoro nav, jek {width, height} objekto, vaj 'auto' vaš modeloskoro majlačho izboro. Savore konkretno rozmera musaj te aven 16-esa delime, agora na pobuter 3840px, aspect ratio maksimalno 3:1, thaj totalno pixelonge 655,360–8,294,400.

num_images standardno 1

Ginipen e kipesqo save te aven kerde.

Lučhe background · quality · output_format · output_compression · enable_safety_checker
background standardno auto

Background le kerde kiposko.

quality standardno high

Kiposkiri quality selection, 'auto' mukel o izboro ko modelo. Po bareder detajlo anel po lungo latency thaj buter tokenonge labaripen.

output_format standardno png

Fajlosko formato le rezultatoske kipengo.

Compression setting dostupno numa vaš 'jpeg' vaj 'webp' and-o output_format; limitos 0–100.

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

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal GPT Image 2.5 Sunburst Text to Image

Kerel fotografije promptendar dži 32000 karakterura. O kvaliteti si auto, low, medium, high, xhigh thaj max; upral lavel den više detalura thaj latency. `num_images` džal dži 10, thaj `output_compression` 0-atar dži 100 džal vaś jpeg thaj webp. Barimata koristinen presetura, auto vaj eksplicitne dimenzije.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 32,000 simbolura
Prompto savo pes labarel vaš kipengo keripe.
image_sizeopcionalno
Tipobject
standardnolandscape_4_3
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
Rezultatoskera dimenzije len presetoskoro nav, jek {width, height} objekto, vaj 'auto' vaš modeloskoro majlačho izboro. Savore konkretno rozmera musaj te aven 16-esa delime, agora na pobuter 3840px, aspect ratio maksimalno 3:1, thaj totalno pixelonge 655,360–8,294,400.
backgroundopcionalno
Tipenum
standardnoauto
autotransparentopaque
Background le kerde kiposko.
qualityopcionalno
Tipenum
standardnohigh
autolowmediumhighxhighmax
Kiposkiri quality selection, 'auto' mukel o izboro ko modelo. Po bareder detajlo anel po lungo latency thaj buter tokenonge labaripen.
num_imagesopcionalno num_outputs
Tipinteger
standardno1
1 – 10
Ginipen e kipesqo save te aven kerde.
output_formatopcionalno
Tipenum
standardnopng
jpegpngwebp
Fajlosko formato le rezultatoske kipengo.
output_compressionopcionalno
Tipinteger | null
0 – 100
Compression setting dostupno numa vaš 'jpeg' vaj 'webp' and-o output_format; limitos 0–100.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul Kanonikano nav, vi akceptime

Rezultato

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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
images
array of object {url, content_type, file_name, file_size, width, height}Kipo kerdine e modeloça.

Bute modeli: Teksto ko Kip

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/openai/gpt-image-2.5/sunburst/text-to-image.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt