Skip to main content
Image-to-animation

Wan — Animate an image

Submit animation task

POST
/services/aigc/image2video/video-synthesis
cURL - Image to animation
curl --location 'https://dashscope-intl.aliyuncs.com/api/v1/services/aigc/image2video/video-synthesis' \
  -H 'X-DashScope-Async: enable' \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "wan2.2-animate-move",
  "input": {
    "image_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250919/adsyrp/move_input_image.jpeg",
    "video_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250919/kaakcn/move_input_video.mp4",
    "watermark": true
  },
  "parameters": {
    "mode": "wan-std"
  }
}'
{
  "request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx",
  "output": {
    "task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx",
    "task_status": "PENDING"
  }
}
Animate a character image by transferring actions and expressions from a reference video. Use it to replicate dances, body movements, and facial expressions — a low-cost alternative to motion capture.

Service modes

wan2.2-animate-move offers two service modes:
ModeValueDescription
Standardwan-stdFaster and cheaper. Good for quick previews and basic animation.
Professionalwan-proSmoother and higher quality, but slower and more expensive.

Input requirements

Character image (image_url):
  • A single front-facing person with an unobstructed face
  • The person should occupy a moderate portion of the frame
  • Format: JPG, JPEG, PNG, BMP, or WEBP
  • Dimensions: 200–4096 px (width and height), aspect ratio 1:3 to 3:1
  • File size: up to 5 MB
Reference video (video_url):
  • A single front-facing person with an unobstructed face
  • Higher resolution and frame rate produce better results
  • Format: MP4, AVI, or MOV
  • Duration: 2–30 seconds
  • Dimensions: 200–2048 px (width and height), aspect ratio 1:3 to 3:1
  • File size: up to 200 MB

Authorizations

string
header
required

DashScope API Key. Create one in the Qwen Cloud console.

Header Parameters

enum<string>
required

Must be set to enable. HTTP requests support only asynchronous processing. Omitting this header returns a "current user api does not support synchronous calls" error.

enable

Body

application/json
enum<string>
required

Model name. Must be wan2.2-animate-move.

wan2.2-animate-move
wan2.2-animate-move
object
required

Input data including the character image and reference video.

object
required

Video generation parameters.

Response

200-application/json
string

Unique request identifier for tracing and troubleshooting.

4909100c-7b5a-9f92-bfe5-xxxxxx
object