ComfyUI Node

RandomModel

Randomly switch to a different Model which matches the search pattern after every N generations.

By TeaCrab·Created 3 years ago·Updated 4 months ago· 5
RandomModel
    • MODEL
    • CLIP
    • VAE
    • RESULT
    pattern
    every7
    pausefalse
    skipfalse
    seed0
    Categoryloaders

    Inputs (5)

    NameTypeDefaultDescription
    patternSTRINGRegular Expression
    everyINT71–99Change only takes effect every N generations.
    pauseBOOLEANfalsePause the randomization and counting, keep generating with current model.
    skipBOOLEANfalseSkip curent model.
    seedINT00–18446744073709550000

    Outputs (4)

    NameTypeDescription
    MODELMODELThe model used for denoising latents.
    CLIPCLIPThe CLIP model used for encoding text prompts.
    VAEVAEThe VAE model used for encoding and decoding images to and from latent space.
    RESULTSTRINGList of model names that matches the pattern.