floyo logo
Powered by
ThinkDiffusion
floyo logo
Powered by
ThinkDiffusion

ComfyUI-WanAnimatePreprocess

1

Last updated
2025-11-27

ComfyUI provides specialized nodes for preprocessing inputs for the WanAnimate model, specifically enhancing video animations through advanced pose detection and segmentation. This tool integrates with the ViTPose model to facilitate efficient face cropping and keypoint extraction, streamlining the animation process.

  • Enables the application of the ViTPose model for accurate pose estimation in animations.
  • Supports the extraction of facial crops and keypoints using SAM2 segmentation for enhanced detail.
  • Integrates YOLO for object detection, allowing for versatile video input processing.

Context

This tool consists of helper nodes designed for ComfyUI, aimed at preprocessing inputs for the WanAnimate model. Its primary function is to enhance video animations by leveraging advanced pose detection techniques, making it easier for users to create dynamic and engaging animations.

Key Features & Benefits

The integration of the ViTPose model allows for precise pose estimation, which is crucial for animations that require accurate human movement representation. Additionally, the ability to extract face crops and keypoints enhances the quality of animations, providing more detail and realism.

Advanced Functionalities

The tool supports the use of both large and huge versions of the ViTPose model, accommodating different user needs based on their hardware capabilities. Users can choose between a single large model or a split version that complies with ONNX file size limitations, ensuring flexibility in model selection.

Practical Benefits

By incorporating these preprocessing nodes, users can significantly improve their workflow in ComfyUI, gaining better control over the animation process. The enhanced accuracy in pose detection and segmentation contributes to higher-quality outputs, ultimately increasing efficiency and effectiveness in animation creation.

Credits/Acknowledgments

This tool is built upon contributions from various authors and is associated with the WanAnimate project. For detailed model information, references to the original models and their respective licenses can be found in the repository links provided.

Inner Nodes

DrawViTPose, OnnxDetectionModelLoader, PoseAndFaceDetection, PoseDetectionOneToAllAnimation, PoseRetargetPromptHelper