Skip to main content
The ZImageFunControlnet node applies a specialized control network to influence the image generation or editing process. It uses a base model, a model patch, and a VAE, allowing you to adjust the strength of the control effect. This node can work with a base image, an inpainting image, and a mask for more targeted edits.

Inputs

ParameterDescriptionData TypeRequiredRange
modelThe base model used for the generation process.MODELYes-
model_patchA specialized patch model that applies the control network’s guidance.MODEL_PATCHYes-
vaeThe Variational Autoencoder used for encoding and decoding images.VAEYes-
strengthThe strength of the control network’s influence. Positive values apply the effect, while negative values can invert it (default: 1.0).FLOATYes-10.0 to 10.0
imageAn optional base image to guide the generation process.IMAGENo-
inpaint_imageAn optional image used specifically for inpainting areas defined by a mask.IMAGENo-
maskAn optional mask that defines which areas of an image should be edited or inpainted.MASKNo-
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).

Outputs

Output NameDescriptionData Type
modelThe model with the control network patch applied, ready for use in a sampling pipeline.MODEL
positiveThe positive conditioning, potentially modified by the control network inputs.CONDITIONING
negativeThe negative conditioning, potentially modified by the control network inputs.CONDITIONING
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): 465f9eb0dd60af23e6cdc2031579e404b4fed021738e592ee6acbb6ee57e83a0