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

# SetUnionControlNetType - ComfyUI Built-in Node Documentation

> Complete documentation for the SetUnionControlNetType node in ComfyUI. Learn its inputs, outputs, parameters and usage.

SetUnionControlNetType 节点允许您指定用于条件控制的网络类型。它接收一个现有的控制网络，并根据您的选择设置其控制类型，从而创建一个具有指定类型配置的修改副本。

## 输入

| 参数           | 描述                                               | 数据类型         | 是否必填 | 取值范围                                           |
| ------------ | ------------------------------------------------ | ------------ | ---- | ---------------------------------------------- |
| `ControlNet` | 需要修改类型设置的控制网络                                    | CONTROL\_NET | 是    | -                                              |
| `类型`         | 要应用的控制网络类型。使用 "auto" 进行自动类型检测，或从可用选项中选择特定的控制网络类型 | STRING       | 是    | `"auto"`<br />所有可用的 UNION\_CONTROLNET\_TYPES 键 |

## 输出

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

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

***

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