Nodes/ComfyUI-S2Guidance/✨S2GuidanceDIT
ComfyUI Node

✨S2GuidanceDIT

Enables S²-guidance for certain diffusion models which should lead to better prompt adherence. It achieves this by subtracting a subnetwork of layers from the guidance which should make it more robust than normal CFG-guidance.

By orpheus-gaze·Created 3 months ago·Updated 3 months ago· 2
✨S2GuidanceDIT
  • model
  • model
s2_guidance_scale0.25
skip_layers_percentage1
Category✨ S2GUIDANCE

Inputs (3)

NameTypeDefaultDescription
modelMODEL
s2_guidance_scaleoptFLOAT0.250–2The strength of the S² guidance scale. (no effect=0.0, strong effect=2.0, default=0.25)
skip_layers_percentageoptINT11–100The skip_layers_percentage variable dictates the percentage of how many layers out of the total that should be skipped. (one=1, all=100, default=1)

Outputs (1)

NameTypeDescription
modelMODEL