Visit ComfyUI Online for ready-to-use ComfyUI environment
Flexible image selector node with availability check and "Proverb of the day" output for seamless workflow.
The DynamicImageSwitch node is designed to provide a flexible mechanism for selecting between multiple image inputs, allowing you to dynamically switch between different images based on their availability. This node is particularly useful in scenarios where you have multiple image sources and need to choose one to proceed with in your workflow. The node checks the availability of each image input in a specified order and selects the first available image, ensuring that your workflow continues smoothly without interruptions. Additionally, it provides a whimsical touch by returning a "Proverb of the day" as part of its output, adding a bit of fun to your creative process.
The image1 parameter is an optional input that accepts an image. It is the first image the node checks for availability. If image1 is provided and not None, it will be selected as the output image. This parameter allows you to prioritize a specific image in your workflow. There are no specific minimum or maximum values, as it simply requires a valid image input.
The image2 parameter is another optional input that accepts an image. It serves as a fallback option if image1 is not available. If image1 is None or not provided, the node will check image2 next. This parameter ensures that your workflow can continue with an alternative image if the primary one is unavailable.
The image3 parameter is the third optional input that accepts an image. It acts as a secondary fallback option if both image1 and image2 are unavailable. If neither of the first two images is provided, the node will check image3 as the last resort. This parameter provides an additional layer of flexibility in your image selection process.
The IMAGE output parameter returns the selected image from the available inputs. It represents the image that the node has chosen based on the availability of image1, image2, and image3. If none of the images are available, this output will be None. This output is crucial for continuing your workflow with the appropriate image.
The show_help output parameter provides a string containing a "Proverb of the day." This output adds a playful element to the node's functionality, offering a light-hearted message alongside the image output. While it does not impact the technical execution of the node, it can provide a moment of amusement during your creative process.
image1, ensuring it is selected first if available.image2 and image3 as backup options to maintain workflow continuity in case the primary image is unavailable.image1, image2, or image3) are provided or all are None.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.