Перейти к основному содержанию
Дата обновления: 2026-06-07

Wan Video

The Wan family currently uses different public contracts by capability:
  • Text-to-video (wan2.5-t2v-preview, wan2.2-t2v-plus): submit with POST /v1/video/generations and query with GET /v1/video/generations/{task_id}.
  • Image-to-video, first-last-frame, and subject-reference video: submit with the Ali Bailian-compatible POST /alibailian/api/v1/services/aigc/video-generation/video-synthesis path and query with GET /alibailian/api/v1/tasks/{task_id}.
Do not submit wan2.2-t2v-plus to /alibailian/api/v1/services/aigc/video-generation/video-synthesis. Production rejects that model on the Ali-compatible path with invalid_request and tells clients to use /v1/video/generations.
For Ali-shaped workflows, see the full request and task-query schema in Ali Bailian Video API. This page closes the first batch of public Wan models, capabilities, billing truth, and recommended protocol.

First-Batch Models

ModelCustomer-facing capabilityOfficial billing truthCurrent state
wan2.5-t2v-previewtext-to-videoper secondverified
wan2.5-i2v-previewimage-to-videoper secondverified
wan2.2-t2v-plustext-to-videoper secondverified
wan2.2-i2v-plusimage-to-videoper secondverified
wan2.2-i2v-flashimage-to-videoper secondverified
wan2.2-kf2v-flashfirst-last-frame videoper secondBeta
wan2.2-s2vsubject-reference videoper secondBeta
wan2.2-kf2v-flash and wan2.2-s2v are already aligned in code and billing capability buckets, but their live artifact closure is still in progress, so they remain Beta.

Capabilities And Official Prices

ModelCapability bucketResolutionOfficial price
wan2.5-t2v-previewtext-to-video480P / 720P / 1080P¥0.30 / ¥0.60 / ¥1.00 / sec
wan2.5-i2v-previewimage-to-video480P / 720P / 1080P¥0.30 / ¥0.60 / ¥1.00 / sec
wan2.2-t2v-plustext-to-video480P / 1080P¥0.14 / ¥0.70 / sec
wan2.2-i2v-plusimage-to-video480P / 1080P¥0.14 / ¥0.70 / sec
wan2.2-i2v-flashimage-to-video480P / 720P / 1080P¥0.10 / ¥0.20 / ¥0.48 / sec
wan2.2-kf2v-flashfirst-last-frame video480P / 720P / 1080P¥0.10 / ¥0.20 / ¥0.48 / sec
wan2.2-s2vsubject-reference video480P / 720P¥0.50 / ¥0.90 / sec

Protocol Conventions

1. Text-to-video

  • Recommended submit path: POST /v1/video/generations
  • Recommended query path: GET /v1/video/generations/{task_id}
  • Key fields: model, prompt, seconds, size
  • Typical models: wan2.5-t2v-preview, wan2.2-t2v-plus

2. Image-to-video

  • Key field: input.img_url
  • Typical models: wan2.5-i2v-preview, wan2.2-i2v-plus, wan2.2-i2v-flash

3. First-last-frame video

  • Key fields: input.first_frame_url, input.last_frame_url
  • Typical model: wan2.2-kf2v-flash

4. Subject-reference video

  • Key field: input.image_url
  • Typical model: wan2.2-s2v

Request Examples

Text-to-video: Wan 2.5

cURL
curl -X POST https://api.crazyrouter.com/v1/video/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "wan2.5-t2v-preview",
    "prompt": "A cinematic seaside sunset with a slow camera push-in",
    "seconds": "5",
    "size": "1280*720"
  }'

Text-to-video: Wan 2.2 T2V Plus

cURL
curl -X POST https://api.crazyrouter.com/v1/video/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "wan2.2-t2v-plus",
    "prompt": "A calm cinematic shot of clouds over mountains",
    "seconds": "5",
    "size": "480P"
  }'

Image-to-video

cURL
curl -X POST https://api.crazyrouter.com/alibailian/api/v1/services/aigc/video-generation/video-synthesis \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "wan2.5-i2v-preview",
    "input": {
      "prompt": "Make the subject turn toward the camera",
      "img_url": "https://example.com/first-frame.png"
    },
    "parameters": {
      "resolution": "720P",
      "duration": 5,
      "prompt_extend": true,
      "audio": true
    }
  }'

First-last-frame video

{
  "model": "wan2.2-kf2v-flash",
  "input": {
    "prompt": "A smooth transition from day to night",
    "first_frame_url": "https://example.com/frame-start.png",
    "last_frame_url": "https://example.com/frame-end.png"
  },
  "parameters": {
    "resolution": "720P",
    "duration": 5
  }
}

Subject-reference video

{
  "model": "wan2.2-s2v",
  "input": {
    "prompt": "Animate the reference portrait with light natural speaking motion",
    "image_url": "https://example.com/portrait.png",
    "audio_url": "https://example.com/voice.mp3"
  },
  "parameters": {
    "resolution": "720P",
    "duration": 5
  }
}

Task Retrieval

Wan remains an async task family. Query with the matching route for the submit contract. Text-to-video:
GET /v1/video/generations/{task_id}
Ali-compatible image-to-video, first-last-frame, and subject-reference workflows:
GET /alibailian/api/v1/tasks/{task_id}
When output.task_status reaches success, use output.video_url as the final video result.

Scope Notes

  • The current recommended customer-facing contract for Wan text-to-video is /v1/video/generations, not the Ali Bailian-compatible submit path.
  • The Ali Bailian-compatible path is primarily for image-to-video, first-last-frame, subject-reference, and other Ali-shaped migration workflows.
  • Crazyrouter can internally route to official, ApiPass, Kie, or other third-party providers, but those providers do not define customer protocols.
  • Beta rows can still be shown publicly now; after launch, use production task logs to close live evidence and then remove the Beta label.