ComfyUI > Nodes > ComfyUI-RvTools_v2 > Model Switch

ComfyUI Node: Model Switch

Class Name

Model Switch [RvTools]

Category
🫦 RvTools II/ Switches
Author
r-vage (Account age: 317days)
Extension
ComfyUI-RvTools_v2
Latest Updated
2026-03-27
Github Stars
0.02K

How to Install ComfyUI-RvTools_v2

Install this extension via the ComfyUI Manager by searching for ComfyUI-RvTools_v2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RvTools_v2 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Model Switch Description

Facilitates dynamic model selection in workflows for flexible AI art generation.

Model Switch [RvTools]:

The Model Switch [RvTools] node is designed to facilitate the dynamic selection between two different models within a workflow. This node is particularly useful when you need to switch between models based on specific conditions or preferences, allowing for greater flexibility and control in your AI art generation process. By providing a simple mechanism to toggle between models, it enhances the adaptability of your workflow, enabling you to experiment with different model outputs without manually reconfiguring your setup. This node is essential for artists who wish to streamline their creative process by easily integrating multiple models and switching between them as needed.

Model Switch [RvTools] Input Parameters:

Input

The Input parameter is an integer that determines which model will be selected for use. It accepts values of either 1 or 2, with a default value of 1. When set to 1, the node selects the first model (input1), and when set to 2, it selects the second model (input2). This parameter is crucial for directing the node to the desired model, allowing you to control the flow of your workflow based on your artistic needs.

input1

The input1 parameter is an optional input that represents the first model you wish to use. It is a model type input that must be provided if you intend to use it as one of the selectable models. This parameter is essential for defining the first option in your model switch setup, ensuring that the node has a valid model to select when Input is set to 1.

input2

The input2 parameter is an optional input that represents the second model you wish to use. Similar to input1, it is a model type input that must be provided if you intend to use it as one of the selectable models. This parameter allows you to define the second option in your model switch setup, providing the node with an alternative model to select when Input is set to 2.

Model Switch [RvTools] Output Parameters:

model

The model output parameter is the result of the node's execution, returning the selected model based on the Input parameter. This output is crucial as it determines which model will be used in subsequent nodes or processes within your workflow. By providing the selected model, this output allows for seamless integration and continuation of your creative process, ensuring that the desired model is utilized effectively.

Model Switch [RvTools] Usage Tips:

  • Ensure that both input1 and input2 are properly configured with valid models to avoid execution errors when switching between them.
  • Use the Input parameter strategically to dynamically change models based on specific conditions or stages in your workflow, enhancing flexibility and creativity.

Model Switch [RvTools] Common Errors and Solutions:

Missing Input: Multi Model Switch has no active Input.

  • Explanation: This error occurs when neither input1 nor input2 is provided, leaving the node without a valid model to select.
  • Solution: Ensure that at least one of the model inputs (input1 or input2) is connected to a valid model to prevent this error.

Invalid Input Value

  • Explanation: This error arises when the Input parameter is set to a value outside the allowed range of 1 to 2.
  • Solution: Verify that the Input parameter is set to either 1 or 2 to ensure proper model selection.

Model Switch Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RvTools_v2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.

Model Switch