Skip to main content
ZImageFunControlnet applies a control network patch to a base model so it can guide the image generation or editing process. It combines a model, a model patch, and a VAE, and lets you control how strongly the control effect influences the result. Optional image, inpainting image, and mask inputs allow more targeted edits. The node works with Z-Image ControlNet patches and with Qwen Image 2.1 Fun ControlNet patches loaded through the Load Model Patch node.

Inputs

Note: The inpaint_image parameter is typically used in conjunction with a mask to specify the content for inpainting. The node’s behavior may change based on which optional inputs are provided (e.g., using image for guidance or using image, mask, and inpaint_image for inpainting). The start_percent and end_percent values restrict the control network to a window of the denoising process, and outside that window the model is sampled without the patch. If strength is 0, or if none of image, inpaint_image, and mask is connected, the node returns the base model unchanged. For Z-Image Control patches a provided mask is inverted (1.0 - mask) before use, while a Qwen Image 2.1 Fun ControlNet patch uses the mask as given. This node is flagged as experimental.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 9673b8b6e091713bcc93fe5fd1cfed12e6941571d1017e10ac94c19e1afd4ca1