ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Wan 2.5 Text to Image

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id wan-25-preview/text-to-image
# 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/wan-25-preview/text-to-image?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"

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

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ

Wan 2.5 ᡳ ᠮᠠᠨᠵᡠ ᠠᡳ ᡝᠩᡤᡳᠯᡝ ᡥᡡᠯᠠᠨ ᡩᡝ ᠵᡠᠯᡝᠮᡝ ᡤᠠᠳᠠᠨ ᠪᡝ ᠪᡠᠶᡝᠮᡝ᠂ ᡝᠮᡠ ᡤᡝᠪᡠᠩ ᡩᡝ 4 ᡤᠠᠳᠠᠨ ᡩᡝ ᠵᡠᠯᡝ

Doitong ᡩᡝ ᠪᡠᠶᡝᠮᡝ

Doitong ᡤᡝᠮᡠᠨᡳ Wan 2.5 ᡩᡝ ᠵᠠᠯᠠᠨ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᡤᡳᠯᠠᠨ ᡩᡝ ᡩᠠᡵᠠᠮᡝ

ᡤᡝᠮᡠᠨᡳ ᠵᡠᠯᡤᡝ ᠵᠠᠯᠠᠨ: 2
Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... ᠰᡠᠨᡤᠠ

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... ᠰᡠᠨᡤᠠ

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кухне, мужчина — в комнате и прихожей. Атмосфера обычной советской семьи перед приходом гостей. Голоса: все персонажи говорят по-русски с естественным, выразительным одесским говором. Характерная...

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ

ᠤᠯᡥᡳᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᡳ ᡥᡡᠯᠠᠨ, ᠵᡠᠯᡝ 2000 ᡤᡳᠰᡠᠨ, ᠵᡠᠯᡝ ᠵᡝᠮᡝ ᠵᡝᠮᡝ ᡳᠯᡝᠮᡝ ᠵᡝᠮᡝ ᠰᡳᠨᡳ ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ.

image_size ᠵᡠᠯᡝ square

ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ᠂ 768×768 ᡩᡝᠴᡳ 1440×1440 ᡩᡝ ᠪᠠᠶᠠᠨ ᡳ ᡶᡠᠯᡳᠨ ᠨᡠᠮᡝᡵᡠᠨ ᠪᠠ 1:4 ᡩᡝᠴᡳ 4:1 ᡳ ᡤᠠᡵᡤᠠᠨ ᠪᠠᡳᠴᡳᠨᠠᠮᠪᡳ᠉ ᠵᠠᠯᠠᠨ ᡳ ᠵᠠᠯᠠᠨ ᠪᡝ ᠮᡠᡩᠠᠨ ᠵᠠᠰᡳᠮᡝ ᠪᡝ ᠵᡝᠮᡠ ᡩᡝ ᠵᡝᠨᡠ ᠵᠠᠭᠠᠨ ᠵᠠᡴᡠᠨ ᠠᡴᡳ ᠵᠠᠰᡳᠮᡝ᠂ ᠮᡳᠨᡳ 'square' ᠠᡴᡳ 'landscape_16_9' ᡴᡝᠮᡠᠨᡳ ᠰᡝᠯᡤᡳᠶᡝᠨ ᠵᡠᠯᡝ ᠵᠠᡴᡠᠨ ᠪᡝ ᠰᠣᠩᡤᠣᠮᠪᡳ᠉

num_images ᠵᡠᠯᡝ 1

ᠤᠯᡥᡳᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᡠᠯᡤᠠᠨ, 1 ᠵᡝᠪᡝ 4.

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

ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ ᠠᠴᠠᠨ ᠠᠰᡥᠠᠮᡝ ᠪᡝ ᠪᡠᠮᡝ, ᠵᡠᠯᡝ 500 ᡤᡳᠰᡠᠨ.

ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠰᡳᠮᡝ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉ None ᡩᡝ ᠪᡳᠮᡝ ᠪᠠᠨᠵᡳᠨ ᡤᠣᠯᠣᠮᡝ᠉

POST /run/wan-25-preview/text-to-image?wait=20 ᠵᠠᠯᡳᠨ → $0.05
# 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/wan-25-preview/text-to-image?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"

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

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

Wan 2.5 Text to Image ᡠᡵᡝᠮᡝ

ᠨᡳᡴᠠᠨ ᡝᡳᡨᡝ ᡳᠩᡤᡳᡵᡳ ᡤᡳᠰᡠᠨ ᡳ 2000 ᡥᡝᡵᡤᡝᠨ ᡳ ᡩᠣᠯᠣ ᠪᡳᠰᡳᡵᡝ ᠪᡳᡨᡥᡝ ᡳ `prompt` ᡩᡝᡵᡳ ᡤᠠᠳᠠᠨ ᠪᡝ ᠪᠠᠨᠵᡳᠪᡠᠮᠪᡳ᠉ `num_images` ᡳ ᡨᠣᠨ 1 ᡩᡝᡵᡳ 4 ᡩᡝ ᡳᠰᡳᡨᠠᠯᠠ᠂ `image_size` ᡩᡝ ᠵᡠᠯᡝ ᡨᠣᡴᡨᠣᠪᡠᡥᠠ ᡝᡳᡨᡝ ᡨᡝᠨ ᡩᡠᠰᡳᠨ ᠪᡝ ᠪᠠᡥᠠᠪᡠᠮᠪᡳ᠂ ᡠᠪᡝ ᡩᡠᠰᡳᠨ 768x768 ᡩᡝᡵᡳ 1440x1440 ᡳ ᠰᡳᡩᠠᠨ ᡩᡝ ᠪᡳ᠉ LLM ᠪᡝ ᠪᠠᡳᡨᠠᠯᠠᠮᡝ ᡥᡡᠯᠠᠨ ᠪᡝ ᡩᠠᠰᠠᠮᡝ ᠠᡵᠠᡵᡝ ᡥᡡᠯᠠᠨ ᡴᡝᡴᡩᡝᡵᡝ ᠪᠠᡳᡨᠠ ᠵᡠᠯᡝ ᡩᡝᡵᡳ ᠨᡝᡳᡥᡝᠪᡳ᠉ ᡤᡝᠯᡝ `negative_prompt` ᠪᠠ `seed` ᠪᡝ ᠪᠠᡳᡨᠠᠯᠠᠴᡳ ᠣᠮᠪᡳ᠉

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᠤᠯᡥᡳᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᡳ ᡥᡡᠯᠠᠨ, ᠵᡠᠯᡝ 2000 ᡤᡳᠰᡠᠨ, ᠵᡠᠯᡝ ᠵᡝᠮᡝ ᠵᡝᠮᡝ ᡳᠯᡝᠮᡝ ᠵᡝᠮᡝ ᠰᡳᠨᡳ ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ.
negative_promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring | null
ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ ᠠᠴᠠᠨ ᠠᠰᡥᠠᠮᡝ ᠪᡝ ᠪᡠᠮᡝ, ᠵᡠᠯᡝ 500 ᡤᡳᠰᡠᠨ.
num_imagesᠵᡠᠯᡝ num_outputs
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1
1 – 4
ᠤᠯᡥᡳᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᡠᠯᡤᠠᠨ, 1 ᠵᡝᠪᡝ 4.
image_sizeᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝsquare
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ᠂ 768×768 ᡩᡝᠴᡳ 1440×1440 ᡩᡝ ᠪᠠᠶᠠᠨ ᡳ ᡶᡠᠯᡳᠨ ᠨᡠᠮᡝᡵᡠᠨ ᠪᠠ 1:4 ᡩᡝᠴᡳ 4:1 ᡳ ᡤᠠᡵᡤᠠᠨ ᠪᠠᡳᠴᡳᠨᠠᠮᠪᡳ᠉ ᠵᠠᠯᠠᠨ ᡳ ᠵᠠᠯᠠᠨ ᠪᡝ ᠮᡠᡩᠠᠨ ᠵᠠᠰᡳᠮᡝ ᠪᡝ ᠵᡝᠮᡠ ᡩᡝ ᠵᡝᠨᡠ ᠵᠠᠭᠠᠨ ᠵᠠᡴᡠᠨ ᠠᡴᡳ ᠵᠠᠰᡳᠮᡝ᠂ ᠮᡳᠨᡳ 'square' ᠠᡴᡳ 'landscape_16_9' ᡴᡝᠮᡠᠨᡳ ᠰᡝᠯᡤᡳᠶᡝᠨ ᠵᡠᠯᡝ ᠵᠠᡴᡠᠨ ᠪᡝ ᠰᠣᠩᡤᠣᠮᠪᡳ᠉
enable_prompt_expansionᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
LLM ᡳ ᡥᡡᠯᠠᠨ ᠵᠠᠰᡳᠮᡝ᠂ ᠵᡝᠯᡤᡳ ᡤᡝᠪᡠᠨ ᡩᡝ ᠵᠠᡴᡠᠨ ᠵᡠᠯᡝᠮᡝ ᠪᠠᡳᠴᡳᠨᠠᠮᠪᡳ᠉
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠰᡳᠮᡝ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉ None ᡩᡝ ᠪᡳᠮᡝ ᠪᠠᠨᠵᡳᠨ ᡤᠣᠯᠣᠮᡝ᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠮᡠᠯᠠᠨ ᡶᡳᠯᡝᠮᡝᠨᡳ ᠵᠠᠰᡳᠮᡝ. ᠪᡝ ᠣᠴᡳ ᠪᠠᠯᠠᠨᠰᡳᠨᡳ ᠪᠠᠨᠵᡳᠨ ᠠᠰᡠᠮᠪᡳ. ᡝᡵᡝ ᠪᠠᠨᠵᡳᠨ ᠠᡴᡡ ᠣᠴᡳ ᠵᠠᡴᡠᠨ ᡶᡝᠨᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᡝ ᠪᠠᠨᠵᡳᠮᡝ; true ᠪᡝ ᠵᠠᠰᡳᠮᡝ.
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-25-preview/text-to-image",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "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,
        "width": 1024,
        "height": 768
      }
    ],
    "seeds": [
      42
    ],
    "actual_prompt": "A lone samurai standing on the edge of a cliff at twilight, overlooking a vast valley shrouded in mist. The sky burns with deep orange and purple hues from the setting sun, casting long, dramatic shadows. The samurai’s silhouette glows against the horizon, with their sword reflecting a glint of fading light. The overall style is hyper-realistic, cinematic, and moody, with dramatic contrast and atmospheric depth."
  },
  "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, width, height}ᠮᠣᠳᡝᠯ ᠪᡠᠶᡝᠮᡝᠨᡳ ᠤᠯᡥᠠᠨ ᡤᠠᠳᠠᠨ᠉
seeds
array of integerᠵᡠᠯᡤᠠᠨ ᡳ ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ ᠪᡠᠶᡝᠮᡝ ᡳ ᠠᠯᡳᠨ ᡤᠠᠳᠠᠨ.
actual_prompt
string | nullᠵᠠᠯᡠ ᠪᡳᠮᠪᡝᡵᡝ ᡩᡝ ᠠᠰᡥᠠᠮᡝ ᡥᡡᠯᠠᠨ.

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

AI ᠠᡤᡝᠨᡨᡳ ᡠᠴᡠᠷᡳ᠈ ᡝᡵᡝ ᡩᡝᠪᡝᡵᡳ Markdown ᠰᡳᠨᡩᠠᡵᡳ https://doitong.com/mnc/developers/models/wan-25-preview/text-to-image.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt