floyo logo
Powered by
ThinkDiffusion
floyo logo
Powered by
ThinkDiffusion

ComfyUI-LG_SamplingUtils

177

Last updated
2025-12-24

ComfyUI-LG_SamplingUtils is a specialized extension for ComfyUI that enhances sampling operations by introducing advanced techniques tailored for Flow Matching models, such as ZImage and Lumina2. It provides a set of intuitive nodes that facilitate more diverse and controlled output generation.

  • Offers four distinct nodes for advanced noise and feature injection.
  • Supports localized effects and targeted feature enhancements via masking.
  • Includes an interactive editor for real-time adjustments to noise schedules.

Context

This toolset, developed by LAOGOU-666, is aimed at improving the sampling capabilities within ComfyUI. It is specifically designed to optimize the performance of Flow Matching models, enabling users to achieve greater creative control and variability in their outputs.

Key Features & Benefits

The extension comprises four main nodes that each serve unique functions:

  1. ZImage Timestep Noise: Introduces noise at chosen timesteps to enhance output diversity.
  2. LG Noise Injection: Allows for the integration of specific features from a reference image into the generated content.
  3. Model Sampling ZImage: Adjusts parameters specifically for ZImage and Lumina2 models, ensuring compatibility and optimal performance.
  4. Sigmas Editor: Provides a user-friendly interface for real-time manipulation of noise schedules, enabling fine-tuning of the sampling process.

Advanced Functionalities

The nodes within this toolset include advanced options such as the ability to apply noise in either a multiplicative or additive manner, and to control the strength and timing of feature injections. The Sigmas Editor allows for immediate visual feedback, making it easier to understand the impact of adjustments on the sampling process.

Practical Benefits

By incorporating this extension into their workflow, ComfyUI users can significantly enhance the diversity and quality of their generated images. The ability to inject specific features and manipulate noise parameters provides greater artistic control, leading to improved efficiency and creativity in the AI art generation process.

Credits/Acknowledgments

This extension is created by LAOGOU-666 and is available under an open-source license. Users are encouraged to contribute or report issues on the GitHub repository for continuous improvement.

Inner Nodes

LGNoiseInjection, LGNoiseInjectionLatent, ModelSamplingZImage, SigmasEditor, ZImageTimestepNoise