Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline workflow by dynamically selecting between two models based on input for controlled model switching and increased flexibility.
The CR Model Input Switch node is designed to streamline your workflow by allowing you to dynamically select between two different models based on a specified input. This node is particularly useful when you need to switch between models in a controlled manner, ensuring that the appropriate model is used for your specific task. By providing a simple integer input, you can easily toggle between two models, making your workflow more flexible and efficient. This node is ideal for scenarios where you need to test different models or switch models based on certain conditions without manually changing the configuration each time.
This parameter determines which model will be selected. 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 model1
; when set to 2, it will select model2
. This allows you to easily switch between the two models based on your needs.
This is an optional parameter that accepts a model. When the Input
parameter is set to 1, this model will be selected. If not provided, the node will return None
for this model.
This is an optional parameter that accepts a model. When the Input
parameter is set to 2, this model will be selected. If not provided, the node will return None
for this model.
This output returns the selected model based on the Input
parameter. If Input
is set to 1, it returns model1
; if Input
is set to 2, it returns model2
. This allows you to dynamically switch between models in your workflow.
This output provides a URL to the documentation for the CR Model Input Switch node. This is useful for quickly accessing detailed information and usage examples for the node.
Input
parameter to dynamically switch between models in your workflow, making it easier to test different models or adapt to changing conditions.model1
and model2
are properly configured and available to avoid unexpected results.show_help
output to quickly access the node's documentation for additional guidance and examples.NoneType
object has no attributemodel1
or model2
) is not provided, resulting in a None
value.model1
and model2
are properly configured and available when using the node.Input
parameter is set to a value outside the allowed range (1 to 2).Input
parameter to a valid integer value within the range of 1 to 2.model1
or model2
) cannot be found or is not properly loaded.© Copyright 2024 RunComfy. All Rights Reserved.