ComfyUI > Nodes > ComfyUI-JakeUpgrade > VAE Input Switch JKšŸ‰

ComfyUI Node: VAE Input Switch JKšŸ‰

Class Name

CR VAE Input Switch JK

Category
šŸ‰ JK/šŸ”€ Logic
Author
jakechai (Account age: 1902days)
Extension
ComfyUI-JakeUpgrade
Latest Updated
2025-05-20
Github Stars
0.08K

How to Install ComfyUI-JakeUpgrade

Install this extension via the ComfyUI Manager by searching for ComfyUI-JakeUpgrade
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-JakeUpgrade 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 Input Switch JKšŸ‰ Description

Dynamically switch between VAE models based on boolean input for AI art generation pipeline efficiency.

VAE Input Switch JKšŸ‰:

The CR VAE Input Switch JK node is designed to dynamically switch between two different Variational Autoencoders (VAEs) based on a boolean input. This node is particularly useful in scenarios where you need to conditionally select between two VAE models during the execution of your AI art generation pipeline. By leveraging this node, you can streamline your workflow and ensure that the appropriate VAE is used based on specific conditions, enhancing the flexibility and efficiency of your creative process.

VAE Input Switch JKšŸ‰ Input Parameters:

boolean_value

This parameter determines which VAE model will be selected. It accepts a boolean value (True or False). When set to True, the node will select the VAE model specified in the VAE_true parameter. Conversely, when set to False, it will select the VAE model specified in the VAE_false parameter. The default value is False.

VAE_false

This parameter specifies the VAE model to be used when boolean_value is set to False. It requires a VAE model input and is mandatory for the node to function correctly. This ensures that a valid VAE model is always available for selection when the boolean condition is not met.

VAE_true

This parameter specifies the VAE model to be used when boolean_value is set to True. Similar to VAE_false, it requires a VAE model input and is mandatory for the node to function correctly. This ensures that a valid VAE model is always available for selection when the boolean condition is met.

VAE Input Switch JKšŸ‰ Output Parameters:

VAE

This output provides the selected VAE model based on the value of the boolean_value parameter. If boolean_value is True, the output will be the VAE model specified in VAE_true. If boolean_value is False, the output will be the VAE model specified in VAE_false. This allows for dynamic switching between VAE models in your workflow.

BOOLEAN

This output simply returns the value of the boolean_value parameter. It can be used for further conditional logic or debugging purposes within your node-based workflow.

VAE Input Switch JKšŸ‰ Usage Tips:

  • Use the boolean_value parameter to create conditional logic in your workflow, allowing you to switch between different VAE models based on specific criteria or triggers.
  • Ensure that both VAE_false and VAE_true parameters are always provided with valid VAE models to avoid interruptions in your workflow.

VAE Input Switch JKšŸ‰ Common Errors and Solutions:

Missing VAE model input

  • Explanation: This error occurs when either VAE_false or VAE_true parameters are not provided with a valid VAE model.
  • Solution: Ensure that both VAE_false and VAE_true parameters are assigned valid VAE models before executing the node.

Invalid boolean value

  • Explanation: This error occurs when the boolean_value parameter is not set to a valid boolean (True or False).
  • Solution: Verify that the boolean_value parameter is correctly set to either True or False before executing the node.

VAE Input Switch JKšŸ‰ Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-JakeUpgrade
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 Playground, enabling artists to harness the latest AI tools to create incredible art.