ComfyUIRHDreamID-V

January 7, 2026 ยท View on GitHub

ComfyUI Plugin License Python

A ComfyUI plugin for DreamID-V, enabling high-fidelity video face swapping powered by Diffusion Transformer technology.

โœจ Features

  • ๐ŸŽญ High-Fidelity Face Swapping: Advanced video face swapping using Diffusion Transformer
  • ๐ŸŽฌ Video-Driven: Use video as motion/pose driver
  • ๐Ÿ–ผ๏ธ Reference Image: Single face image as identity reference
  • ๐Ÿ”ง ComfyUI Integration: Seamlessly integrated into ComfyUI workflows

๐Ÿ“‹ Nodes

This plugin provides two core nodes:

Node NameDescription
RunningHub_DreamID-V_LoaderLoad the DreamID-V model pipeline
RunningHub_DreamID-V_SamplerExecute video face swapping sampling

๐Ÿ› ๏ธ Installation

  1. Install ComfyUI Manager
  2. Search for ComfyUI_RH_DreamID-V in ComfyUI Manager
  3. Click Install

Method 2: Manual Installation

  1. Navigate to ComfyUI's custom_nodes directory:
cd ComfyUI/custom_nodes
  1. Clone this repository:
git clone https://github.com/HM-RunningHub/ComfyUI_RH_DreamID-V.git
  1. Install dependencies:
cd ComfyUI_RH_DreamID-V
pip install -r requirements.txt

๐Ÿ“ฆ Model Downloads & Configuration

This plugin requires the following model files (refer to Official Model Preparation Guide):

ModelsDownload LinkNotes
DreamID-V๐Ÿค— HuggingfaceSupports 480P & 720P
Wan-2.1๐Ÿค— HuggingfaceVAE & Text encoder

1. Wan2.1-T2V-1.3B Base Model

Download from: ๐Ÿค— Huggingface - Wan2.1-T2V-1.3B

Place the files in the following directory:

ComfyUI/models/Wan/Wan2.1-T2V-1.3B/
โ”œโ”€โ”€ models_t5_umt5-xxl-enc-bf16.pth
โ”œโ”€โ”€ Wan2.1_VAE.pth
โ””โ”€โ”€ google/umt5-xxl/  (tokenizer folder)

2. DreamID-V Model

Download from: ๐Ÿค— Huggingface - DreamID-V

Place the file in the following directory:

ComfyUI/models/DreamID-V/
โ””โ”€โ”€ dreamidv.pth

Complete Model Directory Structure

ComfyUI/
โ””โ”€โ”€ models/
    โ”œโ”€โ”€ Wan/
    โ”‚   โ””โ”€โ”€ Wan2.1-T2V-1.3B/
    โ”‚       โ”œโ”€โ”€ models_t5_umt5-xxl-enc-bf16.pth
    โ”‚       โ”œโ”€โ”€ Wan2.1_VAE.pth
    โ”‚       โ””โ”€โ”€ google/
    โ”‚           โ””โ”€โ”€ umt5-xxl/
    โ””โ”€โ”€ DreamID-V/
        โ””โ”€โ”€ dreamidv.pth

๐Ÿš€ Usage

  1. Add the RunningHub_DreamID-V_Loader node in ComfyUI to load the model
  2. Add the RunningHub_DreamID-V_Sampler node
  3. Connect the following inputs:
    • pipeline: Model pipeline from the Loader node
    • video: Driving video (containing motion/pose)
    • ref_image: Reference face image
  4. Configure parameters:
    • size: Output size (832480 or 1280720)
    • frame_num: Number of frames (must be 4n+1, e.g., 81)
    • sample_steps: Sampling steps (default: 20)
    • fps: Frame rate (default: 24)
    • seed: Random seed

โš™๏ธ Parameters

ParameterDescriptionDefault
sizeOutput video resolution832*480
frame_numNumber of output frames (4n+1)81
sample_stepsDiffusion sampling steps20
fpsOutput video frame rate24
seedRandom seed42

๐Ÿ’ป System Requirements

  • GPU: NVIDIA GPU with VRAM >= 16GB recommended
  • Python: 3.8 or higher
  • CUDA: 11.7 or higher
  • ComfyUI: Latest version

๐Ÿ“ Dependencies

  • torch >= 2.0.0
  • torchvision >= 0.15.0
  • easydict
  • numpy
  • Pillow
  • opencv-python
  • decord
  • tqdm
  • mediapipe

๐Ÿ™ Acknowledgements

  • DreamID-V - Original project by ByteDance
  • Wan Team - Wan video generation model
  • ComfyUI - Powerful Stable Diffusion GUI

๐Ÿ“„ License

This project is licensed under the Apache-2.0 License.

โš ๏ธ Disclaimer

This project is for educational and research purposes only. Please ensure compliance with relevant laws and regulations when using this tool. Do not use it for illegal purposes or to infringe upon the rights of others.


If you find this project helpful, please give it a โญ Star!