Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance sampling with dual CFG guidance for nuanced model predictions and refined outputs.
The DualCFGGuider
node is designed to enhance the sampling process by leveraging dual classifier-free guidance (CFG) techniques. This node allows you to apply two different conditioning sets and their respective guidance scales to influence the model's output. By incorporating both positive and negative conditioning, along with a secondary conditioning set, the DualCFGGuider
provides a more nuanced and flexible approach to guiding the model's predictions. This can be particularly beneficial in generating more controlled and refined outputs, making it a valuable tool for AI artists looking to achieve specific artistic effects or adhere to particular constraints in their generated content.
This parameter specifies the model to be used for the sampling process. It is essential as it defines the underlying architecture and weights that will generate the output based on the provided conditionings.
This is the first conditioning input, which typically represents the primary positive conditioning. It influences the model to generate outputs that align with the desired characteristics or features specified in this conditioning set.
This is the second conditioning input, which can be used to introduce additional guidance or constraints. It allows for more complex and layered conditioning, enabling the model to consider multiple aspects or features during the generation process.
This conditioning input represents the negative conditioning, which guides the model to avoid certain characteristics or features. It helps in steering the model away from undesired outputs, ensuring that the generated content does not include specific unwanted elements.
This parameter sets the guidance scale for the primary conditioning (cond1
). It is a floating-point value with a default of 8.0, a minimum of 0.0, and a maximum of 100.0. The scale determines the strength of the influence that the primary conditioning has on the model's output.
This parameter sets the guidance scale for the secondary conditioning (cond2
) and the negative conditioning. It is a floating-point value with a default of 8.0, a minimum of 0.0, and a maximum of 100.0. This scale controls the impact of the secondary and negative conditionings on the model's predictions.
The output of the DualCFGGuider
node is a GUIDER
object. This object encapsulates the dual CFG logic and is used to guide the model during the sampling process. It ensures that the model's output adheres to the specified conditionings and guidance scales, resulting in more controlled and refined generated content.
cfg_conds
and cfg_cond2_negative
to find the optimal balance between the primary and secondary conditionings for your specific use case.cond1
and cond2
creatively to introduce complex and multi-faceted guidance, allowing for more sophisticated and nuanced generated content.DualCFGGuider
node.cond1
, cond2
, or negative
) are not provided.cfg_conds
or cfg_cond2_negative
are outside the allowed range (0.0 to 100.0).© Copyright 2024 RunComfy. All Rights Reserved.