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.
✨S2GuidanceDIT
- model
- model
◄s2_guidance_scale0.25►
◄skip_layers_percentage1►
Category✨ S2GUIDANCE
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| s2_guidance_scaleopt | FLOAT | 0.250–2 | The strength of the S² guidance scale. (no effect=0.0, strong effect=2.0, default=0.25) |
| skip_layers_percentageopt | INT | 11–100 | The 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)
| Name | Type | Description |
|---|---|---|
| model | MODEL | — |