Excluded Loras
The do-not-roll list for folder roulette
- merge_previous
- excluded_loras
Folder-based random LoRAs have one obvious flaw: the folder holds all your LoRAs, including the ones you'd rather never see win. The RandomLoRAFolder nodes have an exclude_loras_from_node input that accepts a LORA_LIST - and this tiny node is the thing that makes that list. Five dropdowns, one output, done.
It exists because the alternative is worse: hand-typing exclusion lists, or worse, emptying the folder. The node simply collects up to five LoRA names and hands them to the folder randomizer, which skips any file whose basename matches.
Inputs / outputs
lora_1…lora_5(required) - dropdowns of every LoRA ComfyUI knows about. Set the ones you want blacklisted; leave the rest "None."merge_previous(optional) - feed anotherExcludedLorasoutput in here and the lists combine, so you can daisy-chain more than five exclusions.- Output:
excluded_loras- aLORA_LISTfor theexclude_loras_from_nodeinput on the folder selector nodes.
Wire it: ExcludedLoras.excluded_loras → RandomLoRAFolder.exclude_loras_from_node.
The fine print
- Matching is by basename. The folder selectors strip paths and compare against the file's name. So
style.safetensorsmatches regardless of which subfolder it's in - which is what you want when one file shows up in several folders. It also means two different files with identical names (impossible in one folder, possible across the tree) both get excluded. Fine in practice. - "None" slots are ignored. Don't feel obliged to fill all five.
- It's exclusion, not preference. There's no "only roll these" mode here; that's what
RandomLoRACustom's curated pool is for. This node is purely the blacklist half of the folder workflow.
Install
ComfyUI Manager (search "Santodan"), or:
cd ComfyUI/custom_nodes
git clone https://github.com/Santodan/santodan-custom-nodes-comfyui
Restart. No dependencies, no downloads. It reads your existing loras list and nothing else - about as low-stakes a node as this pack ships.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| lora_1 | COMBO | 1 options: None | |
| lora_2 | COMBO | 1 options: None | |
| lora_3 | COMBO | 1 options: None | |
| lora_4 | COMBO | 1 options: None | |
| lora_5 | COMBO | 1 options: None | |
| merge_previousopt | LORA_LIST | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| excluded_loras | LORA_LIST | — |