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

ComfyUI Node: Pipe Input Switch JKšŸ‰

Class Name

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

Pipe Input Switch JKšŸ‰ Description

Facilitates conditional routing in AI art workflows by dynamically switching between pipeline inputs based on boolean condition.

Pipe Input Switch JKšŸ‰:

The CR Pipe Input Switch JK node is designed to facilitate conditional routing within your AI art workflows. This node allows you to dynamically switch between two different pipeline inputs based on a boolean condition. By leveraging this node, you can create more flexible and adaptive workflows that respond to specific conditions or states, enhancing the overall efficiency and customization of your AI art generation process. The primary function of this node is to evaluate a boolean value and route the appropriate pipeline input accordingly, ensuring that the correct data flow is maintained based on the specified condition.

Pipe Input Switch JKšŸ‰ Input Parameters:

boolean_value

This parameter is a boolean input that determines which pipeline input will be selected. If set to True, the node will route the pipe_true input; if set to False, it will route the pipe_false input. The default value is False.

pipe_false

This parameter represents the pipeline input that will be used when the boolean_value is False. It is a required input and must be connected to a valid pipeline.

pipe_true

This parameter represents the pipeline input that will be used when the boolean_value is True. It is a required input and must be connected to a valid pipeline.

Pipe Input Switch JKšŸ‰ Output Parameters:

PIPE_LINE

This output represents the selected pipeline input based on the evaluation of the boolean_value. It will output either the pipe_false or pipe_true input, depending on the boolean condition.

BOOLEAN

This output simply returns the evaluated boolean_value, allowing you to track the condition that was used to determine the pipeline routing.

Pipe Input Switch JKšŸ‰ Usage Tips:

  • Use the boolean_value parameter to create conditional logic in your workflows, enabling dynamic switching between different pipeline inputs based on specific criteria.
  • Ensure that both pipe_false and pipe_true inputs are connected to valid pipelines to avoid interruptions in data flow.
  • Combine this node with other logic nodes to create complex conditional workflows that can adapt to various scenarios and requirements.

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

"Missing required input: pipe_false"

  • Explanation: This error occurs when the pipe_false input is not connected to a valid pipeline.
  • Solution: Ensure that the pipe_false input is properly connected to a valid pipeline.

"Missing required input: pipe_true"

  • Explanation: This error occurs when the pipe_true input is not connected to a valid pipeline.
  • Solution: Ensure that the pipe_true input is properly connected to a valid pipeline.

"Invalid boolean_value"

  • Explanation: This error occurs when the boolean_value is not a valid boolean.
  • Solution: Ensure that the boolean_value is set to either True or False.

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