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

# SamplingPercentToSigma - ComfyUI Built-in Node Documentation

> 使用所选模型的采样设置，将采样百分比转换为对应的 sigma 值。

使用所选模型的采样设置，将采样百分比转换为对应的 sigma 值。它会把介于 0.0 和 1.0 之间的百分比映射到模型的噪声调度上，并且可以选择在两个端点处返回模型真实的最大或最小 sigma 值。

## 输入

| 参数             | 描述                                                         | 数据类型    | 必需 | 范围                   |
| -------------- | ---------------------------------------------------------- | ------- | -- | -------------------- |
| `模型`           | 包含用于转换的采样参数的模型                                             | MODEL   | 是  | -                    |
| `采样百分比`        | 要转换为 sigma 值的采样百分比（默认值：0.0）                                | FLOAT   | 是  | 0.0 到 1.0（步长：0.0001） |
| `返回实际 sigma 值` | 返回实际的 sigma 值，而不是用于区间检查的值。这只会影响 0.0 和 1.0 处的结果。（默认值：False） | BOOLEAN | 是  | -                    |

当启用 `return_actual_sigma` 时，`sampling_percent` 为 0.0 会返回模型的最大 sigma 值（sigma\_max），而 `sampling_percent` 为 1.0 会返回最小 sigma 值（sigma\_min）。对于其他所有百分比，无论是否启用此选项，结果都相同。

## 输出

| 输出名称          | 描述                  | 数据类型  |
| ------------- | ------------------- | ----- |
| `sigma_value` | 与输入采样百分比对应的 sigma 值 | FLOAT |

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

***

**Source fingerprint (SHA-256):** `30decf1d4804accbdf2a70eba1a773b41ef0e09cfb74f2a9388044dadf0a1ac1`
