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

ComfyUI Node: 🔀 CR ControlNet Input Switch

Class Name

CR ControlNet 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 ControlNet Input Switch Description

Automate selection between ControlNet inputs based on conditions for enhanced workflow efficiency in AI art projects.

🔀 CR ControlNet Input Switch:

The CR ControlNet Input Switch node is designed to streamline your workflow by allowing you to dynamically select between two different ControlNet inputs based on a specified condition. This node is particularly useful when you have multiple ControlNet configurations and need to switch between them without manually changing the settings each time. By automating the selection process, it enhances efficiency and flexibility in your AI art projects, ensuring that the appropriate ControlNet input is used as per your requirements.

🔀 CR ControlNet Input Switch Input Parameters:

Input

This parameter determines which ControlNet input to use. It accepts an integer value with a default of 1, a minimum of 1, and a maximum of 2. If set to 1, the node will select control_net1; if set to 2, it will select control_net2. This allows you to easily switch between two different ControlNet configurations.

control_net1

This is the first ControlNet input option. When the Input parameter is set to 1, this ControlNet configuration will be used. This parameter is optional but recommended if you want to utilize the switching functionality effectively.

control_net2

This is the second ControlNet input option. When the Input parameter is set to 2, this ControlNet configuration will be used. Like control_net1, this parameter is optional but necessary for the node to function as intended.

🔀 CR ControlNet Input Switch Output Parameters:

CONTROL_NET

This output provides the selected ControlNet configuration based on the Input parameter. It will be either control_net1 or control_net2, depending on the value of Input. This allows the subsequent nodes in your workflow to use the appropriate ControlNet configuration automatically.

show_help

This output provides a URL to the documentation for the CR ControlNet Input Switch node. It is a string that directs you to a detailed guide on how to use this node effectively, which can be very helpful for troubleshooting and advanced usage.

🔀 CR ControlNet Input Switch Usage Tips:

  • Ensure that both control_net1 and control_net2 are properly configured before using the switch to avoid unexpected results.
  • Use the Input parameter to dynamically change the ControlNet configuration based on different conditions in your workflow, such as different stages of image processing.
  • Refer to the show_help URL for detailed documentation and examples to maximize the node's potential.

🔀 CR ControlNet Input Switch Common Errors and Solutions:

"Invalid Input value"

  • Explanation: The Input parameter must be either 1 or 2. - Solution: Ensure that the Input parameter is set to a valid integer value within the specified range (1 or 2).

"Missing ControlNet input"

  • Explanation: One or both of the ControlNet inputs (control_net1 or control_net2) are not provided.
  • Solution: Make sure to provide valid ControlNet configurations for both control_net1 and control_net2 to utilize the switching functionality effectively.

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