infery
← All models

Wan-2.2 Animate Replace

wan-v2.2-14b-animate-replace

Video editby Alibaba

Wan-Animate Replace is a model that can integrate animated characters into reference videos, replacing the original character while preserving the scene’s lighting and color tone for seamless environmental integration.

Example

Details

Accepts
image + video

Pricing

Price
10 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility. If None, a random seed is chosen.
shiftnumberShift value for the video. Must be between 1.0 and 10.0.
image_urlrequiredstringURL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
use_turbobooleanIf true, applies quality enhancement for faster generation with improved quality. When enabled, parameters are automatically optimized for best results.
video_urlrequiredstringURL of the input video.
resolutionstringenum: 480p, 580p, 720pResolution of the generated video (480p, 580p, or 720p).
video_qualitystringenum: low, medium, high, maximumThe quality of the output video. Higher quality means better visual quality but larger file size.
guidance_scalenumberClassifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
video_write_modestringenum: fast, balanced, smallThe write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size.
return_frames_zipbooleanIf true, also return a ZIP archive containing per-frame images generated on GPU (lossless).
num_inference_stepsintegerNumber of inference steps for sampling. Higher values give better quality but take longer.
enable_safety_checkerbooleanIf set to true, input data will be checked for safety before processing. Disabling it requires account authorization; unauthorized requests are always checked.
enable_output_safety_checkerbooleanIf set to true, output video will be checked for safety after generation.

Output

FieldTypeDescription
seedintegerThe seed used for generation
videoThe generated video file.
promptstringThe prompt used for generation (auto-generated by the model)
frames_zipZIP archive of generated frames (if requested).