ComfyUI Node

Configurable Model Router

A dynamic model router that selects one of its inputs based on a configurable JSON mapping. How to Use: 1. **Configure Logic:** Edit the `routing_config` JSON to map condition strings (e.g., `"inpainting"`) to an input index (e.g., `2`). 2. The `"default"` key is used if no other condition matches.

By robertvoy·Created 2 years ago·Updated 8 months ago· 239
Configurable Model Router
  • model_1
  • model_2
  • model_3
  • model_4
  • model_5
  • MODEL
conditiondefault
routing_config{ "default": 1, "inpainting": 2, "depth": 3, "canny": 4 }
CategoryFlux-Continuum/Utilities

Inputs (7)

NameTypeDefaultDescription
conditionSTRINGdefault
routing_configSTRING{ "default": 1, "inpainting": 2, "depth": 3, "canny": 4 }
model_1optMODEL
model_2optMODEL
model_3optMODEL
model_4optMODEL
model_5optMODEL

Outputs (1)

NameTypeDescription
MODELMODEL