ComfyUI-Detail-Daemon  by Jonseed

ComfyUI nodes for fine-grained image detail enhancement

Created 1 year ago
911 stars

Top 39.9% on SourcePulse

GitHubView on GitHub
Project Summary

This ComfyUI node suite enhances image generation by providing fine-grained control over detail enhancement, primarily through sigma value adjustments during the diffusion sampling process. It targets users of ComfyUI, including those working with Flux, SDXL, SD1.5, Qwen, and Z-Image models, offering a method to boost detail, reduce background blur, and sharpen images beyond standard sampler capabilities.

How It Works

The project introduces several nodes that manipulate the noise schedule (sigmas) during sampling. The Detail Daemon Sampler node adjusts sigmas to decrease noise removal at each step, thereby preserving and enhancing finer details, particularly in later sampling stages. Alternative methods include Multiply Sigmas, which applies a constant multiplicative factor to sigmas, and Lying Sigma Sampler, a simplified version focusing on amount, start, and end adjustments. A Detail Daemon Graph Sigmas node visualizes these sigma adjustments without altering the generation process.

Quick Start & Requirements

Integration requires adding the nodes to a ComfyUI workflow. For use with standard samplers like KSampler or KSamplerAdvanced, a custom sampler preset must be created using the BlehSetSamplerPreset node. Compatibility is noted with custom sampler nodes such as SamplerCustomAdvanced. Example workflows for Z-Image, Flux (txt2img, img2img, upscale, inpainting), and SDXL are provided.

Highlighted Details

  • Supports a wide range of models including SDXL, SD1.5, Qwen, Z-Image, and Flux.
  • Offers multiple distinct nodes (Detail Daemon Sampler, Multiply Sigmas, Lying Sigma Sampler) for varied detail enhancement strategies.
  • Provides detailed parameter control over the timing (start, end), magnitude (detail_amount, factor, dishonesty_factor), and curve (bias, exponent) of sigma adjustments.

Maintenance & Community

The project is a port of muerrilla's sd-webui-Detail-Daemon. The ComfyUI sampler implementation and Lying Sigma Sampler are credited to blepping. The Multiply Sigmas node is based on work from Extraltodeus. No specific community links or maintenance details are provided in the README.

Licensing & Compatibility

The licensing information is not explicitly stated in the provided text.

Limitations & Caveats

Aggressive use of detail enhancement parameters can lead to oversharpening or an HDR effect. The Detail Daemon Graph Sigmas node is for visualization only and does not affect the generation process. Compatibility with standard ComfyUI samplers requires additional setup steps.

Health Check
Last Commit

3 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
1
Star History
36 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Jeremy Howard Jeremy Howard(Cofounder of fast.ai).

clarity-upscaler by philz1337x

0.2%
5k
AI image upscaler & enhancer, alternative to Magnific
Created 1 year ago
Updated 10 months ago
Feedback? Help us improve.