ComfyUI Node

Enviral Load LoRA

A LoRA loader whose dropdown only shows one folder

By EnviralDesign·Created 4 months ago·Updated 21 days ago· 1
Enviral Load LoRA
  • model
  • clip
  • model
  • clip
  • lora_list
folderAll LoRAs
bank_count1
lora_name
strength_model1.00
strength_clip1.00
allow_list
lora_name_2
strength_model_20.00
strength_clip_20.00
lora_name_3
strength_model_30.00
strength_clip_30.00
lora_name_4
strength_model_40.00
strength_clip_40.00
lora_name_5
strength_model_50.00
strength_clip_50.00

If your loras folder looks like a hoarder's basement - character LoRAs, style LoRAs, flux loras, pony loras, a folder of half-deleted experiments - then the native Load LoRA dropdown is a wall of hundreds of entries where the one you want is buried. You also can't wire a string into that dropdown, which is a second problem entirely.

Enviral Load LoRA (Filtered) solves both at once. It's a native-style LoRA loader with an added folder selector that limits lora_name to one folder (and its subfolders). And like its sibling Enviral Load LoRA, the name still accepts a linked string.

How it works

The folder dropdown is built from the folder prefixes of ComfyUI's currently registered LoRA paths - including everything supplied through extra_model_paths.yaml, not just your main loras dir. Pick a folder and the lora_name dropdown narrows to that folder's contents, subfolders included. Default is All LoRAs, which behaves like a plain loader.

It follows ComfyUI's normal combo-refresh behavior: refresh node definitions and the LoRA and folder lists re-enumerate from the registry, no separate cache to go stale. Saved selections are re-validated against both the current LoRA registry and the selected folder before execution, so a selection that survives a reinstall or a moved file fails loudly instead of loading the wrong thing.

The inputs that matter

  • model / clip - what gets patched.
  • folder - the filter. All LoRAs or a specific prefix.
  • lora_name - narrowed dropdown, or a linked string matching a known path.
  • strength_model / strength_clip - standard LoRA strengths.

Outputs are the patched model and clip, same as the native loader.

Install

In the Enviral Design Node Pack. ComfyUI Manager: search "Enviral Design Node Pack". Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/EnviralDesign/comfyUI-enviral-design-node-pack

then restart. No extra dependencies.

Where it's worth it

This is the one you reach for when a workflow has a specific LoRA set - "my Krea 2 character LoRAs live in loras/krea2/" - and you want the dropdown to not drown you in everything else. It's also a quiet win for shared workflows: the folder filter documents intent, so the next person opening your graph sees immediately which LoRA group it uses. The one habit to keep: folder filters depend on your actual directory layout, so a folder that exists on your machine but not someone else's will fail validation for them - which is by design, and honest about it.

CategoryEnviralDesign/model

Inputs (20)

NameTypeDefaultDescription
modelMODELThe diffusion model the LoRA will be applied to.
folderCOMBOAll LoRAsLimits the LoRA dropdown to this folder and its subfolders.
bank_countINT11–5Number of LoRA banks shown and applied.
lora_nameCOMBOLoRA name. Also accepts a linked STRING, as long as it matches a LoRA path known to ComfyUI.
strength_modelFLOAT1.00-100–100How strongly to modify the diffusion model.
strength_clipFLOAT1.00-100–100How strongly to modify the CLIP model.
clipoptCLIPThe CLIP model the LoRA will be applied to.
allow_listoptSTRINGOptional newline-separated LoRA allow-list. Connect ComfyUI's Text (Multiline) node; entries may use displayed names or full paths.
lora_name_2optCOMBOLoRA name. Also accepts a linked STRING, as long as it matches a LoRA path known to ComfyUI.
strength_model_2optFLOAT0.00-100–100How strongly to modify the diffusion model.
strength_clip_2optFLOAT0.00-100–100How strongly to modify the CLIP model.
lora_name_3optCOMBOLoRA name. Also accepts a linked STRING, as long as it matches a LoRA path known to ComfyUI.
strength_model_3optFLOAT0.00-100–100How strongly to modify the diffusion model.
strength_clip_3optFLOAT0.00-100–100How strongly to modify the CLIP model.
lora_name_4optCOMBOLoRA name. Also accepts a linked STRING, as long as it matches a LoRA path known to ComfyUI.
strength_model_4optFLOAT0.00-100–100How strongly to modify the diffusion model.
strength_clip_4optFLOAT0.00-100–100How strongly to modify the CLIP model.
lora_name_5optCOMBOLoRA name. Also accepts a linked STRING, as long as it matches a LoRA path known to ComfyUI.
strength_model_5optFLOAT0.00-100–100How strongly to modify the diffusion model.
strength_clip_5optFLOAT0.00-100–100How strongly to modify the CLIP model.

Outputs (3)

NameTypeDescription
modelMODELThe modified diffusion model.
clipCLIPThe modified CLIP model.
lora_listSTRINGThe visible LoRA options, one display name per line.