ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Ideogram · Custom Models · Generate

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id ideogram/custom-models/generate
# 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/custom-models/generate?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_id": "your-model-id",
    "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"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ: $0.06 60 API ᠺᠷᡝᡩᡳᠲ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Ideogram ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ #stylized#transform

model_id ᠴᡳ ᠵᡠᠯᡤᡝᠨ ᡩᠠᡵᠠᠨ Ideogram ᠮᠣᡩᡝᠯ ᠴᡳ ᠵᡳᠯᡤᠠᠨ ᠪᡝ ᠪᡝᠨᡳᠮᡝ ᠪᡳ

Ideogram · ᡤᠠᠳᠠᠨ

ᡳᠨᡝ ᡝᠮᡠᠨᡳᠩᡤᡝ ᡝᡵᡝᠮᡝ ᡩᡝ

ᡝᡵᡝ ᠵᡠᠯᡝᠨ ᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᠠᠶᠠᠨᠠᠮᡝ ᠠᠮᡪᠠᠯᠠ ᡶᡳᠯᡝᠮᡝ ᠪᡝᠶᡝᠮᡝ᠃ API ᠵᡳᡵᡤᠠᡳ ᡤᠠᡳᡥᠠᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠵᠠᠯᠠᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠮᡠᠰᡝᡳ ᠰᡠᠯᡠᠨᡩᡝ ᠪᠠᠶᠠᠨᠠᠮᡝ᠂ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠶᠠᠨ 7 ᡥᠠᠨ ᠰᠠᡳᠨᠠᠮᡝ᠃

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

ᠵᠠᡴᡠᠨᡳ ᠵᡠᠯᡝ ᡩᡝᡵᡤᡳ ᡩᡝᠪᡝᠰᡠᠮᡝ ᠵᡠᠯᡤᡝ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᠪᠠᡳ ᡝᠨᡝᠩᡤᡳ ᠠᠮᠪᡳ

•ᡴᠠᠷᠠᡴᡡ

ᠠᠯᡳᠮᠪᡳ ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᡠᠯᡤᡝ ᡳ ᡤᠠᠳᠠᠨ ᡳ ᡥᡡᠯᠠᠨ᠈

rendering_speed ᠵᡠᠯᡝ BALANCED

ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᡠᠯᡤᡝ ᠰᡠᠯᡠ ᠵᠠᠯᠠᠨᠠᠮᠪᡳ᠈

•ᡴᠠᠷᠠᡴᡡ

/train ᡩᡝ ᠪᡠᡶᡳ ᠪᡳ᠈ ᠮᠣᠳᡝᠯ ᡳ ᠪᡳᠯᡠᠮᠪᡳ ᡩᡝ COMPLETED ᠪᡠᡶᡳ ᠮᡠᠶᠠᡥᡡᠨ ᠠᡩᠠᠯᡳ ᠪᡳ᠈

ᠵᡠᠯᡝ 1:1

ᠪᡠᠶᡝᠮᡝ ᠪᡠᠮᡝᠩᡤᡝ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ。

num_images ᠵᡠᠯᡝ 1

ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠮᠠᠨ.

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ negative_prompt · seed · expand_prompt · enable_safety_checker
ᠵᡠᠯᡝ

ᠪᡠᠶᡝᠮᡝ ᡳ ᠪᡳᠰᡳ ᡤᠠᠳᠠᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᠪᡳ᠈ ᠪᡝᠶᡝ ᡥᡡᠯᠠᠨ ᡳ ᠠᠯᡳᠨ ᡩᡝ ᠪᡠᡶᡳ ᠪᡳᠰᡳ᠈

ᠮᠠᠨᡤᠠ ᠵᠠᠯᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝᡵᡝ ᠰᡝᡩᡝ.

POST /run/ideogram/custom-models/generate?wait=20 ᠵᠠᠯᡳᠨ → $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/custom-models/generate?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_id": "your-model-id",
    "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"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ

ᡳᠨᡝ ᠵᠠᠯᠠᠨ ᡝᡵᡝ ᠪᡠᡵᡝᠪᡝᡵᡳ ᡩᡝ ᠪᡳᠮᡝ᠈ Doitong API ᡩᡝ ᠵᡝᠯᡤᡳ ᡩᠠᡵᠠᠮᡝ᠈ Remember ᠵᡠᠯᡝᠮᡝ ᡤᡳᠯᠠᠮᡝ localStorage ᡩᡝ ᠰᡠᠯᡝᠮᡝ ᠪᡳᠮᡝ API ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Ideogram · Custom Models · Generate ᡠᡵᡝᠮᡝ

ᡩᠠᡵᠠᠨ ᡩᠠᡵᡳᠮᡝ ᠵᠠᠯᡳᠨ ᠵᡳᠯᡤᠠᠨ ᠪᡝ `model_id` ᠵᠠᡳ `prompt` ᠴᡳ ᠪᡝᠨᡳᠮᡝ ᠪᡳ. `aspect_ratio` 15 ᠵᡠᠯᡝ ᠪᡳ, `rendering_speed` ᠨᡳ TURBO, BALANCED ᠵᠠᡳ QUALITY, `num_images` 1-8. `negative_prompt`, `expand_prompt` ᠵᠠᡳ `seed` ᠪᡝ ᡳᠨᡠ ᡥᡡᠯᠠᠮᡝ ᠪᡳ.

ᠵᠠᡴᡠᠨ

ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ ᠵᡝᠯᡤᡳ ᠠᠪᠠᠮᠪᡳ᠈ ᠨᡝᠮᡝ ᠮᡠᠰᡝ ᡠᠯᠠᠮᠪᡳ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
model_idᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
/train ᡩᡝ ᠪᡠᡶᡳ ᠪᡳ᠈ ᠮᠣᠳᡝᠯ ᡳ ᠪᡳᠯᡠᠮᠪᡳ ᡩᡝ COMPLETED ᠪᡠᡶᡳ ᠮᡠᠶᠠᡥᡡᠨ ᠠᡩᠠᠯᡳ ᠪᡳ᠈
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᠠᠯᡳᠮᠪᡳ ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᡠᠯᡤᡝ ᡳ ᡤᠠᠳᠠᠨ ᡳ ᡥᡡᠯᠠᠨ᠈
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1:1
1:33:11:22:19:1616:910:1616:102:33:23:44:34:55:41:1
ᠪᡠᠶᡝᠮᡝ ᠪᡠᠮᡝᠩᡤᡝ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ。
rendering_speedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝBALANCED
TURBOBALANCEDQUALITY
ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᡠᠯᡤᡝ ᠰᡠᠯᡠ ᠵᠠᠯᠠᠨᠠᠮᠪᡳ᠈
num_imagesᠵᡠᠯᡝ num_outputs
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1
1 – 8
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᠠᠮᠠᠨ.
negative_promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ
ᠪᡠᠶᡝᠮᡝ ᡳ ᠪᡳᠰᡳ ᡤᠠᠳᠠᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᠪᡳ᠈ ᠪᡝᠶᡝ ᡥᡡᠯᠠᠨ ᡳ ᠠᠯᡳᠨ ᡩᡝ ᠪᡠᡶᡳ ᠪᡳᠰᡳ᠈
expand_promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
MagicPrompt ᡳ ᡥᡡᠯᠠᠨ ᠪᡝ ᠵᡠᠯᡤᡝᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᠪᡳ᠈
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠮᠠᠨᡤᠠ ᠵᠠᠯᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝᡵᡝ ᠰᡝᡩᡝ.
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠰᡠᡵᠠᠮᡝ ᠠᠨᡩᠠ ᠪᡳᠮᡝ ᠰᠠᡳᠨ᠈ ᠵᡠᠴᡝᠨ ᠵᡠᠰᡝ ᠠᠰᡠᡵᠠᠮᡝ᠉
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/custom-models/generate",
  "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": {
    "model_id": "your-model-id",
    "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"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ outputs[].url ᠰᡠᠯᡠᠨ ᡩᡝ ᠰᡳᡵᡝ ᡶᡳᠯᡝ᠈ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠪᠠᠯᡳ ᠵᡝᠮᡤᡳᠨ GB-ᠪᡳᠶᠠ ᠵᡝᠮᡤᡳᠨ ᠪᡝ ᡝᠮᡠᠯᡝᠮᡝ ᠠᠪᠠᠯᡳ 7 ᡥᠠᠨ ᠰᡳᠯᡤᠠᠨ ᡩᡝ᠈ ᠰᡳᠨᡳ ᠪᠠᠯᠠᠨᠰᡳ ᠵᡠᠶᡝᡵᡝᠨ ᠠᠪᠠᠯᡳ ?storage= ᡩᡝ ᡝᠵᡝᠨ ᡥᠠᠯᠠᠮᡝ᠉
ᡝᠮᡠ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᠮᠣᡩᡝᠯ ᡩᡝtype, url, content_type, width, height ᠮᠠᠩᡤᡳ duration᠈ ᠵᠠᠯᠠᠨ᠈ ᠪᡠᠵᡠᠮᠪᡳ ᠮᠠᠩᡤᡳ ᠵᡝᡵᡤᡳ ᡩᡝᠨᡳ᠈ output ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
images
array of object {url, content_type, file_name, file_size}ᠮᠣᡩᡝᠯ ᠪᡠᠶᡝᠮᡝᠨᡳ ᠤᠯᡥᠠᠨ ᠤᠨᠠᠰᡳᠨ᠉
seed
integerᠮᡠᠶᠠᡥᡡᠨ ᡤᡝᠨᡝᡵᡝᠮᡝ ᡳ ᠰᡝᡵᡝᠩᡤᡝ᠈

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ

AI ᠠᡤᡝᠨᡨᡳ ᡠᠴᡠᠷᡳ᠈ ᡝᡵᡝ ᡩᡝᠪᡝᡵᡳ Markdown ᠰᡳᠨᡩᠠᡵᡳ https://doitong.com/mnc/developers/models/ideogram/custom-models/generate.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt