> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-comfy-docs-comfyapi-search.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SetUnionControlNetType - ComfyUI Built-in Node Documentation

> SetUnionControlNetType 节点让你选择控制网络使用哪种控制类型。

SetUnionControlNetType 节点让你选择控制网络使用哪种控制类型。它接受一个已有的控制网络，并创建一个带有所选控制类型的修改副本，原始控制网络保持不变。当选择 "auto" 时，存储的控制类型会被清除，以便自动检测类型。

## 输入

| 参数           | 描述                                                           | 数据类型         | 必填 | 取值范围                                                                                                                                                                                                                            |
| ------------ | ------------------------------------------------------------ | ------------ | -- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ControlNet` | 要修改类型设置的控制网络                                                 | CONTROL\_NET | 是  | -                                                                                                                                                                                                                               |
| `类型`         | 要应用的控制网络类型。使用 "auto" 进行自动类型检测，或从可用选项中选择特定的控制网络类型（默认值："auto"） | COMBO        | 是  | `"auto"`<br />`"openpose"`<br />`"depth"`<br />`"hed/pidi/softedge"`<br />`"canny"`<br />`"scribble"`<br />`"seg"`<br />`"tile"`<br />`"inpaint"`<br />`"lineart"`<br />`"blur"`<br />`"mlsd"`<br />`"normalbae"`<br />`"mask"` |

当 `type` 设置为 `"auto"` 时，节点会清除存储的控制类型，以便自动检测类型。当选择特定类型时，节点会将匹配的控制类型存储到复制的控制网络中。输入的控制网络永远不会被原地修改；而是返回一个修改后的副本。

## 输出

| 输出名           | 描述                | 数据类型         |
| ------------- | ----------------- | ------------ |
| `control_net` | 应用了指定类型设置的修改后控制网络 | CONTROL\_NET |

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

***

**Source fingerprint (SHA-256):** `db4b1a3cebafcff2be3172faa09cecbd5e19331376491c491cbe359013ed3da3`
