ComfyUI Node
The Last Model Switcher
The Last Model Switcher by Maxomarai Switch models with one click. Auto-selects compatible CLIP, VAE, and resolution. Outputs recommended sampler settings. Supports Flux 1, Flux 2, SDXL, and more.
The Last Model Switcher
- model
- vae
- positive
- negative
- width
- height
- steps
- cfg
- seed
◄model▾►
◄positive_prompt►
◄negative_prompt►
◄seed0►
◄width1024►
◄height1024►
◄steps20►
◄cfg1.0►
◄guidance3.5►
◄weight_dtypedefault►
Categoryloaders/Maxomarai
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | Select your model. Compatible CLIP and resolution options appear automatically. | |
| positive_prompt | STRING | Positive prompt. Encoded with the selected CLIP model. | |
| negative_prompt | STRING | Negative prompt. Only used for models that support it (SD, SDXL). Ignored for Flux. | |
| seed | INT | 00–18446744073709550000 | Random seed. Use the control to randomize, increment, or keep fixed between generations. |
| width | INT | 102464–8192 | Output width. Auto-set from preset, or type your own value. |
| height | INT | 102464–8192 | Output height. Auto-set from preset, or type your own value. |
| steps | INT | 201–10000 | Sampling steps. Auto-set from preset, or type your own value. |
| cfg | FLOAT | 1.00–100 | CFG scale. Auto-set from preset, or type your own value. |
| guidance | FLOAT | 3.50–100 | Flux guidance. Auto-set from preset, or type your own value. |
| weight_dtypeopt | COMBO | default | Weight dtype override for diffusion model. |
Outputs (9)
| Name | Type | Description |
|---|---|---|
| model | MODEL | — |
| vae | VAE | — |
| positive | CONDITIONING | Positive conditioning. FluxGuidance applied automatically for Flux models. |
| negative | CONDITIONING | Negative conditioning. Empty for Flux models, safe to keep connected. |
| width | INT | — |
| height | INT | — |
| steps | INT | — |
| cfg | FLOAT | — |
| seed | INT | Seed value. Connect to KSampler seed input. |