VACE Subject Replace! Replace Anything in Videos with Wan2.1+VACE — SubjectReplacerV1
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
- Access
- External workflow
- Status
- Listed
- Version
- WanWrapperVaceSubjectReplace.json
- Source
- Civitai
- Updated
- Nov 3, 2026
Source description
No release description captured.
What you need
- Model files
- 1.5 GiB known subtotal
Remaining hardware or download-size estimates are not available yet.
Requirements
Models
14depth_anything_v2_vitl.pth
Not resolvedCheckpoint · Unknown
Checkpoint · 129 MB · PT · Unknown
- Not resolved
VAE · Hugging Face · flux/flux_vae.sft
Diffusion model · Hugging Face · flux/flux1-dev.sft
instantX-Flux-Union.safetensors
Not resolvedOptionalControlNet · Unknown
juggernautXL_juggXIByRundiffusion.safetensors
Not resolvedCheckpoint · Unknown
sai_xl_depth_256lora.safetensors
Not resolvedControlNet · Unknown
sam2.1_hiera_large.safetensors
Not resolvedVision model · Unknown
Unresolved model selection: DualCLIPLoader
Not resolvedOptionalText encoder · Unknown
Wan2_1_VACE_1_3B_preview_bf16.safetensors
File specifiedCheckpoint · 1.37 GB · Hugging Face · Kijai/WanVideo_comfy
Wan2_1-T2V-1_3B_bf16.safetensors
Not resolvedCheckpoint · Unknown
wrapper_umt5-xxl-enc-bf16.safetensors
Not resolvedText encoder · Unknown
wrapper_Wan2_1_VAE_fp32.safetensors
Not resolvedVAE · Unknown
yolox_l.onnx
Not resolvedCheckpoint · Unknown
Node packs
11comfyroll
Not resolvedNode pack · Registry
comfyui_controlnet_aux
PossibleNode pack · Registry
comfyui_essentials
FoundNode pack · Registry
comfyui_layerstyle
FoundNode pack · Registry
- Found
Node pack · Registry
comfyui-videohelpersuite
FoundNode pack · Registry
ComfyUI-WanVideoWrapper
FoundNode pack · Registry
Fast Groups Bypasser (rgthree)
Not resolvedNode pack · Unknown
GetNode
Not resolvedNode pack · Unknown
segment-anything-2
Not resolvedNode pack · Registry
SetNode
Not resolvedNode pack · Unknown
AI-generated commentary
AI-generated explanation based on source and configuration details. Suggestions are clearly labeled.
Purpose
This workflow is for replacing a subject in a video: provide a video, and it can produce a video with that subject replaced using Wan2.1+VACE.
Inputs and outputs
Input: a video. Output: a video with the subject replaced.
Setup
It is listed as a workflow and uses Wan Video as its base model.
Dependencies
The listed node packs are comfyroll, comfyui_controlnet_aux, comfyui_essentials, comfyui_layerstyle, comfyui-kjnodes, comfyui-videohelpersuite, ComfyUI-WanVideoWrapper, and segment-anything-2.
The listed model files include flux/flux_vae.sft, flux/flux1-dev.sft, instantX-Flux-Union.safetensors, juggernautXL_juggXIByRundiffusion.safetensors, and sai_xl_depth_256lora.safetensors.
Other listed model files are sam2.1_hiera_large.safetensors, wan/Wan2_1_VACE_1_3B_preview_bf16.safetensors, wan/Wan2_1-T2V-1_3B_bf16.safetensors, and wan/wrapper_Wan2_1_VAE_fp32.safetensors.
Configuration
To move beyond the gray-background approach, consider adding depth, openpose, or inverted lineart.
Suggestion · not verified
Cautions
Before setup, verify which package provides comfyui_controlnet_aux.
Suggestion · not verified
Before use, check that every listed model file is available under its exact filename.
Suggestion · not verified
Does this need to be edited?
Sign in to send an edit request.
Sources
1 source
Sources
1 sourceWorkflow instructions
Author notes from WanWrapperVaceSubjectReplace.json · selected release
https://huggingface.co/Kijai/WanVideo_comfy/tree/main Download the Wan2_1_VACE_1_3B_preview_bf16.safetensors file and put it into ComfyUI>models>diffusion_models, then select it in the "WanVideo VACE Model Select" The rest of the models are the same as base Wan2.1. If you do not already have Wan2.1 Setup, GO TO THIS LINK AND WATCH THE VIDEO: https://youtu.be/D4VLXF4ZNq0?si=2c3ekxuDbKbc5m-K
Author notes from WanWrapperVaceSubjectReplace.json · selected release
<- To learn how to use this click the tool tip!
Author notes from WanWrapperVaceSubjectReplace.json · selected release
DO NOT USE MASK BLURRING. VACE doesn't handle the blurring properly and you'll be left with artifacts
Author notes from WanWrapperVaceSubjectReplace.json · selected release
You can use any pre-processor you'd like, I'm using Depth here. DWPose, Canny, Lineart, all work as expected.
Author notes from WanWrapperVaceSubjectReplace.json · selected release
The flux group takes a lot of VRAM, if you are strugging with that, you can use SD15 or SDXL instead Flux model: https://huggingface.co/black-forest-labs/FLUX.1-dev Flux Clips (Text Encoders): https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main For flux, make sure to download flux union controlnet. https://huggingface.co/Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro/tree/main If you want to use the SDXL controlnet, just make sure to switch the "controlnet image" node SDXL Model: https://civitai.com/models/133005/juggernaut-xl SDXL Controlnets: https://huggingface.co/lllyasviel/sd_control_collection/tree/main Put the controlnets in the models > controlnet folder
Author notes from WanWrapperVaceSubjectReplace.json · selected release
You can use any pre-processor you'd like, I'm using lineart here. DWPose, Canny, Lineart, all work as expected.
Download files
Model artifacts
2 artifacts
Model artifacts
2 artifactsvaceSubjectReplaceReplace_subjectreplacerv1.zip
zip · 13.8 KB · SHA-256 88cc3f81e6b6…4c57 · Civitai
Download fileSource excerpts
3 excerpts
Source excerpts
3 excerptsSource context: 2073 downloads · Type Workflows · Base model Wan Video
Source context: 2013 downloads · Type Workflows · Base model Wan Video
Source context: 1940 downloads · Type Workflows · Base model Wan Video
