ComfyUI > Nodes > ComfyUI-RvTools_v2 > Vae Switch

ComfyUI Node: Vae Switch

Class Name

Vae Switch [RvTools]

Category
🫦 RvTools II/ Switches
Author
r-vage (Account age: 317days)
Extension
ComfyUI-RvTools_v2
Latest Updated
2026-03-27
Github Stars
0.02K

How to Install ComfyUI-RvTools_v2

Install this extension via the ComfyUI Manager by searching for ComfyUI-RvTools_v2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RvTools_v2 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Vae Switch Description

Facilitates dynamic selection between two VAEs in workflows, enhancing flexibility in AI art.

Vae Switch [RvTools]:

The Vae Switch [RvTools] node is designed to facilitate the selection between two different Variational Autoencoders (VAEs) within a workflow. This node is particularly useful when you have multiple VAE models and need to dynamically choose which one to use based on specific conditions or preferences. By providing a simple interface to switch between VAEs, it enhances flexibility and control in your AI art generation process, allowing you to experiment with different VAE configurations without manually changing the setup each time. This node is essential for artists who want to explore various VAE outputs and optimize their creative workflows efficiently.

Vae Switch [RvTools] Input Parameters:

Input

The Input parameter is an integer that determines which VAE input will be selected for processing. It accepts values of either 1 or 2, with a default value of 1. This parameter is crucial as it dictates the flow of data through the node, allowing you to switch between two VAE models. Setting this parameter to 1 will select the first VAE input (input1), while setting it to 2 will select the second VAE input (input2). This flexibility enables you to easily toggle between different VAE models based on your artistic needs or experimental requirements.

input1

The input1 parameter is an optional input that represents the first VAE model. It is marked with forceInput: True, indicating that if this input is selected, a VAE must be provided. This parameter allows you to specify the first VAE model that you want to use in your workflow. By providing a VAE here, you can ensure that the node has a valid model to process when Input is set to 1.

input2

The input2 parameter is an optional input that represents the second VAE model. Similar to input1, it is marked with forceInput: True, meaning that a VAE must be provided if this input is selected. This parameter allows you to specify an alternative VAE model that can be used when Input is set to 2. By having two VAE options, you can easily compare and contrast the outputs of different models within the same workflow.

Vae Switch [RvTools] Output Parameters:

vae

The vae output parameter is the selected VAE model based on the Input parameter. This output is crucial as it provides the chosen VAE model for further processing in your workflow. The ability to dynamically select and output a specific VAE model allows for greater experimentation and flexibility in generating AI art, enabling you to tailor the VAE's influence on the final output according to your creative vision.

Vae Switch [RvTools] Usage Tips:

  • Use the Input parameter to quickly switch between different VAE models during experimentation to see how each model affects your output.
  • Ensure that both input1 and input2 are properly configured with valid VAE models to avoid errors and ensure smooth operation of the node.

Vae Switch [RvTools] Common Errors and Solutions:

Missing Input: Multi VAE Switch has no active Input

  • Explanation: This error occurs when neither input1 nor input2 is provided, or when the selected input does not have a valid VAE model.
  • Solution: Ensure that the selected input (either input1 or input2) is connected to a valid VAE model. Double-check your node connections and configurations to resolve this issue.

Vae Switch Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RvTools_v2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Vae Switch