Wan 2.2 Animate API reference
Drive a character photo with a reference video
Call Wan 2.2 Animate from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in USD, and a request you can paste into a terminal.
At a glance
- Made by
- Alibaba
- Output
- Video
- From
- $0.053 USD per second of output
- Typical time
- about 233 s
Prices are in USD, charged to your PopNow balance. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.
Motion Control
alibaba/wan-2.2-animate/character-animation
Price
| Option | USD |
|---|---|
480p | $0.053 per second of output |
720p | $0.11 per second of output |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
image_urlRequired | string | — | — | Character image. The person in this image is the one that gets animated. |
video_urlRequired | string | — | — | Driving video, 2 to 30 seconds long; upload an MP4, or pass an MP4 or MOV URL. Its motion is transferred to the character and its length sets the output length. Videos outside that range are rejected before any charge. |
animation_modeOptional | string | animate | animate, replace | animate drives the character in the image with the motion of the driving video; replace swaps the person in the driving video for the one in the image. |
resolutionOptional | string | 720p | 480p, 720p | Output video resolution. |
promptOptional | string | — | up to 2,000 characters | Optional description of the motion, used to guide animation style and content. |
seedOptional | integer | — | 0 to 2147483647 | Random seed; zero requests a random seed. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
The example uses PopNow sample files in image_url, video_url. Replace them with your own public HTTPS links, uploads or saved assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "alibaba/wan-2.2-animate/character-animation",
"input": {
"prompt": "The person dances with relaxed, natural movement",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"resolution": "720p"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
