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

# SamplerDPMPP_2S_Ancestral - ComfyUI Built-in Node Documentation

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

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

SamplerDPMPP\_2S\_Ancestral 节点创建了一个使用 DPM++ 2S Ancestral 采样方法生成图像的采样器。该采样器结合了确定性和随机性元素，在保持一定一致性的同时产生多样化的结果。它允许您在采样过程中控制随机性和噪声水平。

## 输入参数

| 参数        | 数据类型  | 必需 | 取值范围        | 描述                       |
| --------- | ----- | -- | ----------- | ------------------------ |
| `eta`     | FLOAT | 是  | 0.0 - 100.0 | 控制采样过程中添加的随机噪声量（默认值：1.0） |
| `s_noise` | FLOAT | 是  | 0.0 - 100.0 | 控制采样过程中应用的噪声尺度（默认值：1.0）  |

## 输出结果

| 输出名称      | 数据类型    | 描述                      |
| --------- | ------- | ----------------------- |
| `sampler` | SAMPLER | 返回一个配置好的采样器对象，可在采样流程中使用 |
