efficiency-nodes-comfyui
Run ComfyUI Easily with InstaSD
Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:
- One-click deployment
- Any model, any node
- Powerful GPUs for rapid iteration
Available Nodes
XY Input: VAE
XY Input: VAE Node Documentation
Overview
The XY Input: VAE node is part of the Efficiency Nodes for ComfyUI, a collection of custom nodes designed to enhance and streamline workflows within the ComfyUI environment. This node is specifically tailored to work with Variational Autoencoders (VAE) within the context of XY plotting.
Functionality
The XY Input: VAE node allows users to explore the effects of different VAEs on image generation within the ComfyUI framework. By connecting this node to an XY Plot node, users can vary the VAEs used in the generation process, analyzing and visualizing how different VAEs influence the end results.
Inputs
Required Inputs
-
Input Mode: Defines how the VAE files are specified. The options include:
- VAE Names: Manually enter the VAE names.
- VAE Batch: Load VAE files from a specified directory.
-
Batch Path: Specifies the directory path where VAE files are stored. This is primarily used in "VAE Batch" mode to fetch files.
-
Subdirectories: A boolean option to include or exclude subdirectories while fetching VAE files.
-
Batch Sort: Determines the sort order of the VAE files within the directory. Options are:
- Ascending
- Descending
-
Batch Max: Specifies the maximum number of VAE files to include from the batch directory. A value of
-1includes all files. -
VAE Count: Indicates the number of VAE names to manually enter when the "VAE Names" mode is selected.
Dynamic Inputs
- VAE Names: When the "VAE Names" mode is selected, users can manually specify VAE names up to the number indicated by "VAE Count."
Outputs
XY Output
The output of this node is a tuple containing the type "VAE" and the list of VAE names selected either manually or from the batch directory. This output can then be connected to an XY Plot node to visualize how different VAEs impact image generation.
Usage in ComfyUI Workflows
In ComfyUI workflows, the XY Input: VAE node is typically used in conjunction with an XY Plot node. This pairing facilitates the comparative analysis of different VAE models by varying them along one axis of the plot. This can be particularly useful for understanding the strengths and characteristics of different VAEs in generating specific types of images or achieving particular artistic effects.
Steps to Use the Node:
- Determine Input Mode: Decide whether you want to manually specify VAE names or use a batch directory to source them.
- Configure Inputs: Depending on your choice in step 1, configure the relevant inputs like batch path, sort order, and subdirectories.
- Connect to XY Plot: Attach the output of this node to an XY Plot node.
- Execute Workflow: Run the workflow to generate images using different VAEs, and examine the results via the XY Plot.
Special Features or Considerations
- Batch Mode Flexibility: The batch mode allows for easy exploration of multiple VAEs stored within a directory, enhancing flexibility in comparisons.
- Dynamic Sorting and Filtering: The node provides dynamic sorting and filtering options to ensure that users can organize and limit the VAEs included in the batch mode according to their needs.
- Integration with Other Plugins: While primarily designed for use with ComfyUI's XY Plot node, this node seamlessly integrates with other nodes and scripts within the Efficiency Nodes package, such as those related to noise management and image enhancing, to produce comprehensive and visually informative results.