Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates VAE selection and application for AI art projects, enabling efficient experimentation with different VAEs to enhance image quality and diversity.
The XY Input: VAE node is designed to facilitate the selection and application of Variational Autoencoders (VAEs) in your AI art projects. This node allows you to specify a range of VAEs either manually or by batch processing from a directory, enabling you to experiment with different VAEs efficiently. By leveraging this node, you can enhance the quality and diversity of your generated images, as VAEs play a crucial role in encoding and decoding image data. The node supports sorting and limiting the number of VAEs used, providing flexibility and control over the VAE selection process. This functionality is particularly useful for creating XY plots, where you can visualize the impact of different VAEs on your generated images.
This parameter determines whether the VAEs are selected manually or through batch processing. If "Batch" is not included in the input mode, the VAEs are specified manually; otherwise, they are selected from a directory. This parameter impacts how the VAEs are sourced and processed.
Specifies the directory path from which VAEs are batch processed. This parameter is used only when the input mode includes "Batch". It allows you to automate the selection of VAEs from a specified location.
A boolean parameter that indicates whether to include subdirectories when batch processing VAEs. If set to true, the node will search for VAEs in all subdirectories of the specified batch path. This parameter helps in organizing and managing large collections of VAEs.
Defines the sorting order of the VAEs when batch processing. Options include "ascending" and "descending". This parameter allows you to control the order in which VAEs are applied, which can be useful for systematic experimentation.
Specifies the maximum number of VAEs to be used from the batch. A value of -1 indicates no limit. This parameter helps in managing the number of VAEs processed, preventing excessive resource usage.
Indicates the number of VAEs to be manually specified when not using batch processing. This parameter determines how many VAE names need to be provided in the kwargs.
A dictionary of additional parameters, including the names of the VAEs to be used (e.g., vae_name_1
, vae_name_2
, etc.). These parameters are extracted based on the vae_count and are used when the input mode does not include "Batch".
This output parameter is a tuple containing the type "VAE" and a list of selected VAEs. The list includes either manually specified VAEs or those obtained through batch processing. This output is essential for further processing and visualization in XY plots, allowing you to see the effects of different VAEs on your generated images.
XY Plot Error: No VAE files found.
XY Plot Error: {e}
KSampler(Efficient) Error: VAE input must be connected in order to use the XY Plot script.
KSampler(Efficient) Warning: VAE decoding must be set to 'true' for the XY Plot script, proceeding as if 'true'.
© Copyright 2024 RunComfy. All Rights Reserved.