Table of Content
- Description
- 🔀 CR Text Input Switch:
- 🔀 CR Text Input Switch Input Parameters:
- 🔀 CR Text Input Switch Output Parameters:
- 🔀 CR Text Input Switch Usage Tips:
- 🔀 CR Text Input Switch Common Errors and Solutions:
- Related Nodes
ComfyUI Node: 🔀 CR Text Input Switch
Class Name
CR Text Input Switch
Category 🧩 Comfyroll Studio/🛠️ Utils/🔀 Logic
Author Suzie1 (Account age: 2158days)Extension Comfyroll StudioLatest Updated 2024-06-05Github Stars 0.49K
Github Ask Suzie1 Questions Current Questions Past Questions
How to Install Comfyroll Studio
Install this extension via the ComfyUI Manager by searching for Comfyroll Studio
-
- Click the Manager button in the main menu
-
- Select Custom Nodes Manager button
-
- 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
🔀 CR Text Input Switch Description
Streamline workflow by dynamically selecting between two text inputs based on conditions for AI art projects.
🔀 CR Text Input Switch:
The CR Text Input Switch node is designed to streamline your workflow by allowing you to dynamically select between two text inputs based on a specified condition. This node is particularly useful when you need to switch between different text options in your AI art projects, providing flexibility and control over the text data being used. By leveraging this node, you can easily manage and automate text input selection, enhancing the efficiency and adaptability of your creative processes.
🔀 CR Text Input Switch Input Parameters:
Input
This parameter determines which text input will be selected. It accepts an integer value with a minimum of 1 and a maximum of 2. The default value is 1. When set to 1, the node will select the first text input (text1
), and when set to 2, it will select the second text input (text2
). This parameter is crucial for controlling the flow of text data in your workflow.
text1
This is the first optional text input. It accepts a string value and is forced to be provided if used. This text will be selected if the Input
parameter is set to 1. This parameter allows you to specify the first text option that can be dynamically chosen based on the Input
value.
text2
This is the second optional text input. Similar to text1
, it accepts a string value and is forced to be provided if used. This text will be selected if the Input
parameter is set to 2. This parameter allows you to specify the second text option that can be dynamically chosen based on the Input
value.
🔀 CR Text Input Switch Output Parameters:
STRING
This output provides the selected text input based on the value of the Input
parameter. It will return either text1
or text2
, depending on whether Input
is set to 1 or 2, respectively. This output is essential for passing the chosen text to subsequent nodes in your workflow.
show_help
This output provides a URL to the help documentation for the CR Text Input Switch node. The URL is https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Logic-Nodes#cr-text-input-switch
. This output is useful for accessing detailed information and guidance on using the node effectively.
🔀 CR Text Input Switch Usage Tips:
- Ensure that the
Input
parameter is set correctly to switch between the desired text inputs (text1
ortext2
). - Use this node to manage different text options dynamically, which can be particularly useful in scenarios where text content needs to change based on specific conditions or inputs.
🔀 CR Text Input Switch Common Errors and Solutions:
Missing required input: text1 or text2
- Explanation : This error occurs when one of the required text inputs (
text1
ortext2
) is not provided. - Solution : Ensure that both
text1
andtext2
are provided if they are being used in the node configuration.
Invalid Input value
- Explanation : This error occurs when the
Input
parameter is set to a value outside the allowed range (1 to 2). - Solution : Set the
Input
parameter to a valid integer value within the range of 1 to 2.