Nodes/AUN ComfyUI Nodes/LoRA Stack With Triggers
ComfyUI Node

LoRA Stack With Triggers

The LoRA stack with trigger words — now superseded, still works

By loz2754·Created 9 months ago·Updated 11 days ago· 7
LoRA Stack With Triggers
  • model
  • MODEL
  • selected LoRAs
  • labels
  • trigger words
  • trigger + prompt
◄num_slots4►
◄apply_stacktrue►
◄trigger_joiner, ►
◄dedupe_triggerstrue►
◄lora_1None►
◄strength_model_11.00►
◄enabled_1true►
◄trigger_1►
◄lora_2None►
◄strength_model_21.00►
◄enabled_2false►
◄trigger_2►
◄lora_3None►
◄strength_model_31.00►
◄enabled_3false►
◄trigger_3►
◄lora_4None►
◄strength_model_41.00►
◄enabled_4false►
◄trigger_4►
◄lora_5None►
◄strength_model_51.00►
◄enabled_5false►
◄trigger_5►
◄lora_6None►
◄strength_model_61.00►
◄enabled_6false►
◄trigger_6►
◄lora_7None►
◄strength_model_71.00►
◄enabled_7false►
◄trigger_7►
◄lora_8None►
◄strength_model_81.00►
◄enabled_8false►
◄trigger_8►
◄lora_9None►
◄strength_model_91.00►
◄enabled_9false►
◄trigger_9►
◄lora_10None►
◄strength_model_101.00►
◄enabled_10false►
◄trigger_10►
◄base_prompt►
◄selected_LoRAs►

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 and ModuleNotFoundError: 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.

CategoryAUN Nodes/Loras

Inputs (47)

NameTypeDefaultDescription
modelMODEL—
num_slotsINT41–10How many stack slots are active and visible.
apply_stackBOOLEANtrueWhen disabled, returns the input model unchanged and suppresses trigger text outputs.
trigger_joinerSTRING, String used to join trigger words from active slots.
dedupe_triggersBOOLEANtrueRemove duplicate trigger entries across slots and base prompt while preserving order.
lora_1optCOMBONoneLoRA file for slot 1.
strength_model_1optFLOAT1.00-20–20Model strength for slot 1.
enabled_1optBOOLEANtrueEnable LoRA slot 1.
trigger_1optSTRINGTrigger words for slot 1.
lora_2optCOMBONoneLoRA file for slot 2.
strength_model_2optFLOAT1.00-20–20Model strength for slot 2.
enabled_2optBOOLEANfalseEnable LoRA slot 2.
trigger_2optSTRINGTrigger words for slot 2.
lora_3optCOMBONoneLoRA file for slot 3.
strength_model_3optFLOAT1.00-20–20Model strength for slot 3.
enabled_3optBOOLEANfalseEnable LoRA slot 3.
trigger_3optSTRINGTrigger words for slot 3.
lora_4optCOMBONoneLoRA file for slot 4.
strength_model_4optFLOAT1.00-20–20Model strength for slot 4.
enabled_4optBOOLEANfalseEnable LoRA slot 4.
trigger_4optSTRINGTrigger words for slot 4.
lora_5optCOMBONoneLoRA file for slot 5.
strength_model_5optFLOAT1.00-20–20Model strength for slot 5.
enabled_5optBOOLEANfalseEnable LoRA slot 5.
trigger_5optSTRINGTrigger words for slot 5.
lora_6optCOMBONoneLoRA file for slot 6.
strength_model_6optFLOAT1.00-20–20Model strength for slot 6.
enabled_6optBOOLEANfalseEnable LoRA slot 6.
trigger_6optSTRINGTrigger words for slot 6.
lora_7optCOMBONoneLoRA file for slot 7.
strength_model_7optFLOAT1.00-20–20Model strength for slot 7.
enabled_7optBOOLEANfalseEnable LoRA slot 7.
trigger_7optSTRINGTrigger words for slot 7.
lora_8optCOMBONoneLoRA file for slot 8.
strength_model_8optFLOAT1.00-20–20Model strength for slot 8.
enabled_8optBOOLEANfalseEnable LoRA slot 8.
trigger_8optSTRINGTrigger words for slot 8.
lora_9optCOMBONoneLoRA file for slot 9.
strength_model_9optFLOAT1.00-20–20Model strength for slot 9.
enabled_9optBOOLEANfalseEnable LoRA slot 9.
trigger_9optSTRINGTrigger words for slot 9.
lora_10optCOMBONoneLoRA file for slot 10.
strength_model_10optFLOAT1.00-20–20Model strength for slot 10.
enabled_10optBOOLEANfalseEnable LoRA slot 10.
trigger_10optSTRINGTrigger words for slot 10.
base_promptoptSTRINGOptional prompt text appended after all active trigger words.
selected_LoRAsoptSTRINGPass-through and concatenate selected_LoRAs text.

Outputs (5)

NameTypeDescription
MODELMODEL—
selected LoRAsSTRING—
labelsSTRING—
trigger wordsSTRING—
trigger + promptSTRING—