ComfyUI Node

RandomLora

Randomly apply a different Lora that matches the search pattern after every N generations.

By TeaCrab·Created 3 years ago·Updated 4 months ago· 5
RandomLora
  • model
  • clip
  • MODEL
  • CLIP
  • RESULT
pattern
every7
pausefalse
skipfalse
seed0
strength_model1.00
strength_clip1.00
Categoryloaders

Inputs (9)

NameTypeDefaultDescription
modelMODELThe diffusion model the LoRA will be applied to.
clipCLIPThe CLIP model the LoRA will be applied to.
patternSTRINGRegular Expression
everyINT71–99Change only takes effect every N generations.
pauseBOOLEANfalsePause the randomization and counting, keep generating with current lora.
skipBOOLEANfalseSkip curent model.
seedINT00–18446744073709550000
strength_modelFLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative.
strength_clipFLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative.

Outputs (3)

NameTypeDescription
MODELMODELThe modified diffusion model.
CLIPCLIPThe modified CLIP model.
RESULTSTRINGList of lora names that matches the pattern.