Skip to content

Why does Wan replacement preprocessing need a background and mask video in addition to pose and face tracks?

The official replacement example uses separate preprocessed inputs for motion, face cues, background and target mask. The basic animation example uses pose and face tracks to guide a different output. Check that the intended inference mode consumes the corresponding preparation outputs.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Confirm all files came from the same approved source

Compare frame count, dimensions and a shared movement cue. Inspect the mask in an occluded frame.

Run the route that matches the saved inputs

Keep a manifest naming the four media inputs and their expected roles. Do not infer that a motion-only export preserves the original scene.

Example

A cached animation prep folder already contains pose and face files but has no background or target mask for a new replacement request.

Pass condition

The replacement job uses the complete verified input set for the chosen shot.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation