Skip to content
WorkflowListedExternal
Download

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.

TaskMultiCapabilitiesImage to image · Text to imageFamilyWanVersionRelease 1663316 — WanWrapperVaceSubjectReplace.jsonEstimated VRAMNot yet characterizedUnratedgrade

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

14
  • depth_anything_v2_vitl.pth

    Not resolved

    Checkpoint · Unknown

  • Checkpoint · 129 MB · PT · Unknown

  • flux/flux_vae.sft

    Not resolved

    VAE · Hugging Face · flux/flux_vae.sft

  • flux/flux1-dev.sft

    Not resolvedOptional

    Diffusion model · Hugging Face · flux/flux1-dev.sft

  • instantX-Flux-Union.safetensors

    Not resolvedOptional

    ControlNet · Unknown

  • juggernautXL_juggXIByRundiffusion.safetensors

    Not resolved

    Checkpoint · Unknown

  • sai_xl_depth_256lora.safetensors

    Not resolved

    ControlNet · Unknown

  • sam2.1_hiera_large.safetensors

    Not resolved

    Vision model · Unknown

  • Unresolved model selection: DualCLIPLoader

    Not resolvedOptional

    Text encoder · Unknown

  • Checkpoint · 1.37 GB · Hugging Face · Kijai/WanVideo_comfy

  • Wan2_1-T2V-1_3B_bf16.safetensors

    Not resolved

    Checkpoint · Unknown

  • wrapper_umt5-xxl-enc-bf16.safetensors

    Not resolved

    Text encoder · Unknown

  • wrapper_Wan2_1_VAE_fp32.safetensors

    Not resolved

    VAE · Unknown

  • yolox_l.onnx

    Not resolved

    Checkpoint · Unknown

Node packs

11
  • comfyroll

    Not resolved

    Node pack · Registry

  • comfyui_controlnet_aux

    Possible

    Node pack · Registry

  • comfyui_essentials

    Found

    Node pack · Registry

  • comfyui_layerstyle

    Found

    Node pack · Registry

  • Node pack · Registry

  • comfyui-videohelpersuite

    Found

    Node pack · Registry

  • ComfyUI-WanVideoWrapper

    Found

    Node pack · Registry

  • Fast Groups Bypasser (rgthree)

    Not resolved

    Node pack · Unknown

  • GetNode

    Not resolved

    Node pack · Unknown

  • segment-anything-2

    Not resolved

    Node pack · Registry

  • SetNode

    Not resolved

    Node 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
CivitaiPrimaryVersion 1663316
civitai.com/models/1470557

Verified Nov 3

Workflow 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

vaceSubjectReplaceReplace_subjectreplacerv1.zip

zip · 13.8 KB · SHA-256 88cc3f81e6b6…4c57 · Civitai

Download file

WanWrapperVaceSubjectReplace.json

json · 70.1 KB · SHA-256 896702f756c1…073d

Download file

Source excerpts

3 excerpts

Source 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