ComfyUI Node
RandomLora
Randomly apply a different Lora that matches the search pattern after every N generations.
RandomLora
- model
- clip
- MODEL
- CLIP
- RESULT
◄pattern►
◄every7►
◄pausefalse►
◄skipfalse►
◄seed0►
◄strength_model1.00►
◄strength_clip1.00►
Categoryloaders
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | The diffusion model the LoRA will be applied to. | |
| clip | CLIP | The CLIP model the LoRA will be applied to. | |
| 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 lora. |
| skip | BOOLEAN | false | Skip curent model. |
| seed | INT | 00–18446744073709550000 | — |
| strength_model | FLOAT | 1.00-100–100 | How strongly to modify the diffusion model. This value can be negative. |
| strength_clip | FLOAT | 1.00-100–100 | How strongly to modify the CLIP model. This value can be negative. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | The modified diffusion model. |
| CLIP | CLIP | The modified CLIP model. |
| RESULT | STRING | List of lora names that matches the pattern. |