Neidio i'r cynnwys

Ideogram V2A

Integreiddio

ID y model ideogram/v2a
# 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/v2a?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.04 40 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Ideogram Testun i Ddelwedd #realism#typography

Amrywiad testun-i-ddelwedd ar gyfer posteri a logos gyda rhagosodiadau arddull ac 11 cymhareb agwedd, heb anogwr negyddol

Ideogram · Delwedd

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

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

•gofynnol
aspect_ratio rhagosodedig 1:1

Cymhareb agwedd i'w defnyddio ar gyfer yr allbwn delwedd.

Uwch style · seed · expand_prompt
style rhagosodedig auto

Arddull weledol yr allbwn delwedd.

Gwerth hadau ar gyfer cynhyrchu rhifau ar hap.

POST /run/ideogram/v2a?wait=20 dyfynbris → $0.04
# 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/v2a?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 â Ideogram V2A

Yn cynhyrchu delweddau o anogwr testun gyda ffocws ar deipograffeg ddarllenadwy ac allbwn realistig. Mae’n cynnig 11 cymhareb agwedd a’r arddulliau auto, general, realistic, design, render_3D ac anime. Mae `expand_prompt` yn rheoli ehangu’r anogwr ac mae `seed` yn gosod haprwydd. Yn wahanol i V2, nid oes ganddo fewnbwn anogwr negyddol.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
aspect_ratiodewisol
Mathenum
Rhagosodedig1:1
10:1616:109:1616:94:33:41:11:33:13:22:3
Cymhareb agwedd i'w defnyddio ar gyfer yr allbwn delwedd.
expand_promptdewisol
Mathboolean
Rhagosodedigtrue
Yn rheoli a yw MagicPrompt yn ehangu'r anogiad.
seeddewisol
Mathinteger | null
Gwerth hadau ar gyfer cynhyrchu rhifau ar hap.
styledewisol
Mathenum
Rhagosodedigauto
autogeneralrealisticdesignrender_3Danime
Arddull weledol yr allbwn delwedd.
gofynnol

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/v2a",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "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
      }
    ],
    "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"
  }
}
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}
seed
integerGwerth hadau a ddefnyddir ar gyfer cynhyrchu rhifau ar hap.

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/ideogram/v2a.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt