ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Wan 2.5 Image to Image

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id wan-25-preview/image-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/image-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",
    "images": [
      "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"

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

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ

Wan 2.5 ᡳ ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ ᠵᠠᠰᠠᠮᡝ᠂ ᡝᠮᡠ ᠠᡳ ᡩᠣᠰᡳᠮᡝ ᡤᠠᠳᠠᠨ ᠪᡝ ᠵᡠᠯᡝᠮᡝ ᠪᡠᠮᡝ

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_urls
ᠪᡠᠮᠪᡳ ᡝᠮᡠ ᡩᠠᡵᠠᠮᡝ

ᡤᠠᠳᠠᠨ ᡳᠯᡤᠠᠨ ᡳ ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ; ᠠᠮᠪᠠ ᠪᡳᠴᡳ ᠵᡠᠯᡝ 2 ᠠᠰᡥᠠᠮᡝ. ᠵᠠᠯᡠ ᡤᠠᠳᠠᠨ ᠪᡝ 1 ᠪᡳᠮᠪᡳ; ᠮᡠᠶᠠ ᡤᠠᠳᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝ 2 ᠪᡝ ᠠᠰᡥᠠᠮᡝ.

image_size ᠵᡠᠯᡝ square

ᠪᡠᠶᡝᠮᡝ ᡳ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ ᠪᡝ ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ; ᡝᡵᡝ ᡳ ᠮᡠᠶᠠᠨ 384–1440 ᠫᡳᡴᠰᡝᠯ.

num_images ᠵᡠᠯᡝ 1

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

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

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

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

POST /run/wan-25-preview/image-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/image-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",
    "images": [
      "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"

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

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

Wan 2.5 Image to Image ᡠᡵᡝᠮᡝ

ᡤᠠᠳᠠᠨ ᠪᡝ 2000 ᡩᡝ ᠵᡠᠯᡝ ᡥᡡᠯᠠᠨ `prompt` ᡳ ᠵᡠᠯᡝᠮᡝ ᠵᡠᠯᡝᠮᡝ ᠵᠠᠰᠠᠮᡝ. `image_urls` ᡳ ᡝᠮᡠ ᠵᡠᠴᡝ ᡩᡝ ᡝᠮᡠ ᠠᡳ ᡳᠯᠠᠨ ᠵᡠᠴᡝ ᡩᡝ ᠵᡠᠯᡝ ᠵᡠᠯᡝ ᠪᡠᠮᡝ; ᡳᠯᠠᠨ ᠵᡠᠴᡝ ᠣᠴᡳ ᠠᠰᡠ ᠪᡝ ᠪᡝᠶᡝ ᠣᠮᡝ. `image_size` ᡳ 6 ᠵᡠᠯᡝᠮᡝ ᠵᡠᠯᡝᠨᡳ 384 ᡩᡝ 1440 ᡩᡝ. ᡝᠮᡠ ᡤᡝᠪᡠᠩ ᡩᡝ 1 ᡩᡝ 4 ᡤᠠᠳᠠᠨ ᠪᡠᠮᡝ᠂ `negative_prompt` ᠠᡳ `seed` ᡳ ᡤᡠᠩᠰᡝ ᠪᡳᠰᡳᠨᠠ᠉

ᠵᠠᡴᡠᠨ

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

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᠵᡝᠮᡝ ᠵᡝᠮᡝ ᠵᡝᠮᡝ ᠪᡳᠮᡝ ᡤᠠᠳᠠᠨ ᡳ ᡥᡡᠯᠠᠨ, ᠵᡠᠯᡝ 2000 ᡤᡳᠰᡠᠨ.
image_urlsᡴᠠᠷᠠᡴᡡ images
ᡠᠯᠠᠮᡝurl[] · image
ᡤᠠᠳᠠᠨ ᡳᠯᡤᠠᠨ ᡳ ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ; ᠠᠮᠪᠠ ᠪᡳᠴᡳ ᠵᡠᠯᡝ 2 ᠠᠰᡥᠠᠮᡝ. ᠵᠠᠯᡠ ᡤᠠᠳᠠᠨ ᠪᡝ 1 ᠪᡳᠮᠪᡳ; ᠮᡠᠶᠠ ᡤᠠᠳᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝ 2 ᠪᡝ ᠠᠰᡥᠠᠮᡝ.
negative_promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring | null
ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ ᠠᠴᠠᠨ ᠠᠰᡥᠠᠮᡝ ᠪᡝ ᠪᡠᠮᡝ, ᠵᡠᠯᡝ 500 ᡤᡳᠰᡠᠨ.
image_sizeᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝsquare
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ᠪᡠᠶᡝᠮᡝ ᡳ ᡤᠠᠳᠠᠨ ᡳ ᠵᠠᠯᠠᠨ ᠪᡝ ᠵᡝᠮᡝ ᠪᡳᠮᠪᡳ; ᡝᡵᡝ ᡳ ᠮᡠᠶᠠᠨ 384–1440 ᠫᡳᡴᠰᡝᠯ.
num_imagesᠵᡠᠯᡝ num_outputs
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1
1 – 4
ᠤᠯᡥᡳᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᡠᠯᡤᠠᠨ, 1 ᠵᡝᠪᡝ 4.
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠰᡳᠮᡝ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉ None ᡩᡝ ᠪᡳᠮᡝ ᠪᠠᠨᠵᡳᠨ ᡤᠣᠯᠣᠮᡝ᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠮᡠᠯᠠᠨ ᡶᡳᠯᡝᠮᡝᠨᡳ ᠵᠠᠰᡳᠮᡝ. ᠪᡝ ᠣᠴᡳ ᠪᠠᠯᠠᠨᠰᡳᠨᡳ ᠪᠠᠨᠵᡳᠨ ᠠᠰᡠᠮᠪᡳ. ᡝᡵᡝ ᠪᠠᠨᠵᡳᠨ ᠠᡴᡡ ᠣᠴᡳ ᠵᠠᡴᡠᠨ ᡶᡝᠨᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᡝ ᠪᠠᠨᠵᡳᠮᡝ; true ᠪᡝ ᠵᠠᠰᡳᠮᡝ.
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠮᠪᡳᠯᡝᠰᡝ ᡝᠮᡠ ᡤᡝᠮᡠᠨᡳ https:// URL᠈ 10 MB ᡩᡝ ᡩᡝᠷᡤᡳ data: URI ᠵᡝᡵᡤᡳ ᡝᠮᡝ᠈ ᡳᠨᡝ ᠪᡠᠮᠪᡳᠯᡝᠰᡝᠨᡳ file_url ᠠᠪᠠᠮᠪᡳ ᠪᡠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-25-preview/image-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",
    "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,
        "width": 1024,
        "height": 768
      }
    ],
    "seeds": [
      42
    ],
    "actual_prompt": "Reimagine the scene under a raging thunderstorm at night: lightning forks across the sky, illuminating the samurai in stark flashes of white light."
  },
  "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/image-to-image.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt