ComfyUI  >  Nodes  >  Comfyroll Studio >  🔀 CR VAE Input Switch

ComfyUI Node: 🔀 CR VAE Input Switch

Class Name

CR VAE Input Switch

Category
🧩 Comfyroll Studio/🛠️ Utils/🔀 Logic
Author
Suzie1 (Account age: 2158 days)
Extension
Comfyroll Studio
Latest Updated
6/5/2024
Github Stars
0.5K

How to Install Comfyroll Studio

Install this extension via the ComfyUI Manager by searching for  Comfyroll Studio
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyroll Studio 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🔀 CR VAE Input Switch Description

Streamline VAE selection with dynamic input switching for AI art projects.

🔀 CR VAE Input Switch:

The CR VAE Input Switch node is designed to streamline the selection process between two Variational Autoencoders (VAEs) within your workflow. This node allows you to dynamically switch between two VAE inputs based on a specified integer input, making it easier to manage and experiment with different VAE models without manually changing the configuration each time. This functionality is particularly useful for AI artists who want to compare the outputs of different VAEs or need to switch models based on specific conditions in their creative process. By automating the selection process, the CR VAE Input Switch enhances efficiency and flexibility in your AI art projects.

🔀 CR VAE Input Switch Input Parameters:

Input

The Input parameter is an integer that determines which VAE input to select. It accepts values of 1 or 2, with a default value of 1. When set to 1, the node selects VAE1; when set to 2, it selects VAE2. This parameter allows you to control the VAE selection dynamically, enabling you to switch between different models based on your workflow requirements.

VAE1

The VAE1 parameter is an optional input that accepts a VAE model. This is the first VAE option that the node can select based on the Input parameter. If Input is set to 1, this VAE will be used in the workflow. This parameter is marked as forceInput, meaning it requires a valid VAE model to function correctly when selected.

VAE2

The VAE2 parameter is an optional input that accepts a VAE model. This is the second VAE option that the node can select based on the Input parameter. If Input is set to 2, this VAE will be used in the workflow. Similar to VAE1, this parameter is also marked as forceInput, requiring a valid VAE model to function correctly when selected.

🔀 CR VAE Input Switch Output Parameters:

VAE

The VAE output parameter returns the selected VAE model based on the Input parameter. This output is crucial as it determines which VAE will be used in the subsequent steps of your workflow, allowing for dynamic model selection and experimentation.

show_help

The show_help output parameter provides a URL link to the documentation for the CR VAE Input Switch node. This link directs you to a detailed guide on how to use the node, offering additional information and examples to help you understand its functionality better.

🔀 CR VAE Input Switch Usage Tips:

  • Use the Input parameter to dynamically switch between different VAE models in your workflow, allowing for easy comparison and experimentation.
  • Ensure that both VAE1 and VAE2 are valid VAE models to avoid errors and ensure smooth operation of the node.
  • Utilize the show_help output to access detailed documentation and examples, which can provide further insights into effectively using the node.

🔀 CR VAE Input Switch Common Errors and Solutions:

"Invalid VAE model input"

  • Explanation: This error occurs when either VAE1 or VAE2 is not provided or is invalid.
  • Solution: Ensure that both VAE1 and VAE2 are valid VAE models and are correctly connected to the node.

"Input parameter out of range"

  • Explanation: This error occurs when the Input parameter is set to a value other than 1 or 2. - Solution: Set the Input parameter to either 1 or 2 to select the appropriate VAE model.

"Missing required input"

  • Explanation: This error occurs when the required Input parameter is not provided.
  • Solution: Ensure that the Input parameter is set and within the valid range (1 or 2).

🔀 CR VAE Input Switch Related Nodes

Go back to the extension to check out more related nodes.
Comfyroll Studio
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.