ComfyUI Node
PSN Dynamic Model Selector
Selects a model checkpoint based on a parameter from an external source. This node resolves a model path from a list of candidates by matching a selector value. It supports exact, case-insensitive, and contains matching modes. If no match is found, it can raise an error, return the first model, or return an empty string.
PSN Dynamic Model Selector
- model_list
- model_path
- model_name
- matched
- reason
◄selector_keymodel_name►
◄selector_value►
◄match_modeexact►
◄on_missingerror►
◄default_model►
CategoryParametric/Models
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| model_list | LIST | Model list. | |
| selector_key | STRING | model_name | Selector key. Default model_name. |
| selector_value | STRING | Selector value. | |
| match_mode | COMBO | exact | Match mode. One of 3 choices. Default exact. |
| on_missing | COMBO | error | On missing. One of 3 choices. Default error. |
| default_modelopt | STRING | Default model. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| model_path | STRING | — |
| model_name | STRING | — |
| matched | BOOLEAN | — |
| reason | STRING | — |