ComfyUI-ppm  by pamparamm

Advanced ComfyUI nodes for diffusion model customization

Created 2 years ago
258 stars

Top 98.0% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This repository offers custom ComfyUI nodes to enhance diffusion model workflows, particularly for SDXL and Anima. It provides advanced prompt control via negative weighting (CLIPNegPip) and regional attention (AttentionCouplePPM), alongside improved samplers and guidance techniques. The goal is to empower users with finer control for higher-quality and more complex image generation.

How It Works

Key nodes include CLIPNegPip for negative prompt weighting using ModelPatcher for compatibility, and AttentionCouplePPM for regional conditioning via automatic inputs and relative bounding boxes. DynSamplerSelect and CFG++SamplerSelect introduce modified and CFG-optimized samplers to reduce artifacts and overexposure. Additional nodes refine guidance (Guidance Limiter), handle specific model types (Epsilon Scaling (PPM) with noted mathematical caveats), and simplify preprocessing (Tile Preprocessor). Post-CFG variants improve node chaining.

Quick Start & Requirements

Integration is via ComfyUI's custom node manager or manual placement. Example workflows are accessible within ComfyUI ("Browse Templates/Custom Nodes/ComfyUi-ppm"). The Tile Preprocessor requires kornia. Compatibility is noted with "ComfyUI prompt control" and "Advanced CLIP Text Encode extension"; incompatibilities exist with "smZ Nodes" and "Comfyui_Flux_Style_Adjust".

Highlighted Details

  • CLIPNegPip uses ModelPatcher for better compatibility than monkey-patching.
  • AttentionCouplePPM offers automatic region input management and relative bounding box definitions.
  • Sampler nodes provide dynamic and CFG-focused options to mitigate generation issues.
  • Post-CFG nodes enhance interoperability in complex node chains.

Maintenance & Community

This appears to be a personal collection of nodes with potential future updates, though the author indicates limited motivation. No specific community channels, roadmaps, or notable contributors are detailed.

Licensing & Compatibility

The README does not specify a software license, making it difficult to assess terms for commercial use or derivative works.

Limitations & Caveats

CLIPNegPip support for FLUX is marked unmaintained. The Epsilon Scaling (PPM) node's v-pred ZSNR implementation is described as mathematically incorrect. Usage notes for tag-based models suggest potential compatibility nuances. The absence of a declared license is a critical adoption blocker.

Health Check
Last Commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
4
Star History
13 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.