> ## 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

> The SetUnionControlNetType node lets you choose which control type a control network uses.

The SetUnionControlNetType node lets you choose which control type a control network uses. It takes an existing control network and creates a modified copy with the selected control type, leaving the original control network unchanged. When "auto" is selected, the stored control type is cleared so the type can be detected automatically.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `control_net` | The control network to modify with a new type setting | CONTROL\_NET | Yes | - |
| `type` | The control network type to apply. Use "auto" for automatic type detection or select a specific control network type from the available options (default: "auto") | COMBO | Yes | `"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"` |

When `type` is set to `"auto"`, the node clears the stored control type so the type can be detected automatically. When a specific type is selected, the node stores the matching control type in the copied control network. The input control network is never changed in place; a modified copy is returned instead.

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `control_net` | The modified control network with the specified type setting applied | CONTROL\_NET |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SetUnionControlNetType/en.md)

***

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.