Skip to main content
POST
/
api
/
v3
/
alibaba
/
wan-2.2
/
animate
wan-2.2-animate (video to video)
curl --request POST \
  --url https://api.example.com/api/v3/alibaba/wan-2.2/animate
Qwen’s GPTProto format for the video to video API.
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"
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
imagestring❌ No-The image for generating the output.
videostring❌ No-The video for generating the output.
promptstring❌ No-The positive prompt for the generation.
modestring❌ Noanimateanimate, 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.
resolutionstring❌ No-1480p, 720p . The resolution of the output video.
seedinteger❌ No720p-1 ~ 2147483647 . The random seed to use for the generation. -1 means a random seed will be used.