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

# ConditioningSetProperties - ComfyUI Built-in Node Documentation

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

ConditioningSetProperties 节点通过调整强度、区域设置，并应用可选的遮罩、钩子或时间步范围，来修改条件数据（conditioning data）的属性。它允许您通过设置特定参数来控制条件数据在图像生成过程中的应用方式，从而影响生成过程。

## 输入

| 参数       | 描述                                                            | 数据类型             | 输入类型 | 默认值     | 范围                          |
| -------- | ------------------------------------------------------------- | ---------------- | ---- | ------- | --------------------------- |
| `新条件`    | 要修改的条件数据                                                      | CONDITIONING     | 必需   | -       | -                           |
| `强度`     | 控制条件效果的强度                                                     | FLOAT            | 必需   | 1.0     | 0.0 - 10.0 (步长: 0.01)       |
| `设置条件区域` | 决定条件区域的应用方式。选择 "default" 使用标准行为，或选择 "mask bounds" 将区域限制在遮罩范围内 | STRING           | 必需   | default | \["default", "mask bounds"] |
| `遮罩`     | 可选的遮罩，用于限制条件数据的应用区域                                           | MASK             | 可选   | -       | -                           |
| `约束`     | 用于自定义处理的可选钩子函数                                                | HOOKS            | 可选   | -       | -                           |
| `间隔`     | 可选的时间步范围，用于限制条件数据生效的时间段                                       | TIMESTEPS\_RANGE | 可选   | -       | -                           |

**注意：** 当提供了 `mask` 时，可将 `set_cond_area` 参数设置为 "mask bounds"，以将条件数据的应用限制在遮罩区域内。`hooks` 参数允许通过钩子函数进行自定义处理，而 `timesteps` 可将条件效果限制在生成过程中的特定时间步范围内。

## 输出

| 输出名称           | 描述            | 数据类型         |
| -------------- | ------------- | ------------ |
| `CONDITIONING` | 已更新属性的修改后条件数据 | CONDITIONING |

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

***

**Source fingerprint (SHA-256):** `5e3f5348f6df8f2fa1c1d42b883efcab3ee07d933e219f11fa48730aacc168d7`
