Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline workflow by dynamically selecting from 4 input images based on integer input for AI art generation.
The CR Image Input Switch (4 way) node is designed to streamline your workflow by allowing you to dynamically select one of four input images based on a specified integer input. This node is particularly useful when you have multiple image options and need to switch between them seamlessly within your AI art generation process. By providing a simple mechanism to choose between up to four images, this node enhances flexibility and efficiency, ensuring that you can easily manage and manipulate different image inputs without manually changing the configuration each time. This can be especially beneficial in complex workflows where different images might be used at various stages or for different purposes.
The Input parameter is an integer that determines which of the four provided images will be selected. It accepts values ranging from 1 to 4, with a default value of 1. This parameter is crucial as it directs the node to output the corresponding image based on the integer value provided. For example, if Input is set to 2, the node will output the image connected to image2.
The image1 parameter is an optional input that accepts an image. This image will be selected if the Input parameter is set to 1. It allows you to provide the first image option for the switch.
The image2 parameter is an optional input that accepts an image. This image will be selected if the Input parameter is set to 2. It allows you to provide the second image option for the switch.
The image3 parameter is an optional input that accepts an image. This image will be selected if the Input parameter is set to 3. It allows you to provide the third image option for the switch.
The image4 parameter is an optional input that accepts an image. This image will be selected if the Input parameter is set to 4. It allows you to provide the fourth image option for the switch.
The IMAGE output parameter provides the image that corresponds to the integer value specified in the Input parameter. This output is crucial as it dynamically changes based on the input value, allowing for flexible and efficient image selection within your workflow.
The show_help output parameter is a string that contains a URL to the documentation for the node. This URL directs you to a detailed guide on how to use the node, providing additional context and examples to help you understand its functionality better.
Input parameter dynamically within your workflow to automate the selection of different images based on specific conditions or stages in your process.Input parameter value is outside the allowed range of 1 to 4. - Solution: Ensure that the Input parameter is set to an integer value between 1 and 4.Input parameter) is not provided.Input value.image1, image2, image3, and image4 parameters are in a compatible format.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.