Dža ko lil

GPT Image 2.5 Text to Image

Integriruj

Modelosko id 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"

Kava mangipen: $0.013 13 API krediti Phir les kate

Lel API klidin
OpenAI Teksto ko Kip #typography#transparent#instruction-following

OpenAI-osko kipo-modelo lačhe instrukcijako sledosa, šuže tekstoskro renderiripasa thaj transparentne pozadinenca.

Primerura

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

PromptoA 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 API krediti

Ker jekh mangipen

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

•trubul 193 / 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.

background standardno auto

Background le kerde kiposko.

quality

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

num_images standardno 1

Ginipen e kipesqo save te aven kerde.

Lučhe output_format · output_compression
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/flare/text-to-image?wait=20 hesab → $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"

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č

Kerdo pe Doitong

Publikane khera kerde GPT Image 2.5-sa e Doitong komunitetostar. Pheripen jekh prompto ande jekh klik.

Sikade publikane kerimata: 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...

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

Fotografia realistica scattata dall’interno di un appartamento situato a un piano abbastanza alto...

Fotografia realistica scattata dall’interno di un appartamento situato a un piano abbastanza alto, guardando verso il basso attraverso una finestra aperta su una normale strada cittadina. In strada, una folla numerosa di manifestanti avanza compatta; alcune persone indossano passamontagna. Sul...

Art style: Disney-inspired. Золушка walking further back in the frame; Косметолог standing in the...

Art style: Disney-inspired. Золушка walking further back in the frame; Косметолог standing in the near foreground. The couch and strip of reflective floor separate them. Золушка is walking on glossy floor near the open doorway further back in the frame in the midground. Torso in three-quarter...

Art style: Реалистичный кулинарный блог. Экстремально крупный план рук ведущей, разламывающих гот...

Art style: Реалистичный кулинарный блог. Экстремально крупный план рук ведущей, разламывающих готовую, горячую булочку. Булочка имеет аппетитную золотисто-коричневую корочку, густо посыпанную поджаренным кунжутом. В месте разлома видна пористая, воздушная и очень мягкая текстура мякиша...

Art style: Реалистичный кулинарный блог. Финальный кадр, средний план ведущей. Она улыбается свое...

Art style: Реалистичный кулинарный блог. Финальный кадр, средний план ведущей. Она улыбается своей самой широкой и дружелюбной улыбкой, глядя в камеру. Она делает призывающий жест руками, словно приглашая к общению. Перед ней на столе по-прежнему лежат аппетитные булочки. Освещение становится...

Square album cover for an energetic house dance single. A dancing crowd silhouette in a night clu...

Square album cover for an energetic house dance single. A dancing crowd silhouette in a night club under warm orange and golden stage lights, flying sparks and flames rising from the dance floor, misty Scottish highland mountains faintly visible in the glowing background. Bold modern clean...

Palal GPT Image 2.5 Text to Image

OpenAI-ki fotografijaki generatori sajekhane dija: sledil lunge thaj specifikane instrukcien, šukar aranžiril teksto thaj diagramura, thaj šaj te del PNG vaj WebP transparenno fondosa vaś stickerura, ikonura thaj produktura. Pandž kalite lavel trgovinil siglost thaj cena vaš detalura. Barimata džan dži 3840 px ko lungo krajo (multiplikacija 16-esa, maksimalno 3:1); dži deš fotografije ko jekh mangipen.

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.
trubul Kanonikano nav, vi akceptime

Rezultato

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"
  }
}
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/flare/text-to-image.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt