25-09-01-WANDETAILER_COMPARE_00004.mp4

Workflow

You can download the JSON file below and load it into ComfyUI.

JSON: **https://drive.google.com/file/d/19zrIKCujhFcl-E7DqLzwKU-7BRD-MpW9/view?usp=drive_link**

Version without Subgraph (JSON): **https://drive.google.com/file/d/1H52Kqz6UzGQtWDQ_p7zPiYvwWNgKulSx/view?usp=drive_link**

A subgraph version has also been added to the JSON.

image.png

However, the subgraph may not work correctly depending on the environment, so further validation is needed.

Main Explanation

image.png

The structure is basically similar to Impact-Pack’s FaceDetailer, so it uses many nodes from Impact-Pack.

Initially, I tried using KJNodes’ Crop-Uncrop, but I wasn’t able to handle multiple people well with it, so I switched approach.

The workflow is mainly divided into input image preparation, masking, and detailing.

Since input image processing covers video upscaling or VFI, I will omit that and focus on masking and detailing.

Masking

image.png

For detection, the workflow mainly uses the Simple Detector for Video (SEGS) node.

Originally, the SAM2 Video Detector node was considered, but due to several limitations, I abandoned that approach.

Most settings can remain default. The method of pasting differs depending on whether you add only bbox or bbox+masking_mode.