> ## 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.

# SamplerER_SDE - ComfyUI Built-in Node Documentation

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

SamplerER\_SDE 节点为扩散模型提供专门的采样方法，提供包括 ER-SDE、反向时间 SDE 和 ODE 在内的不同求解器类型。它允许控制采样过程中的随机行为和计算阶段。该节点会根据所选求解器类型自动调整参数，以确保功能正常。

## 输入

| 参数        | 描述                                                                 | 数据类型  | 是否必需 | 范围                                          |
| --------- | ------------------------------------------------------------------ | ----- | ---- | ------------------------------------------- |
| `求解器`     | 用于采样的求解器类型。决定扩散过程的数学方法。                                            | COMBO | 是    | "ER-SDE"<br />"Reverse-time SDE"<br />"ODE" |
| `最大阶段`    | 采样过程的最大阶段数（默认值：3）。控制计算复杂度和质量。                                      | INT   | 否    | 1-3                                         |
| `eta`     | 反向时间 SDE 的随机强度（默认值：1.0）。当 eta=0 时，退化为确定性 ODE。此设置不适用于 ER-SDE 求解器类型。 | FLOAT | 否    | 0.0-100.0                                   |
| `s_noise` | 采样过程的噪声缩放因子（默认值：1.0）。控制采样过程中应用的噪声量。                                | FLOAT | 否    | 0.0-100.0                                   |

**参数约束：**

* 当 `solver_type` 设置为 "ODE" 或使用 `eta`=0 的 "Reverse-time SDE" 时，无论用户输入值如何，`eta` 和 `s_noise` 都会自动设置为 0。
* `eta` 参数仅影响 "Reverse-time SDE" 求解器类型，对 "ER-SDE" 求解器类型无效。

## 输出

| 输出名称      | 描述                                 | 数据类型    |
| --------- | ---------------------------------- | ------- |
| `sampler` | 一个配置好的采样器对象，可在采样流程中使用，并带有指定的求解器设置。 | SAMPLER |

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

***

**Source fingerprint (SHA-256):** `bc24ec3c5dc645aebf55ef3392c5f4a40dcf0461b4b77731e8fe7ff397dcfadf`
