About Wan 2.2 Animate
The Wan 2.2 Animate API has a single character animation endpoint: identity from image_url, motion from video_url, output length equal to the driving clip. Jobs typically take around six minutes. It works with illustrated and rendered characters, which makes it useful for games, mascots and animation tools.
Call it with the model name alibaba/wan-2.2-animate/character-animation on POST /jobs/createTask, from $0.053.
Introduction
Wan 2.2 Animate turns an approved character image and a separate motion reference into a new character-performance clip. Use it when appearance and movement have already been decided in different assets, rather than asking one source to supply both.
PopNow exposes the animate mode. With animation_mode set to animate, the character from your image follows the motion of the driving video; the character image provides the appearance and setting. The output follows the driving video’s length, from 2 to 30 seconds, at 480p or 720p.
Key features
A clean A-pose is worth more than a long prompt
The published reference plate is the kind of image this endpoint wants: whole body in frame, neutral A-pose, seamless backdrop, even light. Everything the output looks like comes from that image. A cropped or heavily occluded plate limits every clip you will ever make from it, and no prompt recovers it.
The clip is as long as the source, up to 30 seconds
The output is as long as the driving video, which must run 2 to 30 seconds, so a two-minute source has to be trimmed first.
Check the likeness at 480p before paying for 720p
The published clip is that same plate driven by a reference video: same burgundy top, same wide-leg trousers, now mid-turn.
Request parameters
| Parameter | Required | Description |
|---|---|---|
animation_mode | No | Move the person in your picture, or put them into the video in place of someone else. animate · replace · Default: animate |
image_url | Yes | The picture to start from. |
prompt | No | Describe what you want to make. |
resolution | No | Choose an available output size. 480p · 720p · Default: 720p |
seed | No | Use the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647 |
video_url | Yes | The clip to work on. |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per second |
|---|---|
| resolution 480p | $0.053 |
| resolution 720p | $0.11 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
Use cases
Animate an approved character
Combine an approved character image with a driving video to create a new performance clip. Use the image to establish the character and background, and the video as the movement reference.
Short loops from one character sheet
Up to 30 seconds covers a feed loop, a sticker or a reaction clip. Keep one plate and swap driving videos to build a library of gestures, such as a wave, a turn or a shrug, that all read as the same character because they share the same reference image.
Dance and performance routines
A character plate plus a driving video of the routine you want: wardrobe and build stay fixed by the plate while timing, weight and camera come from the footage. What bounds the work is ownership: you need the rights to both the plate and the driving video, and you are responsible for how the result is used.
Testing a plate before a longer render
Run a five-second 480p transfer to see whether a new character plate holds its face, hands and silhouette under motion.
Prompt guide & pro tips
Build the character plate
Whole body in frame, neutral pose, plain backdrop, even light. This image decides the face, the wardrobe and the proportions of every clip you drive with it, so it is worth generating and rejecting a few before you commit. If no face or person can be found in it, the task is rejected with invalid_request.
Use the prompt for style, not identity
prompt is optional and takes up to 2000 characters. It guides the animation style and content; identity belongs to the character image. Fix seed when you want to compare two runs over the same driving video.
Check the result before iterating
Both inputs are required and not interchangeable: identity comes from the image, motion from the video. In animate mode the setting stays with the character image; in the reference run the driving video was shot in a kitchen and the result stayed on the plate's grey studio backdrop, with only the movement and camera carried across. A longer source is not compressed, so trim it before you upload.
API quick start
Call the Wan 2.2 Animate API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model alibaba/wan-2.2-animate/character-animation and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
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: $IDEMPOTENCY_KEY" \
-d '{
"model": "alibaba/wan-2.2-animate/character-animation",
"input": {
"animation_mode": "animate",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"resolution": "720p"
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
What to build with the Wan 2.2 Animate API
- Mascot animation: one character sheet driven by a library of stored motion clips.
- Game and VTuber tools that preview a character design in motion.
- Dance features on illustrated avatars.
Wan 2.2 Animate parameter notes
- image_url and video_url are both required and not interchangeable.
- The driving clip must run 2 to 30 seconds.
- resolution is 480p or 720p; there is no aspect_ratio field.
- animation_mode selects how the motion is applied; seed allows repeatable runs.
How Wan 2.2 Animate API pricing adds up
Billed per second of delivered video, which equals the driving clip length; 720p costs about twice 480p.
- resolution 480p, 5-second clip: $0.265 each, $26.50 for 100 clips
- resolution 720p, 5-second clip: $0.55 each, $55.00 for 100 clips
Async jobs, webhooks and rate limits
Every Wan 2.2 Animate request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for alibaba/wan-2.2-animate/character-animation never runs or bills twice.
Common Wan 2.2 Animate API errors
| errorCode | What it usually means and how to fix it |
|---|---|
invalid_asset | A driving clip outside 2 to 30 seconds, or a character image without a visible full body. |
timeout | Jobs often take around six minutes. Wait for the webhook. |
invalid_request | Missing image_url or video_url. |
Wan 2.2 Animate API questions
How much does the Wan 2.2 Animate API cost?
Wan 2.2 Animate costs $0.053 per second. Prices by option: 480p $0.053 per second, 720p $0.11 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What is the model name for Wan 2.2 Animate in the API?
Put alibaba/wan-2.2-animate/character-animation for Motion Control in the model field of POST /jobs/createTask.
How long do Wan 2.2 Animate API jobs take?
Typically about six minutes.
Does the prompt affect the Wan 2.2 Animate result?
Identity comes from the image and motion from the video; the request needs no prompt.
Can I animate a cartoon character?
Yes, illustrated characters with a clear full body work well.
What are the limits of the Wan 2.2 Animate API?
Resolutions: 480p · 720p; Prompt length (characters): 2,000; Largest upload: 90 MB; Longest input clip: 30 s. Requests outside these limits are rejected before anything is charged.
Can I try Wan 2.2 Animate without writing code?
Run Wan 2.2 Animate in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.
All Wan models
Kling 3.0 Motion Control does the same job at up to 1080p for the most polished result.
- Wan 3.0 APIUp to 30-second clips with synced audioFrom $0.215 for a 5-second clip
- Wan 3.0 Prime APIQuicker Wan 3.0 renders, up to 30 seconds with audioFrom $0.29 for a 5-second clip
- Wan 3.0 Pro Prime APIQuicker Wan 3.0 Pro with 2K and 4K outputFrom $1.17 for a 5-second clip
- Wan 3.0 Pro APIWan 3.0 at 1080p, 2K or 4K, up to 30 secondsFrom $0.72 for a 5-second clip
- Wan 2.7 Pro APILarge 4K canvases and nine-image compositesFrom $0.075 per image
- Wan 2.7 APIThinks through the composition, then draws up to four imagesFrom $0.03 per image
- Wan 2.6 Flash APIQuick multi-shot clips from a single imageFrom $0.1125 for a 5-second clip
- Wan 2.6 APIMulti-shot sequences with sound at up to 1080pFrom $0.325 for a 5-second clip
- Wan 2.5 API1080p clips with sound that can follow your own audioFrom $0.225 for a 5-second clip
- Wan 2.2 Animate APIDrive a character photo with a reference videoFrom $0.053 per second
- Wan 2.2 LoRA APIWan 2.2 video with your LoRAs on either expert passFrom $0.12 for a 5-second clip
- Wan 2.2 APISimple five-second clips at 480p or 720pFrom $0.24 per run
- Wan 2.2 5B LoRA APILight 720p Wan 2.2 clips that load your own LoRAsFrom $0.12 per run
- Wan 2.2 Image LoRA APIWan 2.2 stills with up to nine LoRAs across three slotsFrom $0.03 per image
- Wan 2.1 LoRA APIWan 2.1 video and edits with your own LoRAs, camera moves includedFrom $0.24 per run
- Wan 2.1 Image LoRA APIPhotoreal Wan 2.1 stills and restyles with your LoRAsFrom $0.03 per image