LoRA Stack With Triggers (Model+Clip)
Model + clip strength per slot, triggers included
- model
- clip
- MODEL
- CLIP
- selected LoRAs
- labels
- trigger words
- trigger + prompt
This is the LoRA stack done properly, and the one AUN wants you actually using. AUNLoraStackWithTriggersModelClip takes the "one node, ten LoRA slots, per-slot trigger words" idea from the (now-deprecated) AUNLoraStackWithTriggers and fixes its biggest gap: every slot now has both a model strength and a clip strength, with an optional CLIP input. That matters because a lot of real-world LoRAs - style LoRAs especially - need to patch the text encoder as well as the model. The old node silently half-applied those; this one doesn't.
How it works
Ten slots, each with lora_N, strength_model_N, strength_clip_N, enabled_N, and trigger_N. Connect your model and (optionally) your clip, set num_slots to the number you need, and the node applies every enabled slot to both, in one shot. Per-slot toggles let you A/B individual LoRAs without deleting anything. When apply_stack is off, it returns the input model and CLIP unchanged and clears the text outputs - an instant "stack on/off" switch.
The trigger handling is the killer feature. trigger_joiner sets the separator between triggers, dedupe_triggers removes duplicates across slots and your base_prompt, and the outputs hand you everything: MODEL, CLIP, selected LoRAs, labels, trigger words, and trigger + prompt - the base prompt with the active slots' triggers appended, ready to wire straight into CLIP Text Encode. Set your prompt once; the trigger words stay in sync with whatever's enabled.
It's also the best-dressed node in this family UI-wise. Compact mode (double-click or right-click) hides the config behind an overlay, and in compact view you can drag a LoRA label onto another to swap their values - genuinely handy when you're trying out orderings, since LoRA application order changes the result.
Inputs and outputs
Inputs: model, optional clip, num_slots, apply_stack, trigger_joiner, dedupe_triggers, base_prompt, and the 10-slot set (lora_N / strength_model_N / strength_clip_N / enabled_N / trigger_N).
Outputs: MODEL, CLIP, selected LoRAs, labels, trigger words, trigger + prompt.
Installing it
Part of 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 usual stack gotchas apply: strength_clip_N only does anything when a CLIP is connected, so if your text encoding looks wrong, check you actually wired the CLIP input. And trigger words are only useful if the prompt actually uses them - if you're not feeding trigger + prompt into your text encoder, the trigger plumbing is doing nothing for you. Order matters, so if two LoRAs fight, try dragging one ahead of the other rather than just dropping strengths.
Inputs (58)
| 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 clears all LoRA-derived 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. |
| strength_clip_1 | FLOAT | 1.00-20–20 | Clip strength for slot 1 when CLIP is connected. |
| 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. |
| strength_clip_2 | FLOAT | 1.00-20–20 | Clip strength for slot 2 when CLIP is connected. |
| 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. |
| strength_clip_3 | FLOAT | 1.00-20–20 | Clip strength for slot 3 when CLIP is connected. |
| 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. |
| strength_clip_4 | FLOAT | 1.00-20–20 | Clip strength for slot 4 when CLIP is connected. |
| 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. |
| strength_clip_5 | FLOAT | 1.00-20–20 | Clip strength for slot 5 when CLIP is connected. |
| 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. |
| strength_clip_6 | FLOAT | 1.00-20–20 | Clip strength for slot 6 when CLIP is connected. |
| 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. |
| strength_clip_7 | FLOAT | 1.00-20–20 | Clip strength for slot 7 when CLIP is connected. |
| 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. |
| strength_clip_8 | FLOAT | 1.00-20–20 | Clip strength for slot 8 when CLIP is connected. |
| 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. |
| strength_clip_9 | FLOAT | 1.00-20–20 | Clip strength for slot 9 when CLIP is connected. |
| 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. |
| strength_clip_10 | FLOAT | 1.00-20–20 | Clip strength for slot 10 when CLIP is connected. |
| enabled_10 | BOOLEAN | false | Enable LoRA slot 10. |
| trigger_10 | STRING | Trigger words for slot 10. | |
| clipopt | CLIP | — | |
| base_promptopt | STRING | Optional prompt text appended after all active trigger words. | |
| selected_LoRAsopt | STRING | Pass-through and concatenate selected_LoRAs text. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |
| CLIP | CLIP | — |
| selected LoRAs | STRING | — |
| labels | STRING | — |
| trigger words | STRING | — |
| trigger + prompt | STRING | — |