Replace any subject in a video! This could also be enhanced by incorporating depth/openpose/inverted lineart in the workflow instead of just a gray background.
Runtime profile
Source description
Replace any subject in a video! This could also be enhanced by incorporating depth/openpose/inverted lineart in the workflow instead of just a gray background.
Full tutorial is here!
Estimated VRAM requirement
Estimate unavailable
Model file sizes are not complete enough to calculate this requirement yet.
Requirements
17 requirementsAI-generated commentary
AI-generated explanation based on source and configuration details. Suggestions are clearly labeled.
Use this workflow to replace any subject in a video with Wan2.1+VACE. It takes a video and produces a video with the subject replaced.
The graph includes VHS_LoadVideo, Sam2Segmentation, WanVideoVACEEncode, WanVideoSampler, WanVideoDecode, and VHS_VideoCombine nodes.
The graph provides VHS_LoadVideo and LoadImage for inputs, with VHS_VideoCombine, PreviewImage, and SaveImage for output handling.
The listed base model is Wan Video.
The workflow lists comfyroll, comfyui_controlnet_aux, comfyui_essentials, and comfyui_layerstyle as node packs. It also lists comfyui-kjnodes, comfyui-videohelpersuite, ComfyUI-WanVideoWrapper, and segment-anything-2.
Listed model files include flux/flux_vae.sft, flux/flux1-dev.sft, instantX-Flux-Union.safetensors, and juggernautXL_juggXIByRundiffusion.safetensors. The list also includes sai_xl_depth_256lora.safetensors, sam2.1_hiera_large.safetensors, wan/Wan2_1_VACE_1_3B_preview_bf16.safetet
The remaining listed model files are wan/Wan2_1-T2V-1_3B_bf16.safetensors and wan/wrapper_Wan2_1_VAE_fp32.safetensors.
Consider incorporating depth, openpose, or inverted lineart instead of using only a gray background.
Suggestion · not verified
The graph includes DepthAnythingV2Preprocessor, DWPreprocessor, and LineArtPreprocessor.
Before use, verify which package provides comfyui_controlnet_aux and whether wan/wrapper_Wan2_1_VAE_fp32.safetensors is available under that exact name.
Suggestion · not verified
Does this need to be edited?
Sign in to send an edit request.
Sources
1 sourceSource excerpts
1 excerptSource context: 1940 downloads · Type Workflows · Base model Wan Video
VAE · Hugging Face · flux/flux_vae.sft
Checkpoint · Hugging Face · flux/flux1-dev.sft
instantX-Flux-Union.safetensors
Not resolvedControlNet · Unknown
juggernautXL_juggXIByRundiffusion.safetensors
Not resolvedCheckpoint · Unknown
sai_xl_depth_256lora.safetensors
Not resolvedControlNet · Unknown
sam2.1_hiera_large.safetensors
ConflictCheckpoint · Unknown
segment-anything-2
Not resolvedSegmentation · Registry
wan/Wan2_1_VACE_1_3B_preview_bf16.safetensors
Not resolvedCheckpoint · Hugging Face · wan/Wan2_1_VACE_1_3B_preview_bf16.safetensors
wan/Wan2_1-T2V-1_3B_bf16.safetensors
Not resolvedCheckpoint · Hugging Face · wan/Wan2_1-T2V-1_3B_bf16.safetensors
wan/wrapper_Wan2_1_VAE_fp32.safetensors
Not resolvedVAE · Hugging Face · wan/wrapper_Wan2_1_VAE_fp32.safetensors
comfyroll
Not resolvedNode pack · Registry
comfyui_controlnet_aux
PossibleNode pack · Registry
Node pack · Registry
Node pack · Registry
Node pack · Registry
Node pack · Registry
Node pack · Registry