Skip to main content
The CFGGuider node creates a guidance system for controlling the sampling process in image generation. It takes a model along with positive and negative conditioning inputs, then applies a classifier-free guidance scale to steer the generation toward desired content while avoiding unwanted elements. This node outputs a guider object that can be used by sampling nodes to control the image generation direction.

Inputs

ParameterDescriptionData TypeRequiredRange
modelThe model to be used for guidanceMODELYes-
positiveThe positive conditioning that guides the generation toward desired contentCONDITIONINGYes-
negativeThe negative conditioning that steers the generation away from unwanted contentCONDITIONINGYes-
cfgThe classifier-free guidance scale that controls how strongly the conditioning influences the generation (default: 8.0)FLOATYes0.0 to 100.0

Outputs

Output NameDescriptionData Type
GUIDERA guider object that can be passed to sampling nodes to control the generation processGUIDER
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): a723a359d0e0ac6ae83dc59d9eb459444b0c4a5361d54d54e22fb03ea34c16be