Refine and enhance the quality of small faces in MiniMax H3 videos through a dedicated custom node set in ComfyUI. This tool addresses the challenge of poor face rendering when heads occupy a small portion of the frame, employing per-frame face tracking, cropping, and recompositing for improved visual fidelity.
- Utilizes advanced face detection and cropping techniques to ensure that small faces are rendered with higher detail.
- Features a robust tracking system that maintains continuity even when subjects move or are occluded.
- Offers several customizable parameters for face selection, smoothing, and denoising to adapt to various video scenarios.
Context
This tool is a custom node set designed for ComfyUI, specifically aimed at refining small faces in videos processed by the MiniMax H3 model. It addresses the inherent limitations of face rendering when the head occupies a small fraction of the frame, which can occur even at higher resolutions like 720p and above.
Key Features & Benefits
The custom node set includes features that allow for per-frame face detection, cropping, and recompositing. This ensures that small faces are enlarged to fill the canvas, allowing the H3 model to generate them at a higher quality. Additionally, the tool provides a user-friendly interface for selecting and tracking faces, ensuring a smooth workflow.
Advanced Functionalities
The tool provides advanced functionalities such as identity tracking, where users can specify a reference image to maintain continuity across frames. It also integrates PySceneDetect for detecting hard cuts in videos, allowing for more accurate tracking and refining of faces during transitions. The system is capable of handling both photographic and illustrated faces through different identity models.
Practical Benefits
By implementing this tool, users can significantly enhance the quality of small faces in their videos, improving overall visual fidelity and viewer engagement. The ability to track and refine faces consistently leads to a more polished final product, making it an invaluable addition to any ComfyUI user's workflow.
Credits/Acknowledgments
This tool builds upon the foundational work of the ComfyUI-Impact-Pack's FaceDetailer, adapted for video processing. Key contributors include Carasibana for the primary development, along with various collaborators who have improved its functionality. The project is licensed under the MIT License, ensuring open access for users.




