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/01/DiffControlNetLoader.md.

加载ControlNet模型(diff)(DiffControlNetLoader)

DiffControlNetLoadermodel/loaders角色:ControlNet 加载★ 常用节点

此节点将检测位于 ComfyUI/models/controlnet 文件夹中的模型,同时也会读取 extra_model_paths.yaml 文件中配置的额外路径中的模型。有时,您可能需要刷新 ComfyUI 界面,以便它能够从相应文件夹中读取模型文件。 DiffControlNetLoader 节点专为加载差分控制网络而设计,这类专用模型能够基于控制网络规范修改其他模型的行为。该节点通过应用差分控制网络,实现对模型行为的动态调整,从而帮助创建定制化的模型输出。

参数

参数类型默认 / 范围说明
modelMODEL · 扩散模型—(连线输入)扩散模型(UNet/DiT)。通常来自 CheckpointLoaderSimple 或 UNETLoader。
control_net_nameCOMBO文件/选项(运行时列出)放 models/controlnet,需与主模型版本匹配(SD1.5/SDXL/Flux)。

输出

输出类型说明
ControlNetCONTROL_NETControlNet

怎么接

  • 上游:CheckpointLoaderSimple / UNETLoader
  • 下游:ControlNetApplyAdvanced
  • 接线:输出 CONTROL_NET 接 ControlNetApplyAdvanced 的 control_net,同时要把预处理图接到 image。

使用案例

属于「ControlNet 加载」类节点,向下游提供控制模型。从 model、control_net_name(文件/选项(运行时列出)) 开始填就能跑起来。典型接法:CheckpointLoaderSimple → 本节点 → ControlNetApplyAdvanced。输出类型是 CONTROL_NET,只能接同类型的输入端口,颜色对不上就是接错了。

端口与连线示意

DiffControlNetLoader 端口与连线示意

同类节点

ClipLoader · 加载CLIP视觉 · Ckeckpoint加载器(已弃用) · Checkpoint加载器(简易) · 加载ControlNet模型 · Diffusers加载器 · 双CLIP加载器 · 超网络加载器 · Checkpoint加载器(仅图像) · 加载LoRA · LoRA加载器(仅模型) · 加载风格模型