Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline workflow by dynamically selecting latent inputs based on conditions for AI art projects.
The CR Latent Input Switch node is designed to streamline your workflow by allowing you to dynamically select between two latent inputs based on a specified condition. This node is particularly useful when you need to switch between different latent representations during the processing of your AI art projects. By providing a simple mechanism to choose between two latent inputs, it helps in creating more flexible and adaptive workflows. The node's primary function is to return one of the two latent inputs based on the value of the Input parameter, making it an essential tool for conditional processing in your AI art pipeline.
The Input parameter determines which latent input will be selected and passed through the node. It accepts an integer value with a default of 1, a minimum of 1, and a maximum of 2. When set to 1, the node will select latent1; when set to 2, it will select latent2. This parameter is crucial for controlling the flow of data through your workflow, allowing you to dynamically switch between different latent inputs based on your specific needs.
The latent1 parameter is an optional input that accepts a latent representation. This input will be selected and passed through the node if the Input parameter is set to 1. It allows you to provide one of the two possible latent inputs that the node can switch between, offering flexibility in your workflow.
The latent2 parameter is an optional input that accepts a latent representation. This input will be selected and passed through the node if the Input parameter is set to 2. Similar to latent1, it provides the second possible latent input for the node to switch between, enhancing the adaptability of your workflow.
The LATENT output parameter returns the selected latent input based on the value of the Input parameter. If Input is set to 1, latent1 is returned; if Input is set to 2, latent2 is returned. This output is essential for continuing the processing of your AI art project with the chosen latent representation.
The show_help output parameter provides a URL to the documentation for the CR Latent Input Switch node. This URL directs you to a detailed guide on how to use the node, offering additional support and information. It is a helpful resource for understanding the node's functionality and troubleshooting any issues that may arise.
Input parameter to dynamically switch between different latent inputs based on specific conditions in your workflow.latent1 and latent2 are properly defined and available to avoid any interruptions in your workflow.latent1 or latent2) is not provided.latent1 and latent2 are defined and available when the node is executed.Input parameter is set to a value outside the allowed range (1 or 2).Input parameter to either 1 or 2 to select the appropriate latent input.Input parameter value is properly defined and available.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.