Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline preparation of reference images for AI art projects by converting and formatting images for workflow efficiency.
The Ref_Image_Preprocessing
node is designed to streamline the process of preparing reference images for further use in your AI art projects. This node offers flexibility by allowing you to either directly input images or specify a path to a folder containing images. It processes these images and converts them into a format that can be easily utilized by other nodes in your workflow. This preprocessing step is crucial for ensuring that your reference images are in the correct format and ready for subsequent operations, thereby enhancing the efficiency and effectiveness of your creative process.
This parameter specifies the path to the folder containing the reference images. It is a string input where you can provide the directory path. The default value is "path/to/images". This parameter is required when the mode is set to "path_Input". The images in the specified folder will be processed and converted into a usable format.
This parameter allows you to choose the mode of input for the reference images. It offers two options: "direct_Input" and "path_Input". The default value is "direct_Input". When set to "direct_Input", you can directly input images through the ref_image
parameter. When set to "path_Input", the node will process images from the directory specified in the ref_images_path
parameter.
This optional parameter allows you to directly input images for preprocessing. It accepts images in the form of tensors. This parameter is used only when the mode is set to "direct_Input". If provided, the node will process these images directly without needing a folder path.
The output of this node is a list of preprocessed images. These images are converted into a format that can be easily used by other nodes in your workflow. The output ensures that the images are ready for further processing, enhancing the overall efficiency of your AI art creation process.
ref_images_path
contains only the images you want to preprocess, and that they are in supported formats like .png, .jpg, .jpeg, .bmp, or .webp.ref_image
parameter for quicker processing.mode
parameter.mode
parameter is set to either "direct_Input" or "path_Input".ref_images_path
does not contain any valid image files.ref_images_path
contains images in supported formats and that the path is correct.mode
is set to "direct_Input" but no images are provided through the ref_image
parameter.ref_image
parameter when using the "direct_Input" mode.© Copyright 2024 RunComfy. All Rights Reserved.