ComfyUI custom node for improved Stable Diffusion image generation
Top 71.5% on sourcepulse
This repository provides custom nodes for ComfyUI to enhance Stable Diffusion image generation by dynamically adjusting CFG scale and incorporating attention modifications. It targets users seeking improved image quality, reduced artifacts, and faster generation times, offering a "thermostat" for CFG control and advanced prompt-following capabilities.
How It Works
The core innovation is a self-rescaling CFG mechanism that adjusts the CFG scale at each sampling step based on estimated min/max values, aiming for a target intensity (brightness/saturation/sharpness). This approach aims to prevent "burns" (artifacts) and improve overall image quality by allowing the sampler to adapt dynamically. Additionally, it introduces custom attention modifiers and a "warp drive" feature that significantly speeds up generation by disabling negative guidance for most steps.
Quick Start & Requirements
custom_nodes
directory.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
eval()
, posing a potential security risk if loading untrusted configurations.10 months ago
1 week