Home

Awesome

Youtube Badge

ComfyUI-Impact-Pack

Custom node pack for ComfyUI This node pack helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.

NOTE: The UltralyticsDetectorProvider node is not part of the ComfyUI-Impact-Pack. To use the UltralyticsDetectorProvider node, please install the ComfyUI-Impact-Subpack separately.

NOTICE

Custom Nodes

Detector nodes

ControlNet, IPAdapter

Mask operation

Detailer nodes

SEGS Manipulation nodes

Pipe nodes

PK_HOOK

DETAILER_HOOK

Iterative Upscale nodes

TwoSamplers nodes

Image Utils

Switch nodes

Wildcards nodes

Regional Sampling

Impact KSampler

Batch/List Util

Logics (experimental)

HuggingFace nodes

Etc nodes

Feature

How To Install?

Install via ComfyUI-Manager (Recommended)

Manual Install (Not Recommended)

  1. cd custom_nodes
  2. git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
  3. cd ComfyUI-Impact-Pack
  4. pip install -r requirements.txt
    • IMPORTANT:
      • You must install it within the Python environment where ComfyUI is running.
      • For the portable version, use <installed path>\python_embeded\python.exe -m pip instead of pip. For a venv, activate the venv first and then use pip.
  5. Restart ComfyUI

Package Dependencies (If you need to manual setup.)

Config example

[default]
dependency_version = 9
mmdet_skip = True
sam_editor_cpu = False
sam_editor_model = sam_vit_b_01ec64.pth

Other Materials (auto-download when installing)

Troubleshooting page

How To Use (DDetailer feature)

1. Basic auto face detection and refine exapmle.

simple

simple-orig simple-refined

2. 2Pass refine (restore a severely damaged face)

2pass-workflow-example

2pass-example-original 2pass-example-middle 2pass-example-result

3. Face Bbox(bounding box) + Person silhouette segmentation (prevent distortion of the background.)

combination-workflow-example combination-example-original combination-example-refined

4. Iterative Upscale

upscale-workflow-example

combination-example-original combination-example-refined

5. Interactive SAM Detector (Clipspace)

samdetector-dialog

samdetector-result

Others Tutorials

Credits

ComfyUI/ComfyUI - A powerful and modular stable diffusion GUI.

dustysys/ddetailer - DDetailer for Stable-diffusion-webUI extension.

Bing-su/dddetailer - The anime-face-detector used in ddetailer has been updated to be compatible with mmdet 3.0.0, and we have also applied a patch to the pycocotools dependency for Windows environment in ddetailer.

facebook/segment-anything - Segmentation Anything!

hysts/anime-face-detector - Creator of anime-face_yolov3, which has impressive performance on a variety of art styles.

open-mmlab/mmdetection - Object detection toolset. dd-person_mask2former was trained via transfer learning using their R-50 Mask2Former instance segmentation model as a base.

biegert/ComfyUI-CLIPSeg - This is a custom node that enables the use of CLIPSeg technology, which can find segments through prompts, in ComfyUI.

BlenderNeok/ComfyUI-TiledKSampler - The tile sampler allows high-resolution sampling even in places with low GPU VRAM.

BlenderNeok/ComfyUI_Noise - The noise injection feature relies on this function and slerp code for noise variation

WASasquatch/was-node-suite-comfyui - A powerful custom node extensions of ComfyUI.

Trung0246/ComfyUI-0246 - Nice bypass hack!