Peke ki ngā ihirangi

Ideogram V3 Character

Whakauru

id tauira ideogram/character
# 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/character?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",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

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

Tēnei tono: $ 0.15 150 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Ideogram Whakatika Atahanga Ngā tāuru tohutoro #character-consistency

He whakatipuranga Ideogram V3 e pupuri ana i te ōritetanga o tētahi kiripuaki mā te whakamahi i tētahi whakaahua tohutoro

Ideogram · Atahanga

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Tohutohu e whakaahua ana i te whakakī mō te rohe kanohi o te atahanga.

•e hiahiatia ana
Whakataka he kōnae,

Ngā atahanga tohutoro pūāhua ki te JPEG, PNG, WebP rānei, me te 10 MB te here whakakotahi mō ngā tohutoro pūāhua katoa. I tēnei wā kotahi anake te atahanga e tautokona ana; ka waiho ngā atahanga tāpiri.

rendering_speed taunoa BALANCED

Tautuhinga tere mō te tāhuahua.

image_size taunoa square_hd

Te taumira hei whakamahi mō te atahanga putanga.

num_images taunoa 1

Te maha o ngā atahanga hei whakaputa.

Arā atu negative_prompt · images · reference_mask_urls · style · seed · expand_prompt · style_codes · color_palette
taunoa

Tautuhia ngā ihirangi atahanga kāore e hiahiatia ana, engari ko ngā whakaahuatanga o te tohutohu matua te mea matua ake i ēnei whakaahuatanga tohutohu tōraro.

image_urls
Whakataka he kōnae,

Ngā atahanga tohutoro kāhua ki te hōputu JPEG, PNG, WebP rānei. Kaua e neke ake i te 10 MB te rahi whakakotahi.

Whakataka he kōnae,

Ngā kanohi tohutoro pūāhua ki te JPEG, PNG, WebP rānei; kaua e neke ake i te 10 MB te rahi katoa. Kotahi anake te kanohi e whakamahia ana i tēnei wā, ka waiho ngā kanohi tāpiri.

style taunoa AUTO

Momo kāhua e whakamahia ana mō te whakaputanga; kāore e taea te whakamahi tahi me style_codes.

Uara kākano mō te whakaputa tau matapōkere.

Ngā waehere kāhua atahanga, ka tukuna hei aho hexadecimal e 8 ngā pūāhua ia mea; kaua e whakamahi i style_reference_images me style ina whakamahi i tēnei rārangi.

Papatae tae e whakamahia ana i te whakaputanga. Tautuhia he tatūkē mā te ingoa, he tae hexadecimal rānei mā ngā mema, ā, ka taea te whakauru taumahatanga.

POST /run/ideogram/character?wait=20 utu → $ 0.15
# 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/character?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",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Ideogram V3 Character

Ka whakaputa whakaahua o tētahi kiripuaki mai i tētahi `prompt` me tētahi tohutoro i `reference_image_urls` (1 whakaahua anake ka whakamahia). Ka taea ngā tohutoro kāhua kōwhiringa te tuku ki `image_urls`, me `style_codes`, `color_palette` me `reference_mask_urls` hei whakanui i te mana whakahaere. Ko `rendering_speed` he TURBO, BALANCED, QUALITY rānei, ā, ka eke `num_images` ki te 8.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urlskōwhiringa images
Momourl[] · image
Ngā atahanga tohutoro kāhua ki te hōputu JPEG, PNG, WebP rānei. Kaua e neke ake i te 10 MB te rahi whakakotahi.
rendering_speedkōwhiringa
Momoenum
TaunoaBALANCED
TURBOBALANCEDQUALITY
Tautuhinga tere mō te tāhuahua.
color_palettekōwhiringa
Momoobject
Papatae tae e whakamahia ana i te whakaputanga. Tautuhia he tatūkē mā te ingoa, he tae hexadecimal rānei mā ngā mema, ā, ka taea te whakauru taumahatanga.
color_palette.memberskōwhiringa
Momoobject[]
Rārangi mema papatae e tautuhi ana i ngā tae o te papatae.
color_palette.members[].rgbe hiahiatia ana
Momoobject
Tae o te mema papatae kua whakaaturia hei RGB.
color_palette.members[].color_weightkōwhiringa
Momonumber | null
Taunoa0.5
0.05 – 1
Taumaha kua tautapaina ki tēnei tae i roto i te papatae.
color_palette.namekōwhiringa
Momoenum
EMBERFRESHJUNGLEMAGICMELONMOSAICPASTELULTRAMARINE
Kōwhiringa tatūkē mō te papatae tae.
style_codeskōwhiringa
Momostring[]
Ngā waehere kāhua atahanga, ka tukuna hei aho hexadecimal e 8 ngā pūāhua ia mea; kaua e whakamahi i style_reference_images me style ina whakamahi i tēnei rārangi.
stylekōwhiringa
Momoenum
TaunoaAUTO
AUTOREALISTICFICTION
Momo kāhua e whakamahia ana mō te whakaputanga; kāore e taea te whakamahi tahi me style_codes.
expand_promptkōwhiringa
Momoboolean
Taunoatrue
Takahuri whakamahinga MagicPrompt mō te whakaputa tono.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 8
Te maha o ngā atahanga hei whakaputa.
seedkōwhiringa
Momointeger | null
Uara kākano mō te whakaputa tau matapōkere.
prompte hiahiatia ana
Momostring
Tohutohu e whakaahua ana i te whakakī mō te rohe kanohi o te atahanga.
image_sizekōwhiringa
Momoobject
Taunoasquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Te taumira hei whakamahi mō te atahanga putanga.
negative_promptkōwhiringa
Momostring
Taunoa
Tautuhia ngā ihirangi atahanga kāore e hiahiatia ana, engari ko ngā whakaahuatanga o te tohutohu matua te mea matua ake i ēnei whakaahuatanga tohutohu tōraro.
reference_image_urlse hiahiatia ana
Momourl[] · image
Ngā atahanga tohutoro pūāhua ki te JPEG, PNG, WebP rānei, me te 10 MB te here whakakotahi mō ngā tohutoro pūāhua katoa. I tēnei wā kotahi anake te atahanga e tautokona ana; ka waiho ngā atahanga tāpiri.
reference_mask_urlskōwhiringa
Momourl[] · image
Ngā kanohi tohutoro pūāhua ki te JPEG, PNG, WebP rānei; kaua e neke ake i te 10 MB te rahi katoa. Kotahi anake te kanohi e whakamahia ana i tēnei wā, ka waiho ngā kanohi tāpiri.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/character",
  "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": 150,
    "usd": "0.15",
    "charged": 150,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
images
array of object {url, content_type, file_name, file_size}
seed
integerUara kākano e whakamahia ana mō te whakaputa tau matapōkere.

Ētahi atu tauira: Whakatika Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/ideogram/character.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt