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

# QwenImageDiffsynthControlnet - ComfyUI Built-in Node Documentation

> QwenImageDiffsynthControlnet applies a diffusion synthesis control network patch to a base model.

QwenImageDiffsynthControlnet applies a diffusion synthesis control network patch to a base model. It uses an input image and an optional mask to guide the model's generation process with adjustable strength, producing a patched model that incorporates the control network's influence for more controlled image synthesis.

## Inputs

| Parameter     | Description                                                                                                                                  | Data Type    | Required | Range         |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -------- | ------------- |
| `model`       | The base model to be patched with the control network                                                                                        | MODEL        | Yes      | -             |
| `model_patch` | The control network patch model to apply to the base model                                                                                   | MODEL\_PATCH | Yes      | -             |
| `vae`         | The VAE (Variational Autoencoder) used in the diffusion process                                                                              | VAE          | Yes      | -             |
| `image`       | The input image used to guide the control network. Only the first three color channels (RGB) are used; any additional channels are discarded | IMAGE        | Yes      | -             |
| `strength`    | The strength of the control network influence (default: 1.0)                                                                                 | FLOAT        | Yes      | -10.0 to 10.0 |
| `mask`        | Optional mask that defines areas where the control network should be applied. The mask is inverted internally before use                     | MASK         | No       | -             |

**Note:** When a mask is provided, it is automatically inverted (1.0 - mask) and reshaped to match the expected dimensions for the control network processing. The node uses different internal processing methods depending on whether the model patch is a ZImage Control type or a standard DiffSynth control network. This node is flagged as experimental.

## Outputs

| Output Name | Description                                                                   | Data Type |
| ----------- | ----------------------------------------------------------------------------- | --------- |
| `model`     | The modified model with the diffusion synthesis control network patch applied | MODEL     |

> 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/QwenImageDiffsynthControlnet/en.md)

***

**Source fingerprint (SHA-256):** `56739c098933cb70d3bcb8d6b251da33e7879b464b2e8a7296da085aefc15698`
