Nodes/The Last Model Switcher/The Last Model Switcher
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.

By maxomarai·Created 4 months ago·Updated 4 months ago· 0
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)

    NameTypeDefaultDescription
    modelCOMBOSelect your model. Compatible CLIP and resolution options appear automatically.
    positive_promptSTRINGPositive prompt. Encoded with the selected CLIP model.
    negative_promptSTRINGNegative prompt. Only used for models that support it (SD, SDXL). Ignored for Flux.
    seedINT00–18446744073709550000Random seed. Use the control to randomize, increment, or keep fixed between generations.
    widthINT102464–8192Output width. Auto-set from preset, or type your own value.
    heightINT102464–8192Output height. Auto-set from preset, or type your own value.
    stepsINT201–10000Sampling steps. Auto-set from preset, or type your own value.
    cfgFLOAT1.00–100CFG scale. Auto-set from preset, or type your own value.
    guidanceFLOAT3.50–100Flux guidance. Auto-set from preset, or type your own value.
    weight_dtypeoptCOMBOdefaultWeight dtype override for diffusion model.

    Outputs (9)

    NameTypeDescription
    modelMODEL
    vaeVAE
    positiveCONDITIONINGPositive conditioning. FluxGuidance applied automatically for Flux models.
    negativeCONDITIONINGNegative conditioning. Empty for Flux models, safe to keep connected.
    widthINT
    heightINT
    stepsINT
    cfgFLOAT
    seedINTSeed value. Connect to KSampler seed input.