Nodes/ComfyUI-BETA-Cropnodes/Indexed LoRA Loader 🎯 πŸ…‘πŸ…”πŸ…£πŸ…
ComfyUI Node

Indexed LoRA Loader 🎯 πŸ…‘πŸ…”πŸ…£πŸ…

Swap LoRAs with one number instead of rewiring your graph

By Burgstall-labsΒ·Created about a year agoΒ·Updated 6 months agoΒ· 8
Indexed LoRA Loader 🎯 πŸ…‘πŸ…”πŸ…£πŸ…
  • model
  • clip
  • model
  • clip
  • trigger_word
β—„number_of_loras1β–Ί
β—„index1β–Ί
β—„strength_model1.00β–Ί
β—„strength_clip1.00β–Ί
β—„trigger_suffix_loraβ–Ί
β—„lora_1noneβ–Ί
β—„lora_2noneβ–Ί
β—„lora_3noneβ–Ί
β—„lora_4noneβ–Ί
β—„lora_5noneβ–Ί
β—„lora_6noneβ–Ί
β—„lora_7noneβ–Ί
β—„lora_8noneβ–Ί
β—„lora_9noneβ–Ί
β—„lora_10noneβ–Ί
β—„lora_11noneβ–Ί
β—„lora_12noneβ–Ί
β—„lora_13noneβ–Ί
β—„lora_14noneβ–Ί
β—„lora_15noneβ–Ί
β—„lora_16noneβ–Ί
β—„lora_17noneβ–Ί
β—„lora_18noneβ–Ί
β—„lora_19noneβ–Ί
β—„lora_20noneβ–Ί

The normal way to try three LoRAs in ComfyUI is to build three Load LoRA nodes, wire them all up, and click through them one at a time. Indexed LoRA Loader is for when that gets old: you load up to 20 LoRAs into a single stack of slots, then pick which one gets applied by changing one integer. It's a "batch through my LoRA collection" node - wire the index input to a counter or an API-driven batch and you can generate a comparison grid of the same prompt across every LoRA you own without touching the graph. rgthree's Power Lora Loader is the heavyweight in this space; this one is the lightweight version that trades per-LoRA toggles for dead-simple indexing.

Mechanically it's a thin wrapper around ComfyUI's own load_lora_for_models. You feed it a model and clip, it looks at index, grabs the LoRA sitting in the lora_<index> slot, and applies it with strength_model and strength_clip (both default 1.0, range βˆ’100 to 100 - negative strengths are a real thing for style subtraction). The extra it gives you over stock: it extracts a trigger word from the LoRA's filename and hands it to you as a STRING output, so you can wire it straight into your prompt. The extraction rule is simple: everything before _lora in the filename. Snorricam-3434_lora.safetensors β†’ Snorricam-3434. The trigger_suffix input (default _lora) lets you change that marker if your naming differs.

Inputs worth knowing:

  • number_of_loras (1–20) - how many slots show up. The node's frontend JS hides unused slots, so you're not staring at 19 empty dropdowns.
  • index (1-based) - which slot gets applied.
  • lora_1 … lora_20 - the LoRA pickers; set any to "none" to skip it.
  • strength_model / strength_clip - strengths, applied to the selected LoRA only.

Outputs: model and clip (the loaded pipeline), plus trigger_word (STRING).

Install is the pack install: ComfyUI Manager β†’ search "BETA" or "Burgstall" β†’ ComfyUI-BETA-Cropnodes (recently renamed ComfyUI-BETA-Helpernodes). Or:

cd ComfyUI/custom_nodes
git clone https://github.com/Burgstall-labs/ComfyUI-BETA-Cropnodes

restart, done. No extra dependencies for this node, and it reads your LoRAs from the standard ComfyUI/models/loras folder.

The failure mode to know is a feature: if index is out of range, a slot is "none", or the LoRA fails to load, the node doesn't crash - it returns your original model and clip unchanged and prints a warning. That's graceful, but it's also easy to miss if you're batch-running. Same for the trigger word: it's only as good as your filenames. If your files don't follow the name_lora.safetensors convention, the extracted "trigger word" is garbage, and the node has no way to know - that's the one thing you'll want to eyeball before trusting the output in a prompt.

CategoryBETA Nodes

Inputs (27)

NameTypeDefaultDescription
modelMODELβ€”
clipCLIPβ€”
number_of_lorasINT11–20β€”
indexINT11–20β€”
strength_modelFLOAT1.00-100–100β€”
strength_clipFLOAT1.00-100–100β€”
trigger_suffixSTRING_loraβ€”
lora_1optCOMBOnone1 options: none
lora_2optCOMBOnone1 options: none
lora_3optCOMBOnone1 options: none
lora_4optCOMBOnone1 options: none
lora_5optCOMBOnone1 options: none
lora_6optCOMBOnone1 options: none
lora_7optCOMBOnone1 options: none
lora_8optCOMBOnone1 options: none
lora_9optCOMBOnone1 options: none
lora_10optCOMBOnone1 options: none
lora_11optCOMBOnone1 options: none
lora_12optCOMBOnone1 options: none
lora_13optCOMBOnone1 options: none
lora_14optCOMBOnone1 options: none
lora_15optCOMBOnone1 options: none
lora_16optCOMBOnone1 options: none
lora_17optCOMBOnone1 options: none
lora_18optCOMBOnone1 options: none
lora_19optCOMBOnone1 options: none
lora_20optCOMBOnone1 options: none

Outputs (3)

NameTypeDescription
modelMODELβ€”
clipCLIPβ€”
trigger_wordSTRINGβ€”