Fooocus detailerFix
The ADetailer-style face rescue, as a pipe node
- pipe
- model
- pipe
- image
Small faces in SDXL output look like they were painted by someone wearing mittens. Every photoreal workflow eventually hits this, and the standard fix is ADetailer-style detailing: detect the face, crop it, run a fresh sampling pass on that region at proper resolution, paste it back. In this pack, that's Fooocus detailerFix - the node that actually executes the fix, after you've configured it and fed it a detector.
What it does
It's the execution end of the pack's detailing pipeline (the same detect-crop-refine loop that Impact Pack's FaceDetailer made famous in ComfyUI). A face that's 80x80 pixels in a 1024x1024 frame gets 80x80 worth of model attention and comes out mangled; this node crops that region, re-samples it properly, and composites the result back in. Where FaceDetailer bundles its own config, this pack splits the job: Fooocus preDetailerFix holds all the settings, the Fooocus ultralyticsDetectorPipe supplies the face/body detector, and this node just runs the pass on the pipe.
The inputs
- pipe - the pipeline carrying your image through the fix. Required.
- model (optional) - override the checkpoint used for the fix pass; defaults to whatever's in the pipe.
- image_output -
Hide,Preview,Save,Hide/Save, plusSenderandSender/Save. The Sender variants broadcast the result on a link_id for other parts of the graph, which is this pack borrowing the Easy-Use convention. - link_id - which channel to send on when using Sender modes.
- save_prefix - filename prefix if you're saving.
Outputs: pipe and image, so you can chain the next step or hang an output off the end.
Installing
Pack install - ComfyUI Manager, search "Fooocus Nodes", or clone the repo. The real cost is downstream: to use this node you need a detector pipe (from Fooocus ultralyticsDetectorPipe) and usually the SAM pipe too, and both pull model weights on first use - YOLO face/body weights and the SAM segmentation model. That's where the multi-gigabyte surprise lives, not in this node itself. And because the detector ecosystem here is Ultralytics-flavoured, remember the 2024 supply-chain incident that hit Ultralytics packages - keep the pack's dependencies updated and don't install random detector packages from unfamiliar repos.
The honest take
If you've ever used Impact Pack, this will feel familiar, and the honest question is which one you want: Impact Pack's FaceDetailer is more battle-tested and better documented, while this node is the same idea shaped to fit this pack's pipe flow. It's genuinely good at what it does - this is the standard post-fix for the pack's upscale node, since generative upscaling rewrites faces a little. If faces come out wrong before the detail pass, check your upstream settings first: the fixer can rescue a bad face, but it can't un-blur a bad generation.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| pipe | PIPE_LINE | — | |
| image_output | COMBO | Preview | 6 options: Hide, Preview, Save, Hide/Save, Sender, Sender/Save |
| link_id | INT | 00–9223372036854776000 | — |
| save_prefix | STRING | ComfyUI | — |
| modelopt | MODEL | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| pipe | PIPE_LINE | — |
| image | IMAGE | — |