Skip to main content
The APG (Adaptive Projected Guidance) node modifies the sampling process by adjusting how guidance is applied during diffusion. It separates the guidance vector into parallel and orthogonal components relative to the conditional output, allowing for more controlled image generation. The node provides parameters to scale the guidance, normalize its magnitude, and apply momentum for smoother transitions between diffusion steps.

Inputs

Note: When the noise level (sigma) increases during sampling, the momentum running average resets to zero. If the model provides only a single conditioning output (no separate unconditional conditioning), the guidance adjustment is skipped and the conditioning is left unchanged.

Outputs

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): df0c76aee28479d49c4e471e54d1d32082adc6921a6a50b506675144a79e018a