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

ComfyUI Node: ControlNet Input Switch JKšŸ‰

Class Name

CR ControlNet 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

ControlNet Input Switch JKšŸ‰ Description

Dynamic selection between ControlNet inputs based on boolean condition for enhanced flexibility in AI art generation workflows.

ControlNet Input Switch JKšŸ‰:

The CR ControlNet Input Switch JK node is designed to dynamically select between two different ControlNet inputs based on a boolean condition. This node is particularly useful in scenarios where you need to switch between different ControlNet configurations or models depending on a specific condition or state within your AI art generation workflow. By providing a simple yet powerful mechanism to toggle between two ControlNet inputs, this node enhances flexibility and control over the creative process, allowing for more complex and conditional art generation setups.

ControlNet Input Switch JKšŸ‰ Input Parameters:

boolean_value

The boolean_value parameter is a boolean input that determines which ControlNet input will be selected. If set to True, the node will output the control_net_true input; if set to False, it will output the control_net_false input. This parameter allows for dynamic switching based on conditions within your workflow. The default value is False.

control_net_false

The control_net_false parameter is the ControlNet input that will be selected when the boolean_value is set to False. This input should be a valid ControlNet model or configuration that you want to use under the false condition.

control_net_true

The control_net_true parameter is the ControlNet input that will be selected when the boolean_value is set to True. This input should be a valid ControlNet model or configuration that you want to use under the true condition.

ControlNet Input Switch JKšŸ‰ Output Parameters:

CONTROL_NET

The CONTROL_NET output is the selected ControlNet input based on the boolean_value parameter. It will be either the control_net_false or control_net_true input, depending on the boolean condition. This output allows for conditional ControlNet configurations to be used in subsequent nodes.

BOOLEAN

The BOOLEAN output is the same as the boolean_value input parameter. It is provided as an output to allow for further conditional logic or debugging within your workflow.

ControlNet Input Switch JKšŸ‰ Usage Tips:

  • Use the boolean_value parameter to create dynamic and conditional workflows where different ControlNet models or configurations are needed based on specific conditions.
  • Combine this node with other logic nodes to create complex decision trees and enhance the flexibility of your AI art generation process.
  • Ensure that both control_net_false and control_net_true inputs are valid and properly configured ControlNet models to avoid unexpected results.

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

Invalid ControlNet Input

  • Explanation: One of the ControlNet inputs (control_net_false or control_net_true) is not a valid ControlNet model or configuration.
  • Solution: Verify that both control_net_false and control_net_true inputs are correctly set to valid ControlNet models or configurations.

Boolean Value Not Set

  • Explanation: The boolean_value parameter is not set, causing the node to fail in determining which ControlNet input to select.
  • Solution: Ensure that the boolean_value parameter is properly set to either True or False.

Missing ControlNet Input

  • Explanation: One of the required ControlNet inputs is missing.
  • Solution: Check that both control_net_false and control_net_true inputs are provided and correctly connected to valid ControlNet models.

ControlNet 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.