Animate any character image using a reference/guiding video — transfer motion, swap characters, or recreate performances with your own subject. Powered by the Wan2.1 14B SCAIL V2 model with SAM3 for pose detection and subject isolation.
⚠️ Custom Node Disclaimer
This workflow heavily utilizes custom nodes. Manually modifying the ComfyUI file system or improperly managing node installations can break your ComfyUI environment. Ensure you understand how to manage dependencies and custom node directories before altering the underlying installation to prevent conflicts or system instability.
If you are unfamiliar with these topics, please make a backup of your ComfyUI setup before installing new nodes or updating ComfyUI. For beginners, I generally recommend using the portable version, as it is easier to maintain and back up.
Prerequisites
⚠️ ComfyUI nightly — this workflow uses newer core nodes that might not be available in the stable release yet depending on when you read this.
The following custom node packs, all updated to their latest version:
KJNodes
ComfyUI Essentials
rgthree-comfy
ComfyUI-Frame-Interpolation (for the RIFE interpolation group)
Key Features
Motion transfer / character swap: animate your character with the motion from any reference video, supports single and multiple characters.
SAM3 subject isolation: isolate specific subjects from the guiding video using a simple text description.
Replacement mode (character swap): optionally replace the original character within the guiding video instead of generating a standalone clip.
Batched generation: handles long videos via overlapping batch windows for smooth, seamless output.
LoRA support: A Power LoRA node allows you to easily add character, concept and style Wan2.1 compatible LoRAs.
High-res fix pass: a second sampling pass at a higher resolution for improved detail.
NVIDIA VSR upscaling: GPU-accelerated video upscaling.
RIFE VFI interpolation: smooth out the frame rate with RIFE frame interpolation.
Audio: carries the original audio through to the final output, or a custom audio from an audio file or video source.
COMFYUI SECURITY ERROR FIX
If you hit a security level error while trying to install the ComfyUI_NVIDIA_RTX_Nodes custom node from ComfyUI manager:
You need to temporarily change the security level in your config.ini file.
If you are using the portable version, the file is located at:
ComfyUI/user/__manager/config.iniChange the value to:
security_level = weak
IMPORTANT:
Do NOT forget to restore it back to its original value. It is safe to temporarily lower the security level for this node since it comes directly from the ComfyUI team, but you should restore it afterward for safety reasons.
Perform a hard restart of ComfyUI (completely stop it, then start it again).
Install the custom node using ComfyUI manager and double-check that it is the official one. The link should point to:
https://github.com/Comfy-Org/Nvidia_RTX_Nodes_ComfyUIRestart ComfyUI and check if the node works properly.
If you encounter a dependency error, keep reading...Once everything is working properly, restore your original security level in the config.ini file and restart ComfyUI one final time.
COMFYUI PORTABLE DEPENDENCY ERROR FIX
If you hit a dependency error trying to run the Nvidia VSR node, try this:
Create a backup of your embedded Python directory, in case you break something you can restore your embedded directory later using this backup. Then run the following command:
python -m pip install -U --no-build-isolation nvidia-vfx --index-url https://pypi.nvidia.com
Run the command in your embedded Python directory.
For example: D:\ComfyUI\python_embeded.
This command is designed for CMD. If you're using PowerShell, replace the initial python with .\python.exe.
Detailed instructions are contained in the workflow itself:
Red nodes are instructions and useful notes.
Yellow nodes are configurable elements you can adjust to your needs.

