戻る
Change Any Objects

The 'Change Any Objects' workflow in ComfyUI is designed to enable users to seamlessly replace or alter objects within a video using simple text prompts or optional reference images. This workflow leverages advanced inpainting techniques, utilizing models like SAM3 and Wan2.1 VACE, to achieve precise object masking and replacement. The process begins with loading video inputs and setting up the necessary configurations using nodes like VHS_LoadVideo and WanVideoDecode. The SAM3 model is crucial for video segmentation and object masking, allowing users to specify which objects to alter through intuitive prompts. Once the objects are identified, the Wan2.1 VACE model takes over to inpaint and replace these objects with new content derived from the user's prompts or reference images. This combination of models and nodes provides a powerful tool for video editing, enabling creative transformations without the need for extensive manual editing.