Face Detailer ComfyUI: A Practical Setup and Debugging Guide

Face Detailer ComfyUI: A Practical Setup and Debugging Guide

Published on

0

views

Set up face detailer ComfyUI workflows with practical detector, denoise, and masking guidance, plus troubleshooting tips for stills and video frames.

The quickest way to set up face detailer ComfyUI is to add the FaceDetailer node from ComfyUI Impact Pack after your image generation step, connect a compatible face detector and diffusion model, and send its output to a preview. Start with a moderate denoise value, inspect the detected face region, and change one setting at a time. It can recover detail in a small face, but it can also change identity or create flicker across video frames.

What the node actually does

FaceDetailer detects a face, crops the relevant area, enlarges it for another diffusion pass, and blends the processed region back into the original image. The detector identifies where to work; the diffusion model supplies the new detail. A better detector does not automatically mean a more faithful face.

For a basic face detailer ComfyUI graph, you need a generated or loaded image, a compatible checkpoint and its model, CLIP and VAE connections, positive and negative conditioning, and a bounding-box detector. Impact Pack provides the detailer and related nodes. Detector availability depends on the installed extensions and model files; Impact Subpack and an Ultralytics face-detection model are common starting points. Follow the repositories' installation instructions for your particular versions rather than assuming every detector is included.

The easiest first test is a single still image with one clearly visible face. Feed the original image into both a preview and the detailer path, then preview the result separately. That gives you an immediate comparison without rerunning the initial generation.

Install and connect face detailer ComfyUI nodes

Install ComfyUI Impact Pack using ComfyUI Manager if it is available in your setup, or follow the project's manual installation instructions. Install any required dependencies and detector extension, then restart ComfyUI. Search the node menu for FaceDetailer and a compatible detector provider. If either is missing, read the startup console before rebuilding your graph: an import error can prevent a custom node from loading.

Illustration for face detailer comfyui

Connect the image to FaceDetailer. Connect the checkpoint's MODEL, CLIP and VAE outputs and the positive and negative conditioning used for the original image. Supply a face detector through the appropriate detector input. Optional inputs vary by node version; leave optional segmentation-related inputs disconnected for the first pass unless your installed node requires them.

If the detector provider has a model selector, choose an installed face-detection model. Its expected directory and supported formats depend on the provider. A missing model in the dropdown is usually a file-location or installation issue, not a sampling problem. Refresh or restart as directed by the extension after adding the file.

Connect the detailer's image output to Preview Image or Save Image. Exact input names and widgets can change between releases, so use the socket types and documentation for your installed version. Save the graph once it runs; a screenshot alone does not preserve its connections.

Starting settings and what to change

For an initial face detailer ComfyUI pass, try a denoise value around 0.25 to 0.35, roughly 20 sampling steps, and a fixed seed such as 12345. These are starting values, not measured optimums. Use the same sampler and scheduler as the source workflow when possible, and keep the original prompt and conditioning connected while you establish a baseline.

Denoise controls how much the crop is allowed to change. If skin and eyes remain muddy, raise it in small increments. If the person starts looking different, lower it. A fixed seed makes those comparisons easier to interpret, although changing other settings or software versions can still change the result.

Guide size controls the working scale of the detected region; the detailer also has a maximum-size limit. A larger working crop can give the model more pixels to work with, but it costs memory and may invent detail that the original image never contained. Start with the node's defaults, then increase the guide size only if the face is still too small to resolve. Avoid treating a larger number as a guaranteed improvement.

Detector threshold determines how confident the detector must be before it accepts a region. If no face is found, lower the threshold cautiously and inspect what gets selected. If background objects are selected as faces, raise it. Bounding-box dilation and crop settings change how much surrounding context is included; too tight can clip hair or a chin, while too loose can alter nearby features.

Visual context for face detailer comfyui

Fix the common failures

When face detailer ComfyUI produces no visible change, first confirm that the detector found a face and that the detailer's output, not the original image, reaches the preview. Then check whether denoise is very low or the detected region is too small. A profile, occlusion, or heavily stylized face may simply be difficult for a particular detector; try another compatible face model before rewriting the prompt.

A visible seam suggests a crop or blending problem. Give the face more surrounding context and adjust the available feathering or mask controls gradually. If the neck, hairline, or glasses keep changing, inspect the selected area and reduce denoise before trying a stronger prompt. A separate segmentation model can provide a more specific mask, but it adds another dependency and another possible failure point.

Out-of-memory errors call for a smaller working size or fewer simultaneously loaded models. Close other GPU-heavy applications and consider ComfyUI's memory-management options for your setup. Moving work to system memory can reduce VRAM pressure, but may increase runtime. There is no universal VRAM requirement: the checkpoint, image size, crop size, extensions, and batch size all matter.

Using it on Wan video frames

A still-image face detailer ComfyUI graph is not automatically a temporally stable video workflow. Processing frames independently can change eye shape, skin texture, or expression from one frame to the next, even with the same seed. A detector may also miss individual frames or produce boxes that move around the face.

Test a short frame sequence before processing a full Wan2.2 render. Preserve frame order and frame rate, and compare the original and processed sequence at normal playback speed. Check cuts, head turns, partial occlusions, and frames where the face is smallest. If the result flickers, lower denoise and inspect detection consistency; neither adjustment guarantees temporal stability. For demanding shots, a workflow designed for temporal consistency or a manual compositing pass may be more appropriate.

Save enough information to reproduce the result

This guide describes a setup to try, not a benchmark: no particular GPU, software version, render time, or VRAM result is claimed here. For your own run, record the GPU and available VRAM, ComfyUI and extension versions, checkpoint and detector filenames, input resolution, seed, sampler, scheduler, steps, denoise, and detailer settings. Save the input, output, and workflow JSON together.

Change one variable per comparison and keep a failed output when it explains a problem. The settings are part of the result. If you can't reproduce it, it's not a workflow.

Last updated:

Share:

Leave a comment

Related Articles