ComfyUI Node

LoRA List+

Build a toggleable LoRA test list from anywhere on disk

By FranckyB·Created 6 months ago·Updated 3 days ago· 13
LoRA List+
    • loras
    • names
    loras_state[]
    loras_text

    LoraListPlus is a LoRA-testing organizer: a node that lets you build a reorderable, enable/disable list of LoRAs from anywhere on disk and then spits the enabled ones out as newline-separated text. The README is blunt about its purpose - "For use with Outputlist Combiner for LoRA testing" - which is the classic workflow where you've trained (or downloaded) a dozen LoRAs and want to batch-generate a comparison grid of all of them at the same strength.

    It's part of ComfyUI-FBnodes, François Beaudry's utility pack, and it's the stack-builder half of the pack's LoRA story: this one assembles the list, Apply LoRA+ consumes stacks, and the pack's example workflows (there's a Lora_Tester.json in the repo) tie them together.

    How it works

    The node has two text inputs and a browser-backed UI. The primary path is loras_state - a JSON list of {path, enabled} entries that the built-in file browser maintains as you add .safetensors files, toggle them on/off, and drag them into order. The fallback is loras_text: a plain multiline string of paths that gets used if the JSON state is empty. Either way, the node walks the entries, keeps only the enabled ones, and outputs:

    • loras (STRING) - the enabled full paths, one per line.
    • names (STRING) - just the basenames with the extension stripped, one per line (handy for labelling comparison grids).

    Order is preserved - it's a list, not a set - which is what you want when stacking matters.

    How you'd use it

    The LoRA-comparison pattern: build the list, connect the loras output into whatever batch-tester or list-combiner you use (the README names Outputlists-Combiner, but anything that fans a multiline string into per-item prompts works), and run once to get one image per LoRA at the same strength. Toggle entries off to prune the run without deleting them from the list. Because the list lives in the node's state, it survives reloads - you're not rebuilding it every session.

    The inputs

    • loras_state (STRING) - JSON list managed by the UI browser; the primary source.
    • loras_text (STRING) - fallback multiline path list.

    Outputs: loras (STRING, paths) and names (STRING, basenames).

    Installing it

    ComfyUI Manager - search "ComfyUI-FBnodes" - or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/FranckyB/ComfyUI-FBnodes.git
    pip install -r ComfyUI-FBnodes/requirements.txt
    

    Restart ComfyUI. No downloads; it only reads paths.

    Gotchas

    The output is text, not a stack of applied LoRAs - you still need an Apply LoRA+ or a batch tester downstream to actually run them, and the strengths aren't stored per-LoRA here (everything ships at whatever the downstream apply node uses). If your batch tester expects a different delimiter, note the output is newline-separated. And the browser only picks up .safetensors - a .pt or .ckpt LoRA won't show in the picker, though it'd work if typed into the text fallback.

    CategoryFBnodes

    Inputs (2)

    NameTypeDefaultDescription
    loras_stateSTRING[]
    loras_textSTRING

    Outputs (2)

    NameTypeDescription
    lorasSTRING
    namesSTRING