ComfyUI > Nodes > ComfyUI-NAG > NAGGuider

ComfyUI Node: NAGGuider

Class Name

NAGGuider

Category
sampling/custom_sampling/guiders
Author
ChenDarYen (Account age: 2440days)
Extension
ComfyUI-NAG
Latest Updated
2025-11-03
Github Stars
0.3K

How to Install ComfyUI-NAG

Install this extension via the ComfyUI Manager by searching for ComfyUI-NAG
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-NAG in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

NAGGuider Description

Enhances AI art generation with sophisticated guiding mechanism for refined, artistically aligned outputs.

NAGGuider:

The NAGGuider node is designed to enhance the sampling process in AI art generation by providing a sophisticated guiding mechanism. It leverages a combination of model conditioning and negative guidance to refine the output, ensuring that the generated art aligns closely with the desired artistic intent. The node is particularly beneficial for artists looking to exert more control over the creative process, as it allows for fine-tuning of various parameters that influence the final output. By integrating advanced guidance techniques, NAGGuider helps in achieving high-quality, coherent, and aesthetically pleasing results, making it an essential tool for AI artists seeking to push the boundaries of their creative projects.

NAGGuider Input Parameters:

model

This parameter specifies the model to be used for the guiding process. It is crucial as it determines the underlying architecture and capabilities that will influence the art generation. The model acts as the foundation upon which the guidance is applied.

conditioning

Conditioning refers to the input conditions or prompts that guide the model in generating the desired output. It plays a significant role in shaping the final result by providing context or themes that the model should adhere to during the generation process.

nag_negative

The nag_negative parameter is used to apply negative guidance, which helps in steering the model away from undesired features or elements in the generated art. This parameter is essential for refining the output by suppressing unwanted characteristics.

nag_scale

This parameter controls the intensity of the negative guidance applied. With a default value of 5.0, it can range from 0.0 to 100.0, allowing for precise adjustments. A higher value increases the influence of negative guidance, which can be useful for strongly discouraging certain features.

nag_tau

nag_tau is a parameter that affects the temporal aspect of the guidance, with a default value of 2.5 and a range from 1.0 to 10.0. It influences how quickly the guidance is applied over the course of the generation process, impacting the smoothness and coherence of the output.

nag_alpha

This parameter, ranging from 0.0 to 1.0 with a default of 0.25, determines the blending factor between the original and guided outputs. A higher nag_alpha value means more influence from the guidance, which can be used to achieve a balance between creativity and adherence to the guidance.

nag_sigma_end

nag_sigma_end controls the end-point variance of the guidance, with a default of 0.0 and a range from 0.0 to 20.0. It affects the final adjustments made to the output, allowing for fine-tuning of the end result to ensure it meets the desired artistic standards.

latent_image

The latent_image parameter represents the initial latent space representation of the image to be generated. It is a crucial input as it serves as the starting point for the generation process, upon which the guidance and model conditioning are applied.

NAGGuider Output Parameters:

GUIDER

The output of the NAGGuider node is a GUIDER object, which encapsulates the configured guidance mechanism ready to be applied to the art generation process. This output is essential as it represents the culmination of all input parameters and settings, providing a tailored guiding strategy that can be used to influence the model's output effectively.

NAGGuider Usage Tips:

  • Experiment with different nag_scale values to find the right balance of negative guidance that suits your artistic vision. A higher scale can help in strongly discouraging unwanted features, while a lower scale allows for more creative freedom.
  • Adjust the nag_alpha parameter to control the influence of guidance on the final output. This can help in achieving a desired level of adherence to the guidance while maintaining artistic creativity.

NAGGuider Common Errors and Solutions:

Model type <model_type> is not support for NAGCFGGuider

  • Explanation: This error occurs when the model type used is not compatible with the NAGCFGGuider. The node expects specific model types that it can work with.
  • Solution: Ensure that the model you are using is one of the supported types, such as Flux, Chroma, UNetModel, or others listed in the documentation. If your model is not supported, consider switching to a compatible model or updating the node to support additional model types.

NAGGuider Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-NAG
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.