Normalized Attention Guidance

NormalizedAttentionGuidance

An additional way to apply negative prompts to the image. It's compatible with CFG, PAG, and other guidances, and can be used with guidance- and step-distilled models as well. It's also compatible with other attn2 replacers (such as `IPAdapter`) - but make sure to place NAG node **after** other model patches!

Pack: sd-perturbed-attention

custom_nodes.sd-perturbed-attention

Inputs (8)

NameTypeRequired
modelMODELrequired
negativeCONDITIONINGrequired
scaleFLOATrequired
tauFLOATrequired
alphaFLOATrequired
sigma_startFLOATrequired
sigma_endFLOATrequired
unet_block_listSTRINGoptional

Outputs (1)

NameType
MODELMODEL