LoRA Stack With Triggers
The LoRA stack with trigger words — now superseded, still works
- model
- MODEL
- selected LoRAs
- labels
- trigger words
- trigger + prompt
The LoRA stack is one of the genuinely useful patterns in ComfyUI - the idea rgthree's Power Lora Loader made famous, which is exactly who AUN credits for inspiration. Instead of one LoRA per node, you get a single node with slots, and it applies them all to your model at once. AUNLoraStackWithTriggers is that pattern with a twist: every slot carries its own trigger words, and the node stitches them together so your prompt can be auto-populated with exactly the trigger words your active LoRAs need. The catch is in the name - this node is deprecated, and the pack wants you on its successor.
What it does
Up to 10 slots, each with a lora_N, strength_model_N, enabled_N, and trigger_N. Set num_slots to show only the ones you need. trigger_joiner is the string used to join triggers from active slots (default a comma), and dedupe_triggers removes repeats across slots and your base_prompt while preserving order - a nice touch, because the same trigger word on three LoRAs is a real occurrence.
The outputs are what make it more than a stack: MODEL (all active LoRAs applied), selected LoRAs (which ones are active, as a string), labels, trigger words, and trigger + prompt - the trigger words joined onto your base_prompt, ready to feed a CLIP Text Encode. That last one is the feature: set your base prompt once, and the node keeps the trigger words in sync with whichever LoRAs are enabled.
The apply_stack toggle is worth knowing: off, it returns the input model unchanged and suppresses the trigger text outputs - a clean way to A/B "LoRAs on vs off" in one switch.
Why it's deprecated
The successor, AUNLoraStackWithTriggersModelClip, adds per-slot CLIP strength (this node is model-only, so a LoRA that needs a separate CLIP-side strength - and plenty do - is only half-applied), plus compact mode with an overlay UI and drag-to-swap. The pack says this node will be removed in a future release. Keep it for old workflows; for anything new, use the Model Clip version.
Installing it
Ships in the AUN pack:
- ComfyUI Manager: search "AUN ComfyUI Nodes", install, restart.
- Manual:
cd custom_nodes && git clone https://github.com/loz2754/AUN-ComfyUI-Nodes, then restart. Manual installs andModuleNotFoundError: cv2?pip install -r custom_nodes/AUN-ComfyUI-Nodes/requirements.txt.
Common issues
The model-only limitation is the one that actually bites: if your stacked LoRAs include style or character LoRAs that affect text encoding, you'll get images that look half-applied because CLIP never got patched. That's the reason to move to the successor. Otherwise, watch the trigger output - with apply_stack off it goes silent, which confuses people who expected the triggers regardless. If your prompt suddenly loses its trigger words, check that toggle first.
Inputs (47)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| num_slots | INT | 41–10 | How many stack slots are active and visible. |
| apply_stack | BOOLEAN | true | When disabled, returns the input model unchanged and suppresses trigger text outputs. |
| trigger_joiner | STRING | , | String used to join trigger words from active slots. |
| dedupe_triggers | BOOLEAN | true | Remove duplicate trigger entries across slots and base prompt while preserving order. |
| lora_1 | COMBO | None | LoRA file for slot 1. |
| strength_model_1 | FLOAT | 1.00-20–20 | Model strength for slot 1. |
| enabled_1 | BOOLEAN | true | Enable LoRA slot 1. |
| trigger_1 | STRING | Trigger words for slot 1. | |
| lora_2 | COMBO | None | LoRA file for slot 2. |
| strength_model_2 | FLOAT | 1.00-20–20 | Model strength for slot 2. |
| enabled_2 | BOOLEAN | false | Enable LoRA slot 2. |
| trigger_2 | STRING | Trigger words for slot 2. | |
| lora_3 | COMBO | None | LoRA file for slot 3. |
| strength_model_3 | FLOAT | 1.00-20–20 | Model strength for slot 3. |
| enabled_3 | BOOLEAN | false | Enable LoRA slot 3. |
| trigger_3 | STRING | Trigger words for slot 3. | |
| lora_4 | COMBO | None | LoRA file for slot 4. |
| strength_model_4 | FLOAT | 1.00-20–20 | Model strength for slot 4. |
| enabled_4 | BOOLEAN | false | Enable LoRA slot 4. |
| trigger_4 | STRING | Trigger words for slot 4. | |
| lora_5 | COMBO | None | LoRA file for slot 5. |
| strength_model_5 | FLOAT | 1.00-20–20 | Model strength for slot 5. |
| enabled_5 | BOOLEAN | false | Enable LoRA slot 5. |
| trigger_5 | STRING | Trigger words for slot 5. | |
| lora_6 | COMBO | None | LoRA file for slot 6. |
| strength_model_6 | FLOAT | 1.00-20–20 | Model strength for slot 6. |
| enabled_6 | BOOLEAN | false | Enable LoRA slot 6. |
| trigger_6 | STRING | Trigger words for slot 6. | |
| lora_7 | COMBO | None | LoRA file for slot 7. |
| strength_model_7 | FLOAT | 1.00-20–20 | Model strength for slot 7. |
| enabled_7 | BOOLEAN | false | Enable LoRA slot 7. |
| trigger_7 | STRING | Trigger words for slot 7. | |
| lora_8 | COMBO | None | LoRA file for slot 8. |
| strength_model_8 | FLOAT | 1.00-20–20 | Model strength for slot 8. |
| enabled_8 | BOOLEAN | false | Enable LoRA slot 8. |
| trigger_8 | STRING | Trigger words for slot 8. | |
| lora_9 | COMBO | None | LoRA file for slot 9. |
| strength_model_9 | FLOAT | 1.00-20–20 | Model strength for slot 9. |
| enabled_9 | BOOLEAN | false | Enable LoRA slot 9. |
| trigger_9 | STRING | Trigger words for slot 9. | |
| lora_10 | COMBO | None | LoRA file for slot 10. |
| strength_model_10 | FLOAT | 1.00-20–20 | Model strength for slot 10. |
| enabled_10 | BOOLEAN | false | Enable LoRA slot 10. |
| trigger_10 | STRING | Trigger words for slot 10. | |
| base_promptopt | STRING | Optional prompt text appended after all active trigger words. | |
| selected_LoRAsopt | STRING | Pass-through and concatenate selected_LoRAs text. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |
| selected LoRAs | STRING | — |
| labels | STRING | — |
| trigger words | STRING | — |
| trigger + prompt | STRING | — |