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

# 应用ControlNet（旧版）（ControlNetApply）

<div class="node-meta"><code>ControlNetApply</code><span>model/conditioning/controlnet</span><span>角色：条件修饰</span><span class="star">★ 常用节点</span></div>

使用 controlNet 需要对输入图像进行预处理。由于 ComfyUI 初始节点不附带预处理器和 controlNet 模型，请先安装 ControlNet 预处理器 [在此处下载预处理器](https://github.com/Fannovel16/comfy_controlnet_preprocessors) 和相应的 controlNet 模型。

## 参数

| 参数             | 类型                       | 默认 / 范围             | 说明                          |
| -------------- | ------------------------ | ------------------- | --------------------------- |
| `conditioning` | CONDITIONING · 条件        | —（连线输入）             | 文本/图像编码后的条件张量。              |
| `control_net`  | CONTROL_NET · ControlNet | —（连线输入）             | 由 ControlNetLoader 加载后的对象。  |
| `image`        | IMAGE · 图像               | —（连线输入）             | RGB 图像输入；尺寸不一致会被缩放或裁切。      |
| `strength`     | FLOAT                    | 0.0 \~ 10.0，步长 0.01 | 该节点作用的整体强度，1.0 为默认，0 相当于旁路。 |

## 输出

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

## 怎么接

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

## 使用案例

属于「条件修饰」类节点，向下游提供条件，最终进采样器的 positive 或 negative。从 `conditioning`、`control_net`、`image` 开始填就能跑起来。典型接法：`CLIPTextEncode` → 本节点 → `KSampler.positive`。注意：ControlNet 强度过高会「糊住」画面失去生成感，一般从 0.6-0.8 起调。

## 端口与连线示意

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

## 实战提示

- ControlNet 强度过高会「糊住」画面失去生成感，一般从 0.6-0.8 起调。

## 同类节点

[应用ControlNet（旧版高级）](/nodes/03/ControlNetApplyAdvanced.md) · [设置UnionControlNet类型](/nodes/03/SetUnionControlNetType.md) · [应用ControlNet](/nodes/03/ControlNetApplySD3.md) · [应用ControlNet（阿里妈妈局部重绘）](/nodes/03/ControlNetInpaintingAliMamaApply.md)
