Replace or insert a subject into an existing video. Give it the clip and up to three reference images of who should appear, and it preserves the original motion, timing and audio.
p-video-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": "p-video-replace",
"input": {
"video": "https://example.com/clip.mp4",
"images": "https://example.com/photo.jpg"
}
}'6 fields in input, required first.
videoRequiredSource video URL.
imagesRequiredReference image URLs for replacement. Supports 1 to 3 images.
fpsOptionalTarget output frame rate.
promptOptionalInstruction describing how the reference image should be placed into the video.
resolutionOptionalOutput video resolution.
save_audioOptionalSave the output video with audio.
$0.90 / secSwap the character in a video for someone else.
$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.
$0.625 / secUse Wan 2.2 Animate to replace a character in a video scene

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