Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-lhyNodes > WanAnimate Face Reformer

ComfyUI Node: WanAnimate Face Reformer

Class Name

YoloFaceReformer

Category
lhyNodes/WanAnimate
Author
lihaoyun6 (Account age: 3821days)
Extension
ComfyUI-lhyNodes
Latest Updated
2026-05-31
Github Stars
0.02K

How to Install ComfyUI-lhyNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-lhyNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-lhyNodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

WanAnimate Face Reformer Description

Facial consistency enhancer for videos using YOLO face detection, replacing missing faces with last valid frame.

WanAnimate Face Reformer:

YoloFaceReformer is a specialized node designed to enhance video sequences by ensuring facial consistency across frames. Its primary function is to detect faces in each frame of a video using the YOLO (You Only Look Once) model, specifically trained for face detection. When a frame lacks a detectable face, the node intelligently replaces it with the last valid frame containing a face, thereby maintaining continuity and preventing abrupt visual disruptions. This capability is particularly beneficial in animation and video editing, where maintaining consistent facial presence is crucial for visual coherence. By leveraging the YOLO model's robust detection capabilities, YoloFaceReformer provides a seamless solution for handling frames with missing facial data, ensuring that the output video maintains a smooth and professional appearance.

WanAnimate Face Reformer Input Parameters:

images

This parameter represents the sequence of images or frames from a video that you want to process. The node analyzes each frame to detect faces and ensure continuity. The quality and resolution of these images can impact the accuracy of face detection, so using high-quality inputs is recommended for optimal results.

threshold

The threshold parameter determines the confidence level required for the YOLO model to consider a face detection valid. It is a floating-point value typically ranging from 0 to 1, where higher values mean the model will be more selective, potentially reducing false positives but also possibly missing some faces. Adjusting this threshold allows you to balance between sensitivity and precision based on your specific needs.

batch_size

This parameter specifies the number of frames to process simultaneously. A larger batch size can speed up processing by taking advantage of parallel computation, but it also requires more memory. Choosing an appropriate batch size depends on your system's capabilities and the size of the input images.

enabled

A boolean parameter that determines whether the node should actively process the input images. When set to True, the node performs face detection and continuity correction. If set to False, the node bypasses processing and returns the input images unchanged. This allows for easy toggling of the node's functionality without removing it from the workflow.

WanAnimate Face Reformer Output Parameters:

images

The output is a sequence of images where each frame has been processed to ensure facial continuity. If a frame originally lacked a detectable face, it is replaced with the last valid frame containing a face. This output maintains the visual consistency of the video, making it suitable for further editing or direct use in projects.

WanAnimate Face Reformer Usage Tips:

  • Adjust the threshold parameter to find the right balance between detecting all faces and avoiding false positives. Start with a moderate value and tweak based on the results.
  • Use a batch_size that matches your system's capabilities to optimize processing speed without running into memory issues. Experiment with different sizes to find the most efficient setting.
  • Enable the node only when necessary by using the enabled parameter. This can save processing time when face continuity is not a concern.

WanAnimate Face Reformer Common Errors and Solutions:

" WanAnimate Face Reformer: X frames missing faces, replaced with previous valid frames."

  • Explanation: This message indicates that some frames in the input sequence did not have detectable faces and were replaced with the last valid frame.
  • Solution: If this occurs frequently, consider lowering the threshold to make the model less selective, or check the input images for quality issues that might hinder face detection.

"CUDA out of memory"

  • Explanation: This error occurs when the batch size is too large for the available GPU memory.
  • Solution: Reduce the batch_size to fit within your system's memory limits, or try processing on a machine with more GPU memory.

WanAnimate Face Reformer Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-lhyNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

WanAnimate Face Reformer