ComfyUI > Nodes > ComfyUI-NAG-Extended > NAGCFGGuiderAdvanced

ComfyUI Node: NAGCFGGuiderAdvanced

Class Name

NAGCFGGuiderAdvanced

Category
sampling/custom_sampling/guiders
Author
BigStationW (Account age: 367days)
Extension
ComfyUI-NAG-Extended
Latest Updated
2026-05-02
Github Stars
0.03K

How to Install ComfyUI-NAG-Extended

Install this extension via the ComfyUI Manager by searching for ComfyUI-NAG-Extended
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-NAG-Extended 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

NAGCFGGuiderAdvanced Description

Sophisticated AI art sampling tool with advanced guidance for nuanced control and precise image generation.

NAGCFGGuiderAdvanced:

The NAGCFGGuiderAdvanced node is a sophisticated tool designed to enhance the sampling process in AI art generation by integrating advanced guidance techniques. This node is part of the ComfyUI-NAG-Extended suite, which focuses on providing nuanced control over the sampling process, allowing for more refined and targeted outputs. The primary goal of this node is to offer a flexible and powerful configuration that can adapt to various artistic needs, ensuring that the generated images align closely with the desired artistic vision. By leveraging advanced guidance parameters, the NAGCFGGuiderAdvanced node enables users to fine-tune the influence of conditioning inputs, manage the balance between positive and negative prompts, and adjust the impact of various scaling factors. This results in a more controlled and precise generation process, making it an invaluable tool for artists seeking to push the boundaries of AI-generated art.

NAGCFGGuiderAdvanced Input Parameters:

model

The model parameter specifies the AI model used for generating the art. It is crucial as it determines the underlying capabilities and style of the generated output. The choice of model can significantly impact the final result, as different models have varying strengths and weaknesses in terms of style, detail, and complexity.

conditioning

The conditioning parameter allows you to input specific conditions or prompts that guide the generation process. This parameter is essential for steering the output towards a particular theme or style, ensuring that the generated art aligns with your creative vision.

nag_negative

The nag_negative parameter is used to input negative conditioning, which helps in suppressing unwanted elements or styles in the generated output. This parameter is vital for refining the output by reducing the influence of undesired features, thus enhancing the overall quality and relevance of the art.

nag_scale

The nag_scale parameter is a floating-point value that adjusts the strength of the negative guidance. With a default value of 5.0, it can range from 0.0 to 100.0, allowing you to control the intensity of the negative influence. A higher value increases the suppression of unwanted features, while a lower value allows more of the original model's characteristics to shine through.

nag_tau

The nag_tau parameter, with a default value of 2.5, ranges from 1.0 to 10.0 and influences the temporal aspect of the guidance. It affects how quickly the guidance adapts during the generation process, with higher values leading to faster adaptation and lower values resulting in a more gradual influence.

nag_alpha

The nag_alpha parameter, ranging from 0.0 to 1.0 with a default of 0.25, controls the blending factor between the original and guided outputs. A higher value means more influence from the guidance, while a lower value retains more of the original model's characteristics, allowing for a balanced integration of guidance.

nag_sigma_end

The nag_sigma_end parameter, with a default value of 0.0 and a range from 0.0 to 20.0, determines the final influence of the guidance at the end of the generation process. This parameter is crucial for fine-tuning the final touches of the generated art, ensuring that the guidance is appropriately applied throughout the entire process.

latent_image

The latent_image parameter represents the initial latent space representation of the image. It is a critical input as it serves as the starting point for the generation process, with the guidance parameters influencing its transformation into the final output.

NAGCFGGuiderAdvanced Output Parameters:

GUIDER

The GUIDER output is the primary result of the NAGCFGGuiderAdvanced node. It represents the configured guidance object that encapsulates all the specified parameters and settings. This output is crucial as it is used in subsequent stages of the generation process to apply the defined guidance, ensuring that the final art piece aligns with the desired artistic direction and constraints.

NAGCFGGuiderAdvanced Usage Tips:

  • Experiment with different nag_scale values to find the right balance between suppressing unwanted features and retaining the model's inherent style.
  • Use the nag_alpha parameter to control the blending of guidance and original model characteristics, allowing for a customized artistic output.
  • Adjust the nag_tau parameter to influence the speed of guidance adaptation, which can be particularly useful for dynamic or evolving art styles.

NAGCFGGuiderAdvanced Common Errors and Solutions:

Error: "Invalid model input"

  • Explanation: This error occurs when the specified model is not compatible or incorrectly configured.
  • Solution: Ensure that the model input is correctly specified and compatible with the node's requirements. Verify the model's availability and configuration.

Error: "Conditioning input missing"

  • Explanation: This error indicates that the required conditioning input is not provided.
  • Solution: Check that the conditioning parameter is correctly set with valid prompts or conditions to guide the generation process.

Error: "Negative guidance scale out of range"

  • Explanation: The nag_scale value is outside the acceptable range.
  • Solution: Adjust the nag_scale parameter to be within the specified range of 0.0 to 100.0 to ensure proper functioning.

Error: "Latent image not provided"

  • Explanation: The node requires a latent image input to start the generation process.
  • Solution: Provide a valid latent image input to serve as the starting point for the generation process.

NAGCFGGuiderAdvanced Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-NAG-Extended
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.

NAGCFGGuiderAdvanced