뒤로
Wan2.1 VACE Inpainting - After
Wan2.1 VACE Inpainting - Before

The Wan2.1 VACE Inpainting workflow is designed to seamlessly edit specific regions in video content while preserving the integrity of the surrounding areas. This is particularly useful for tasks such as object removal or replacement in video sequences. Utilizing the Wan2.1 model, this workflow leverages a combination of nodes including KSampler for sampling, CLIPTextEncode for text encoding, and VAEDecode for decoding video frames. The workflow is structured into several steps, starting from loading models and video files, to creating masks and compositing the final video output.

Technically, the workflow employs the WanVaceToVideo node to convert inpainted frames back into video format, while the TrimVideoLatent and CreateVideo nodes manage the video length and format. The ImageCompositeMasked node is crucial for blending the inpainted regions with the original video, ensuring a natural look. By using core nodes, the workflow avoids the need for additional custom installations, making it accessible and easy to implement. This workflow is particularly valuable for content creators and video editors who need to make precise edits without affecting the overall quality of the video.