Visit ComfyUI Online for ready-to-use ComfyUI environment
Controlled guidance mechanism for AI models within a limited interval for precise behavior control in creative applications.
The LimitedIntervalCFGGuider| Limited Interval CFG Guider 🍌
node is designed to provide a controlled guidance mechanism for AI models, particularly in the context of creative and artistic applications. This node allows you to specify a limited interval within which the Classifier-Free Guidance (CFG) is applied, offering more precise control over the model's behavior during the sampling process. By defining a start and end step, you can ensure that the CFG is only active within a specific range, which can help in achieving more refined and targeted outputs. This is particularly useful for AI artists who want to fine-tune the influence of positive and negative conditioning on their generated content, ensuring that the guidance is applied only when necessary and avoiding over-saturation of the guidance effect.
This parameter represents the AI model that will be guided. It is essential for the node to function as it provides the underlying structure and capabilities for generating outputs. The model parameter is of type MODEL
.
This parameter is used to provide positive conditioning to the model. Positive conditioning helps guide the model towards desired characteristics or features in the generated output. It is of type CONDITIONING
.
This parameter is used to provide negative conditioning to the model. Negative conditioning helps guide the model away from undesired characteristics or features in the generated output. It is of type CONDITIONING
.
The cfg
parameter stands for Classifier-Free Guidance scale. It controls the strength of the guidance applied to the model. A higher value increases the influence of the conditioning, while a lower value reduces it. The default value is 8.0, with a minimum of 0.0 and a maximum of 100.0. The step size is 0.1, and the value is rounded to 0.01.
This parameter defines the starting point of the interval where the CFG is applied. It is a float value representing a percentage of the total steps, with a default value of 0.0. The minimum value is 0.0, and the maximum value is 1.0, with a step size of 0.001.
This parameter defines the ending point of the interval where the CFG is applied. It is a float value representing a percentage of the total steps, with a default value of 1.0. The minimum value is 0.0, and the maximum value is 1.0, with a step size of 0.001.
The output of this node is a GUIDER
object. This guider is configured to apply the specified positive and negative conditioning within the defined interval, using the provided CFG scale. It ensures that the guidance is only active within the specified range, allowing for more controlled and precise influence on the model's output.
start_step
and end_step
parameters to limit the interval where the CFG is applied. This can help in focusing the guidance effect on specific parts of the generation process.cfg
values to find the optimal balance between the influence of the conditioning and the model's inherent creativity. Higher values can lead to more pronounced effects, while lower values can provide subtler guidance.start_step
or end_step
values are outside the allowed range of 0.0 to 1.0.start_step
and end_step
values are within the range of 0.0 to 1.0. Adjust the values accordingly and try again.cfg
value is set outside the allowed range of 0.0 to 100.0.cfg
value to be within the range of 0.0 to 100.0. Use the step size of 0.1 for finer adjustments.model
parameter is not provided or is invalid.model
parameter. Check the model's compatibility with the node and try again.© Copyright 2024 RunComfy. All Rights Reserved.