Type | Workflows |
Stats | 1,604 |
Reviews | (56) |
Published | Sep 7, 2024 |
Base Model | |
Hash | AutoV2 EDB2B0F546 |
Version to Download
v3.1 is a minor update to this workflow for users who have 16GB of VRAM. It generates the whole dance video in a single workflow.
v4.0 of this workflow splits the workflow up into 5 parts to limit the VRAM usage to 12GB. Hopefully this opens the workflow up to a bigger group of users.
ComfyUI Version
This workflow was tested on ComfyUI v0.21 and should not have package conflicts when installing custom nodes from manager: https://github.com/comfyanonymous/ComfyUI/releases/tag/v0.2.1
Introduction
This workflow uses Mimic Motion to generate the motion of the character and animate diff to create a 16 frame looping video of the background. Grounding Dino is then used to composite the character and background together. Best used with a driving video where the camera is static and all the motion is done by the dancer.
The motivation is to leverage the strengths of both models to create as consistent a video as possible.
Limitations
If you watch the video above, you will realise that the dancer's interaction with her hair is not animated properly. The is due to the fact that Mimic Motion takes as input Open Pose information. If the depth information is used as well, the interaction with her hair would be animated properly.
Nodes
Nodes are colour coded:
Red: These models must be downloaded and placed in the appropriate folders. After downloading, refresh ComfyUI and ensure the correct models are selected.
Green: These nodes are models that will be automatically downloaded
Blue: These are user inputs, either a video with the original dance moves or a prompt / setting.
Brown: These are comments that should explain what is going on with the workflow.
Please use ComfyUI manager to install the missing nodes. These are the custom nodes that are used by the workflow:
ComfyUI Impact Pack
ComfyUI's ControlNet Auxiliary Preprocessors
ComfyUI Frame Interpolation
AnimateDiff Evolved
ComfyUI-VideoHelperSuite
ReActor Node for ComfyUI
rgthree's ComfyUI Nodes, ComfyUI Essentials
ComfyUI-MimicMotionWrapper
segment anything
Comfyui lama remover
Models
Some models automatically download, some models are downloaded using ComfyUI manager and others have to be downloaded and placed in their respective folders manually.
AnimateLCM: https://huggingface.co/wangfuyun/AnimateLCM Put AnimateLCM_sd15_t2v.ckpt in "models/animatediff_models" and put AnimateLCM_sd15_t2v_lora.safetensors in "models/loras"
SD1.5 Checkpoint: you can use your favourite depending on the type of video you are generating (realistic / anime). I use Realistic Vision as I am aiming for a realistic generation.
control_v11p_sd15_openpose.safetensors. Download with ComfyUI manager
MimicMotion, Segment Anything, Grounding Dino, ReActor models should download automatically
Please follow the instructions in the Troubleshooting section (https://github.com/Gourieff/comfyui-reactor-node) if you are having troubles installing insightface