π FRED Auto Lora Loader Dynamic
Ten LoRAs, one loader, and it can switch them on from your prompt text
- model
- optional_clip
- model
- clip
- showhelp
The 5-stack simple loader is the easy sibling; this is the flexible one. FRED_AutoLoraLoader_Dynamic lets you dial in anywhere from 1 to 10 LoRA slots, in two flavors, with the same prompt-keyed auto-switching that makes the FRED LoRA family interesting. If you manage a stable of character or style LoRAs and don't want a separate node per LoRA, this is the one you'll reach for.
Simple vs advanced mode
The mode dropdown changes what each slot exposes:
- simple - each slot has one
lora_strength_1, applied to both the model and the CLIP. That's the "I just want it at weight 1.2" path, and it's all most people ever need. - advanced - each slot splits into
lora_model_strength_1andlora_clip_strength_1. Worth knowing the LoRA math here: some LoRAs are trained mostly on the text encoder side, some on the UNet/DiT side, and tuning the two independently is how you get a character identity to stick without the style bleeding. It's also the setting where a "good" LoRA goes wrong if you crank both to the max.
num_loras (1β10) sets how many slots actually render. Start small and grow - ten slots of widgets is a lot of screen real estate even if every slot is tiny.
The auto mode, again
Each slot has switch_1 in off / on / auto, a search_word_1, and a lora_name_1. In auto, the loader checks whether any comma-separated word in search_word_1 appears in the text_prompt you feed in - case-insensitive substring match. Hit, the LoRA activates at its configured strength; miss, it's skipped. There's also a master toggle to disable the entire stack.
The honest reading: this is prompt-driven routing without any API calls or magic. The magic is all in how you name your search words. Character LoRA keyed to the character's name, style LoRA keyed to a distinctive style keyword, and one workflow adapts to whatever you type.
Outputs
modelandclip- the composed stack, ready for your sampler.showhelp- a STRING with the usage card (the other nodes call ithelp; this one's named differently).
Note what it does not output: no per-slot names or weights, and no loras_infos blob. If you want the applied-LoRA metadata for filenames, that's what FRED_ExtractLora_parameter or the 5-stack loader is for. This node is the pure model-stacking workhorse.
Install and requirements
cd ComfyUI/custom_nodes
git clone https://github.com/Poukpalaova/ComfyUI-FRED-Nodes_v2.git
Restart, or install "ComfyUI FRED Nodes v2" via ComfyUI Manager. It internally uses ComfyUI's own LoraLoader, so it needs nothing beyond the pack's standard numpy/Pillow dependencies and your LoRAs sitting in models/loras.
Gotchas
Slots with lora_name left at "None" are silently skipped - that's fine, not an error. But watch the interaction of auto with a blank search_word: auto with nothing to match defaults to off, so if a LoRA mysteriously never applies, check you didn't leave the search word empty. And in advanced mode, remember that clip and model strength are independent; setting model 1.0 / clip 0.0 effectively turns the LoRA into a visual-only effect, which is occasionally exactly what you want.
Inputs (66)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | β | |
| toggle | BOOLEAN | β | |
| mode | COMBO | 2 options: simple, advanced | |
| num_loras | INT | 11β10 | β |
| optional_clipopt | CLIP | β | |
| text_promptopt | STRING | β | |
| switch_1opt | COMBO | off | 3 options: auto, off, on |
| search_word_1opt | STRING | β | |
| lora_name_1opt | COMBO | None | 1 options: None |
| lora_strength_1opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_1opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_1opt | FLOAT | 1.00-10β10 | β |
| switch_2opt | COMBO | off | 3 options: auto, off, on |
| search_word_2opt | STRING | β | |
| lora_name_2opt | COMBO | None | 1 options: None |
| lora_strength_2opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_2opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_2opt | FLOAT | 1.00-10β10 | β |
| switch_3opt | COMBO | off | 3 options: auto, off, on |
| search_word_3opt | STRING | β | |
| lora_name_3opt | COMBO | None | 1 options: None |
| lora_strength_3opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_3opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_3opt | FLOAT | 1.00-10β10 | β |
| switch_4opt | COMBO | off | 3 options: auto, off, on |
| search_word_4opt | STRING | β | |
| lora_name_4opt | COMBO | None | 1 options: None |
| lora_strength_4opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_4opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_4opt | FLOAT | 1.00-10β10 | β |
| switch_5opt | COMBO | off | 3 options: auto, off, on |
| search_word_5opt | STRING | β | |
| lora_name_5opt | COMBO | None | 1 options: None |
| lora_strength_5opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_5opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_5opt | FLOAT | 1.00-10β10 | β |
| switch_6opt | COMBO | off | 3 options: auto, off, on |
| search_word_6opt | STRING | β | |
| lora_name_6opt | COMBO | None | 1 options: None |
| lora_strength_6opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_6opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_6opt | FLOAT | 1.00-10β10 | β |
| switch_7opt | COMBO | off | 3 options: auto, off, on |
| search_word_7opt | STRING | β | |
| lora_name_7opt | COMBO | None | 1 options: None |
| lora_strength_7opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_7opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_7opt | FLOAT | 1.00-10β10 | β |
| switch_8opt | COMBO | off | 3 options: auto, off, on |
| search_word_8opt | STRING | β | |
| lora_name_8opt | COMBO | None | 1 options: None |
| lora_strength_8opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_8opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_8opt | FLOAT | 1.00-10β10 | β |
| switch_9opt | COMBO | off | 3 options: auto, off, on |
| search_word_9opt | STRING | β | |
| lora_name_9opt | COMBO | None | 1 options: None |
| lora_strength_9opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_9opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_9opt | FLOAT | 1.00-10β10 | β |
| switch_10opt | COMBO | off | 3 options: auto, off, on |
| search_word_10opt | STRING | β | |
| lora_name_10opt | COMBO | None | 1 options: None |
| lora_strength_10opt | FLOAT | 1.00-10β10 | β |
| lora_model_strength_10opt | FLOAT | 1.00-10β10 | β |
| lora_clip_strength_10opt | FLOAT | 1.00-10β10 | β |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| model | MODEL | β |
| clip | CLIP | β |
| showhelp | STRING | β |