Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline image preprocessing for ControlNet neural network model with versatile preprocessors for tailored image enhancement.
The AV_ControlNetPreprocessor
node is designed to streamline the preprocessing of images for use with ControlNet, a neural network model that enhances image generation tasks. This node allows you to apply various preprocessing techniques to your images, ensuring they are optimally prepared for further processing by ControlNet. By selecting from a range of preprocessors, you can tailor the preprocessing to suit different styles and requirements, enhancing the quality and relevance of the generated images. The node also supports different versions of Stable Diffusion (SD), making it versatile and adaptable to various workflows. Its primary function is to detect and apply the appropriate ControlNet preprocessor, ensuring that your images are processed efficiently and effectively.
This parameter accepts the input image that you want to preprocess. The image should be in a format compatible with the node's processing capabilities.
This parameter allows you to select the preprocessor to be applied to the image. Options include "None", "tile", and a variety of other preprocessors available in the system. The choice of preprocessor can significantly impact the final output, as each preprocessor applies different transformations to the image.
This parameter specifies the version of Stable Diffusion to be used. Available options are "sd15", "sdxl", and "sdxl_t2i". The selected version determines the compatibility and performance of the preprocessing with the corresponding Stable Diffusion model.
This optional parameter sets the resolution for the preprocessing. It accepts integer values with a default of 512, a minimum of 64, and a maximum of 2048, with steps of 64. Adjusting the resolution can affect the detail and quality of the processed image.
This optional parameter allows you to override the selected preprocessor with a specific one by providing its name as a string. The default value is "None". If the specified preprocessor is not found, a warning is issued, and the originally selected preprocessor is used instead.
This output parameter provides the preprocessed image. The image is transformed according to the selected or overridden preprocessor and is ready for further processing or use in image generation tasks.
This output parameter returns the name of the ControlNet preprocessor that was applied. It helps in tracking and verifying the preprocessing steps used on the image.
resolution
parameter to balance between processing time and image quality. Higher resolutions provide more detail but require more processing power.preprocessor_override
parameter to ensure it is applied, even if it is not the default choice.<preprocessor_override>
. Use <preprocessor>
instead.preprocessor_override
parameter is not found in the available preprocessors.preprocessor_override
parameter is correct and matches one of the available preprocessors. If the preprocessor is not available, consider using one of the listed preprocessors.resolution
parameter to a value within the allowed range. The default value of 512 is a good starting point.© Copyright 2024 RunComfy. All Rights Reserved.