Skip to main content
POST
/
api
/
v3
/
alibaba
/
wan-2.2
/
animate
Video to Video
curl --request POST \
  --url https://gptproto.com/api/v3/alibaba/wan-2.2/animate \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "image": "<string>",
  "video": "<string>",
  "prompt": "<string>",
  "mode": "<string>",
  "resolution": "<string>",
  "seed": 123
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

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

image
string
The image for generating the output.
video
string
The video for generating the output.
prompt
string
The positive prompt for the generation.
mode
string
default:"animate"
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.
resolution
string
default:"-1"
480p, 720p . The resolution of the output video.
seed
integer
default:"720p"
-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

data.id
string
task id
data.status
string
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
}
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}