ComfyUI Node
RandomModel
Randomly switch to a different Model which matches the search pattern after every N generations.
RandomModel
- MODEL
- CLIP
- VAE
- RESULT
◄pattern►
◄every7►
◄pausefalse►
◄skipfalse►
◄seed0►
Categoryloaders
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| pattern | STRING | Regular Expression | |
| every | INT | 71–99 | Change only takes effect every N generations. |
| pause | BOOLEAN | false | Pause the randomization and counting, keep generating with current model. |
| skip | BOOLEAN | false | Skip curent model. |
| seed | INT | 00–18446744073709550000 | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | The model used for denoising latents. |
| CLIP | CLIP | The CLIP model used for encoding text prompts. |
| VAE | VAE | The VAE model used for encoding and decoding images to and from latent space. |
| RESULT | STRING | List of model names that matches the pattern. |