For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /nodes/03/ControlNetApply.md.

应用ControlNet(旧版)(ControlNetApply)

ControlNetApplymodel/conditioning/controlnet角色:条件修饰★ 常用节点

使用 controlNet 需要对输入图像进行预处理。由于 ComfyUI 初始节点不附带预处理器和 controlNet 模型,请先安装 ControlNet 预处理器 在此处下载预处理器 和相应的 controlNet 模型。

参数

参数类型默认 / 范围说明
conditioningCONDITIONING · 条件—(连线输入)文本/图像编码后的条件张量。
control_netCONTROL_NET · ControlNet—(连线输入)由 ControlNetLoader 加载后的对象。
imageIMAGE · 图像—(连线输入)RGB 图像输入;尺寸不一致会被缩放或裁切。
strengthFLOAT0.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 端口与连线示意

实战提示

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

同类节点

应用ControlNet(旧版高级) · 设置UnionControlNet类型 · 应用ControlNet · 应用ControlNet(阿里妈妈局部重绘)