Use Wan 2.2 Animate to replace a character in a video scene
wan-2-2-animate-replaceThe price changes with the length of the audio or video you send and the resolution. The estimate call returns the exact figure for your input, free.
API keys come with the Scale and Ultra plans
The smallest request that works: the required fields only.
curl https://api.percify.io/v3/playground/v1/run \
-H "Authorization: Bearer $PERCIFY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"modelId": "wan-2-2-animate-replace",
"input": {
"video": "https://example.com/input.mp4",
"character_image": "https://example.com/input.webp"
}
}'8 fields in input, required first.
videoRequiredInput video containing the character to be replaced.
character_imageRequiredNew character image to replace the original character.
resolutionOptionalResolution for processing.
go_fastOptionalApply additional optimizations for faster generation.
seedOptionalRandom seed. Leave blank for random.
merge_audioOptionalMerge audio from input video into output.
refert_numOptionalNumber of reference frames to use (must be 1 or 5. Deprecated, will always be set to 1.
frames_per_secondOptionalFrames per second for output video. Deprecated, will always be set to 30.
$0.90 / secSwap the character in a video for someone else.
$0.65 / secReplace or insert a subject into an existing video.
$0.875 / secKling 2.6: animate a subject with motion control for cinematic video.
$1.75 / secKling 3.0 motion control: transfer motion from a reference video to any character image with improved consistency and quality.

Pick a use case, run it in the playground, copy the call.
API keys come with the Scale and Ultra plans