> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# PerturbedAttentionGuidance - ComfyUI Built-in Node Documentation

> Complete documentation for the PerturbedAttentionGuidance node in ComfyUI. Learn its inputs, outputs, parameters and usage.

PerturbedAttentionGuidance 节点对扩散模型应用扰动注意力引导，以提升生成质量。该节点在采样过程中通过将模型的自注意力机制替换为专注于值投影的简化版本，从而修改该机制。此技术通过调整条件去噪过程，有助于改善生成图像的连贯性和质量。

## 输入

| 参数   | 描述                                            | 数据类型  | 是否必填 | 范围          |
| ---- | --------------------------------------------- | ----- | ---- | ----------- |
| `模型` | 要应用扰动注意力引导的扩散模型                               | MODEL | 是    | -           |
| `规模` | 扰动注意力引导效果的强度（默认值：3.0）。当设置为 0 时，节点无效并返回原始去噪结果。 | FLOAT | 否    | 0.0 - 100.0 |

## 输出

| 输出名称 | 描述               | 数据类型  |
| ---- | ---------------- | ----- |
| `模型` | 应用了扰动注意力引导的修改后模型 | MODEL |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/PerturbedAttentionGuidance/zh.md)

***

**Source fingerprint (SHA-256):** `8808aa3a3f7cfe306e17f8f4424779cb8e4565647bbcc9d4907da2215affe191`
