Saltar al cuntegna

Ideogram V4.5

Integrar

ID dal model 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"

Questa dumonda: $0,06 60 credits API Lantschar sin questa pagina

Obtegna ina clav API
Ideogram Text a maletg #typography#logos#posters

Il spezialist da Ideogram per la tipografia da logos, placats e tavlas, en trais nivels da qualitad.

Exempels

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

PromptVintage 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 credits API

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori 252 / 10000

Prompt che descriva la generaziun u l'ediziun.

image_size standard square_hd

Las dimensiuns da l'output pon vegnir spezificadas explicitamain cun ina da questas dimensiuns sustegnidas: 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. Per presets, 16:9 correspunda a 1280x720 u 720x1280, e 4:3 correspunda a 1152x864 u 864x1152. Cun la selecziun square vegn utilisà square_hd a 1024x1024.

quality standard medium

Configuraziun da la qualitad per la generaziun da text a maletg.

num_images standard 1

Dumber da maletgs da producir.

Avanzà seed · enable_prompt_expansion

Semenza casuala, tschernida automaticamain sch'ella vegn omessa.

POST /run/ideogram/v4.5?wait=20 calculaziun → $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"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Ideogram V4.5

Ideogram V4.5 è in dals models ils pli fidabels per letras exactas: logos, placats da fatschenta, posters e maletgs per las medias socialas cun ils pleds scrits correctamain. La qualitad bassa, mesauna u auta baratta sveltezza e pretsch cunter detagl; la grondezza dal maletg na mida betg il pretsch. Engrondiment opziunal dal prompt, ina semenza e fin a otg maletgs per dumonda.

Parameters

Invia u il num canonic u il num nativ, betg omaduas. Nums canonics

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
≤ 10 000 caracters
Prompt che descriva la generaziun u l'ediziun.
image_sizeopziunal
Tipobject
Standardsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Las dimensiuns da l'output pon vegnir spezificadas explicitamain cun ina da questas dimensiuns sustegnidas: 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. Per presets, 16:9 correspunda a 1280x720 u 720x1280, e 4:3 correspunda a 1152x864 u 864x1152. Cun la selecziun square vegn utilisà square_hd a 1024x1024.
qualityopziunal
Tipenum
Standardmedium
lowmediumhigh
Configuraziun da la qualitad per la generaziun da text a maletg.
enable_prompt_expansionopziunal
Tipboolean
Standardtrue
Controllescha sche il partenari engrondescha il prompt.
num_imagesopziunal num_outputs
Tipinteger
Standard1
1 – 8
Dumber da maletgs da producir.
seedopziunal
Tipinteger | null
Semenza casuala, tschernida automaticamain sch'ella vegn omessa.
obligatori Num canonic, er acceptà

Output

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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
images
array of object {url, content_type, file_name, file_size}
seed
integerValur dal seme utilisada per la generaziun da nums casuals.

Dapli models: Text a maletg

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/ideogram/v4.5.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt