Overview
Wan2.2-Animate is a unified model for character animation and replacement with holistic movement and expression replication.
Authentication
This endpoint requires authentication using a Bearer token.
Authorization
string
default: "sk-***********"
required
Your API key in the format: YOUR_API_KEY
Request Body
The image for generating the output.
The video for generating the output.
The positive prompt for the generation.
animate, replace .The mode of the generation. Animate Mode: animate the character in input image with movements from the input video. Replace Mode: replace the character in input video with the character in input image.
480p, 720p . The resolution of the output video.
-1 ~ 2147483647 . The random seed to use for the generation. -1 means a random seed will be used.
Request Example
curl --location 'https://gptproto.com/api/v3/alibaba/wan-2.2/animate' \
--header 'Authorization: sk-**' \
--header 'Content-Type: application/json' \
--data '{
"image": "https://q4.itc.cn/images01/20240320/32e68d20e9f04a9994c7cb3d1ae708cf.jpeg",
"mode": "animate",
"prompt": "",
"resolution": "480p",
"seed": -1,
"video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250704/sclfum/2.mp4"
}'
Response
Status of the task: created, processing, completed, or failed
{
"data" : {
"id" : "4ec5973904e74f31bc9cd4ce94e3878e" ,
"model" : "wan-2.2/animate" ,
"outputs" : [
],
"urls" : {
"get" : "https://gptproto.com/api/v3/predictions/4ec5973904e74f31bc9cd4ce94e3878e/result"
},
"status" : "processing" ,
"error" : "" ,
"executionTime" : 380841 ,
"timings" : {
"inference" : 380841
},
"has_nsfw_contents" : null ,
"created_at" : "2025-11-07T02:35:15.34950574Z"
},
"message" : "success" ,
"code" : 200
}
401 - Invalid signature
403 - Invalid Token
403 - Insufficient balance
500 - Internal server error
503 - Content policy violation
{
"error" : {
"message" : "Invalid signature" ,
"type" : "401"
}
}