> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# 条件对设置属性（PairConditioningSetProperties）

<div class="node-meta"><code>PairConditioningSetProperties</code><span>advanced/hooks/cond pair</span><span>角色：条件修饰</span></div>

**PairConditioningSetProperties** 节点允许您同时修改正向和负向条件对（conditioning pairs）的属性。它对两个条件输入应用强度调整、条件区域设置以及可选的遮罩或时序控制，并返回修改后的正向和负向条件数据。

## 参数

| 参数              | 类型                | 默认 / 范围             | 说明                          |
| --------------- | ----------------- | ------------------- | --------------------------- |
| `positive_NEW`  | CONDITIONING · 条件 | —（连线输入）             | 你希望出现的内容，来自 CLIPTextEncode。 |
| `negative_NEW`  | CONDITIONING · 条件 | —（连线输入）             | 你不希望出现的内容，CFG>1 时才生效。       |
| `strength`      | FLOAT             | 0.0 \~ 10.0，步长 0.01 | 该节点作用的整体强度，1.0 为默认，0 相当于旁路。 |
| `set_cond_area` | COMBO             | default、mask bounds | —                           |
| `mask`（选填）      | MASK · 遮罩         | —（连线输入）             | 白色区域参与运算。                   |
| `hooks`（选填）     | HOOKS · 钩子        | —（连线输入）             | —                           |
| `timesteps`（选填） | TIMESTEPS_RANGE   | —（连线输入）             | —                           |

## 输出

| 输出       | 类型           | 说明 |
| -------- | ------------ | -- |
| positive | CONDITIONING | 条件 |
| negative | CONDITIONING | 条件 |

## 怎么接

- **上游**：CLIPTextEncode / 条件节点
- **下游**：KSampler.positive / negative
- **接线**：上游接 CLIPTextEncode 出来的条件，输出继续接 KSampler 的 `positive`/`negative`；多个条件修饰可以串联，后面的会覆盖或叠加前面的区域/强度设置。

## 使用案例

属于「条件修饰」类节点，向下游提供条件，最终进采样器的 positive 或 negative。从 `positive_NEW`、`negative_NEW`、`strength`（1.0） 开始填就能跑起来。典型接法：`CLIPTextEncode` → 本节点 → `KSampler.positive`。注意：遮罩白色为生效区、黑色为忽略区；边缘务必羽化 8-32px 避免硬边。

## 端口与连线示意

![PairConditioningSetProperties 端口与连线示意](/svg/PairConditioningSetProperties.svg)

## 实战提示

- 遮罩白色为生效区、黑色为忽略区；边缘务必羽化 8-32px 避免硬边。

## 同类节点

[条件对合并](/nodes/12/PairConditioningCombine.md) · [双路条件默认合并](/nodes/12/PairConditioningSetDefaultCombine.md) · [条件对设置属性合并](/nodes/12/PairConditioningSetPropertiesAndCombine.md)
