ComfyUI-Impact-Pack  by ltdrdata

ComfyUI custom nodes for image enhancement via detectors, detailers, upscalers

Created 2 years ago
2,687 stars

Top 17.6% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a comprehensive suite of custom nodes for ComfyUI, aimed at enhancing image generation workflows with advanced detection, detailing, upscaling, and masking capabilities. It targets users seeking granular control over image manipulation and refinement within the Stable Diffusion ecosystem.

How It Works

The pack integrates various segmentation and detection models (SAM, CLIPSeg, ONNX, MediaPipe) to identify and isolate image regions. These identified regions (SEGS) can then be processed by specialized "Detailer" nodes for targeted refinement, upscaling, or other modifications. The architecture supports complex workflows through pipe nodes, conditional logic, and advanced sampling techniques like iterative upscaling and regional sampling.

Quick Start & Requirements

  • Install: Recommended via ComfyUI-Manager. Manual install involves cloning the repo into ComfyUI/custom_nodes and running pip install -r requirements.txt within the cloned directory.
  • Dependencies: Python, segment-anything, scikit-image, piexif, opencv-python, scipy, numpy<2, dill, matplotlib (optional). Specific Linux packages (libgl1-mesa-glx, libglib2.0-0) may be required.
  • ComfyUI Version: Requires ComfyUI version after 2024.04.08 for full compatibility.
  • Companion Pack: ComfyUI-Impact-Subpack is required for Ultralytics Detector Provider nodes.
  • Docs: Tutorials available at ComfyUI-extension-tutorials/ComfyUI-Impact-Pack.

Highlighted Details

  • Extensive node library for segmentation, detection, masking, detailing, upscaling, and workflow control.
  • Supports advanced sampling techniques like iterative upscaling and regional sampling with fine-grained control.
  • Integrates with other custom nodes (e.g., ComfyUI_TiledKSampler, ComfyUI_Noise) for enhanced functionality.
  • Includes wildcard support for dynamic prompt generation.

Maintenance & Community

  • Actively maintained with frequent updates and compatibility notes.
  • Community support and tutorials are available.

Licensing & Compatibility

  • The repository itself does not explicitly state a license in the README. However, it depends on other libraries which have their own licenses. Users should verify licensing for all components.

Limitations & Caveats

  • Some nodes have specific ComfyUI version requirements, and older workflows may break with updates.
  • The UltralyticsDetectorProvider requires a separate subpack installation.
  • The Control Bridge node has limitations with batch count > 1 and specific execution order requirements.
Health Check
Last Commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
5
Issues (30d)
17
Star History
57 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.