> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PerturbedAttentionGuidance - ComfyUI Built-in Node Documentation

> PerturbedAttentionGuidance 节点对扩散模型应用扰动注意力引导，以提升生成质量。

PerturbedAttentionGuidance 节点对扩散模型应用扰动注意力引导，以提升生成质量。它通过在采样过程中将正常条件预测与仅使用值投影的简化注意力机制做出的预测进行比较，然后将缩放后的差异加回结果，从而调整模型的去噪过程。当 `scale` 设置为 0 时，该节点不起作用。

## 输入

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

## 输出

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

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

***

**Source fingerprint (SHA-256):** `1cf824486ae695a9e563c70a4798aaf4c9c067ae3b53172c9767e3c5093d0096`
