comfyui-lora-control Introduction
comfyui-lora-control helps you organize and try LoRAs in ComfyUI without repeatedly rewiring your workflow. You can choose specific LoRAs, select one by its name or folder, or let the extension rotate through a collection. Once you have built your selection, one node applies the entire stack to your model.
This is useful when you want to keep a few favorite LoRAs active while trying different characters or styles. For example, you could keep two helper LoRAs in place and select a different style LoRA from a folder for each image.
The extension provides four nodes, found under loaders › LoRA Control. They select and apply LoRAs already available to ComfyUI; they do not download, move, or change your LoRA files.
How comfyui-lora-control Works
Think of a LoRA stack as a playlist. Each selection node adds an entry, and Apply LoRA Stack plays the list by loading its LoRAs onto the MODEL and CLIP inputs. You can connect selection nodes in any order, then send the finished stack to the apply node.
The stack uses the standard LORA_STACK type also used by Comfyroll and Efficiency stack nodes. This lets you chain LoRA Control nodes with those packs. Each LoRA Control node also produces a text line identifying what it selected. Connect that text to a Preview Any node, or use it in a filename prefix, when you want a record of a changing selection.
Order matters for exact repeatability. The apply node loads LoRAs from first to last. Changing their order can make a small difference to the image, even when the LoRAs and seed stay the same. Keep the order fixed when you want to reproduce a result precisely.
comfyui-lora-control Features
| Node | What it does | When to use it |
|---|---|---|
| LoRA Stack | Adds up to six individually controlled LoRAs. Each has its own on/off setting and strength. | Keep a set of favorites or helper LoRAs together, and adjust them independently. |
| LoRA by Name | Selects one LoRA whose name matches your pattern. | Explore LoRAs with a naming convention, such as character files beginning with char-. |
| LoRA from Folder | Selects one LoRA from a chosen folder, optionally including its subfolders. | Try styles or characters that you have organized into folders. |
| Apply LoRA Stack | Applies the stack to MODEL and CLIP. | Finish your selection and pass the resulting model and CLIP into the rest of your workflow. |
Choosing by name
In LoRA by Name, pattern can be any part of a filename, regardless of capitalization. For example, char- matches both char-Alice.safetensors and CHAR-Bella.safetensors.
Normally, the node checks filenames, not their folder paths. Turn on match_folder when you want a folder name to count too: a pattern such as characters/ can then select LoRAs in that folder.
You can also use wildcards to match a whole name more precisely. For example, char-A* targets char- names that start with A, while *-ink targets names ending in -ink.
Choosing from a folder
LoRA from Folder lists folders under models/loras that contain LoRAs. Choose (root) for LoRAs stored directly at the top level. Turn on include_subfolders if you also want the selected folder’s nested folders to be considered.
Choosing randomly or in sequence
Both LoRA by Name and LoRA from Folder offer two selection modes:
randomchooses one matching LoRA using the seed. The same seed produces the same selection. The seed control is set to randomize when you switch to this mode, so it can make a fresh choice on each run.sequencegoes through matching LoRAs in name order, one per run, then returns to the beginning. Here, the seed represents the position in the list. Set it to0to start at the top. Switching to this mode sets the seed control to increment.
Changing modes changes the seed control; otherwise, the extension leaves your saved seed-control setting alone. In random mode, a picker also avoids LoRAs already selected earlier in the stack. Sequence mode does not skip them, so its order stays predictable.
If a name pattern or selected folder contains no matching LoRAs, the run stops with an error identifying the pattern or folder. This makes an empty selection visible instead of silently producing an image without the LoRA you expected.
comfyui-lora-control Models
The extension does not include its own image-generation models or LoRAs. It works with the model and LoRA files available in your ComfyUI setup.
The included LoRA Control - Z-Image Turbo example workflow is based on ComfyUI’s Z-Image Turbo template. It uses the template’s z_image_turbo_bf16, qwen_3_4b, and ae model files; download links appear in the workflow note. The example can run with no LoRAs selected, which gives you a way to check the underlying models before adding LoRA effects. You can find it at Workflow › Browse Templates › comfyui-lora-control › LoRA Control - Z-Image Turbo.
Troubleshooting comfyui-lora-control
A name pattern finds no LoRAs
- Read the error to see which pattern failed.
- Check that at least one available LoRA filename contains the text you entered. Matching is not case-sensitive.
- If you intended to match a folder name, turn on
match_folder. - If you used wildcards, check that the pattern describes the whole name you want to match.
A folder selection finds no LoRAs
- Check that the chosen folder contains LoRAs.
- If the files are only in folders beneath it, turn on
include_subfolders. - If your LoRAs are directly in
models/loras, choose(root).
A random selection keeps picking the same LoRA
Check the seed. The same seed deliberately produces the same choice, which helps you revisit an earlier result. When you switch to random mode, the seed control is set to randomize for fresh choices on subsequent runs.
Sequence does not start where expected
Set the seed to 0 to begin at the top of the name-ordered list. In sequence mode, the seed is the list position, and the control is set to increment when you switch to that mode.
I cannot tell which LoRA was selected
Use the selection node’s text output. Connect it to a Preview Any node to see the choice in your workflow, or include it in a filename prefix to identify saved results.
Frequently asked questions
Can I use a fixed LoRA and a changing LoRA together?
Yes. Add your fixed LoRA with LoRA Stack, then connect a LoRA by Name or LoRA from Folder node to choose another one.
Will two random name pickers select the same LoRA?
In random mode, a picker skips LoRAs already earlier in the stack. Sequence mode does not skip them, because doing so would change the sequence.
Does the extension change my LoRA files?
No. Its nodes only choose and apply LoRAs; they do not modify, move, or download files.
Why did changing stack order slightly change my image?
LoRAs are applied in stack order, and changing that order can produce a small difference. Keep both the order and seed unchanged when comparing or reproducing images.
Learn More about comfyui-lora-control
- Browse the extension on the Comfy Registry.
- View the author’s project repository.
- Open Workflow › Browse Templates › comfyui-lora-control › LoRA Control - Z-Image Turbo in ComfyUI for an example of how the nodes connect.
