ComfyUI Node
LoRA by Name (LoRA Control)
Pick one LoRA whose name matches a pattern, at random or in sequence.
LoRA by Name (LoRA Control)
- lora_stack
- lora_stack
- lora
◄enabledtrue►
◄pattern►
◄strength1.00►
◄moderandom►
◄seed0►
◄match_folderfalse►
Categoryloaders/LoRA Control
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| enabled | BOOLEAN | true | — |
| pattern | STRING | Part of the file name, any case. Wildcards (* ? [..]) match the whole name instead: style-a* is every LoRA whose name starts with style-a. | |
| strength | FLOAT | 1.00-10–10 | — |
| mode | COMBO | random | random: a seeded random pick. sequence: each LoRA in name order, one per run. |
| seed | INT | 00–18446744073709550000 | Random: the same seed always picks the same LoRA. Sequence: the position in the sorted list, so set this to increment to take the next LoRA on every run. |
| match_folder | BOOLEAN | false | Also match the folder, so characters/ selects everything in that folder. |
| lora_stackopt | LORA_STACK | Chain another stack in; its LoRAs come first. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| lora_stack | LORA_STACK | — |
| lora | STRING | — |