Pāriet uz saturu

Ideogram V4.5

Integrēt

Modeļa id ideogram/v4.5
# 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/ideogram/v4.5?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Vintage travel poster for an imaginary island, bold art-deco lettering at the top that reads \"ISLA SERENA\", turquoise sea, white cliffs and a small sailboat, warm sunset gradient sky, screen-printed paper texture, the words \"Summer 1936\" at the bottom."
  }'

# 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"

Šis pieprasījums: 0,06 $ 60 API kredītu Izpildīt šajā lapā

Iegūt API atslēgu
Ideogram Teksts uz attēlu #typography#logos#posters

Ideogram tipogrāfijas speciālists logotipiem, plakātiem un izkārtnēm trīs kvalitātes līmeņos.

Piemēri

Izvade · ~16 s
Vintage travel poster for an imaginary island, bold art-deco lettering at the top that reads "ISLA SERENA", turquoise...

UzvedneVintage travel poster for an imaginary island, bold art-deco lettering at the top that reads "ISLA SERENA", turquoise sea, white cliffs and a small sailboat, warm sunset gradient sky, screen-printed paper texture, the words "Summer 1936" at the bottom.

0,06 $ · 60 API kredītu

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

•obligāts 252 / 10000

Uzvedne, kas apraksta ģenerēšanu vai rediģēšanu.

image_size noklusējums square_hd

Izvades izmērus var norādīt tieši, izmantojot kādu no šiem atbalstītajiem izmēriem: 1024x1024, 1024x3072, 1120x896, 1152x2944, 1152x864, 1248x3328, 1248x832, 1280x3072, 1280x720, 1280x800, 1296x3168, 1440x2560, 1440x2880, 1440x720, 1600x2560, 1664x2496, 1728x2304, 1792x2240, 2048x2048, 2240x1792, 2304x1728, 2496x1664, 2560x1440, 2560x1600, 2880x1440, 2944x1152, 3072x1024, 3072x1280, 3168x1296, 3328x1248, 720x1280, 720x1440, 800x1280, 832x1248, 864x1152, 896x1120. Sākotnēm 16:9 atbilst 1280x720 vai 720x1280, bet 4:3 atbilst 1152x864 vai 864x1152. Izvēloties square, tā vietā tiek izmantots square_hd ar izmēru 1024x1024.

quality noklusējums medium

Kvalitātes iestatījums teksta pārveidošanai attēlā.

num_images noklusējums 1

Ģenerējamo attēlu skaits.

Papildu seed · enable_prompt_expansion

Nejauša sākumvērtība, kas tiek izvēlēta automātiski, ja tā nav norādīta.

POST /run/ideogram/v4.5?wait=20 cena → 0,06 $
# 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/ideogram/v4.5?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Vintage travel poster for an imaginary island, bold art-deco lettering at the top that reads \"ISLA SERENA\", turquoise sea, white cliffs and a small sailboat, warm sunset gradient sky, screen-printed paper texture, the words \"Summer 1936\" at the bottom."
  }'

# 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"

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Par Ideogram V4.5

Ideogram V4.5 ir viens no uzticamākajiem modeļiem precīzam burtu attēlojumam: logotipiem, veikalu izkārtnēm, plakātiem un sociālo tīklu grafikai ar pareizi uzrakstītiem vārdiem. Zema, vidēja un augsta kvalitāte maina ātrumu un cenu pret detalizētību; attēla izmērs cenu nemaina. Neobligāta uzvednes paplašināšana, sākumvērtība un līdz astoņiem attēliem vienā pieprasījumā.

Parametri

Nosūti vai nu kanonisko nosaukumu, vai vietējo nosaukumu, bet ne abus. Kan啤niskie nosaukumi

NosaukumsTips NoklusējumsAtļauts Apraksts
promptobligāts
Tipsstring
≤ 10 000 rakstzīmju
Uzvedne, kas apraksta ģenerēšanu vai rediģēšanu.
image_sizeneobligāts
Tipsobject
Noklusējumssquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Izvades izmērus var norādīt tieši, izmantojot kādu no šiem atbalstītajiem izmēriem: 1024x1024, 1024x3072, 1120x896, 1152x2944, 1152x864, 1248x3328, 1248x832, 1280x3072, 1280x720, 1280x800, 1296x3168, 1440x2560, 1440x2880, 1440x720, 1600x2560, 1664x2496, 1728x2304, 1792x2240, 2048x2048, 2240x1792, 2304x1728, 2496x1664, 2560x1440, 2560x1600, 2880x1440, 2944x1152, 3072x1024, 3072x1280, 3168x1296, 3328x1248, 720x1280, 720x1440, 800x1280, 832x1248, 864x1152, 896x1120. Sākotnēm 16:9 atbilst 1280x720 vai 720x1280, bet 4:3 atbilst 1152x864 vai 864x1152. Izvēloties square, tā vietā tiek izmantots square_hd ar izmēru 1024x1024.
qualityneobligāts
Tipsenum
Noklusējumsmedium
lowmediumhigh
Kvalitātes iestatījums teksta pārveidošanai attēlā.
enable_prompt_expansionneobligāts
Tipsboolean
Noklusējumstrue
Nosaka, vai partneris paplašina uzvedni.
num_imagesneobligāts num_outputs
Tipsinteger
Noklusējums1
1 – 8
Ģenerējamo attēlu skaits.
seedneobligāts
Tipsinteger | null
Nejauša sākumvērtība, kas tiek izvēlēta automātiski, ja tā nav norādīta.
obligāts Kan啤niskais nosaukums, arī pieņemts

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/v4.5",
  "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": 60,
    "usd": "0.06",
    "charged": 60,
    "refunded": 0
  },
  "input": {
    "prompt": "A colorful storefront with a neon sign reading \"Night Owl Coffee\", rainy street reflections",
    "quality": "medium",
    "image_size": "landscape_4_3"
  },
  "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
      }
    ],
    "seed": 42
  },
  "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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
images
array of object {url, content_type, file_name, file_size}
seed
integerNejaušo skaitļu ģenerēšanai izmantotā sēklas vērtība.

Vairāk modeļu: Teksts uz attēlu

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/ideogram/v4.5.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt