ComfyUI Node Runs on cloud

Lora Names

Turn a LoRA dropdown into a wire you can route anywhere

By yolain·Created 3 years ago·Updated 12 days ago· 2,647
Lora Names
    • lora_name
    lora_name

    This one does something almost aggressively simple: it shows you a dropdown of every LoRA you have, and outputs the one you pick as a value. That's it. No model gets loaded, no strength gets applied - it just hands the name down a wire.

    Which sounds pointless until you hit the situation it's built for. Plenty of nodes want a LoRA filename as an input rather than as a widget baked into the node itself - an XY plot axis, a switch, a wildcard-driven prompt, a custom loader. Normally you'd have to type the filename by hand and pray you spelled it right. easy loraNames gives you the same picker the loaders use, with autocomplete against your actual models/loras folder, and turns your choice into a connectable output. It's the difference between selecting from a list and remembering that one file is add_detail-XL_v2.1.safetensors and not add-detail_xl_2.1.

    How it works

    It reads your LoRA directory, populates a combo box, and forwards whatever you select. The output is typed as the ComfyUI wildcard (*), which is the clever part - it means the receiving node decides what's valid, so this plugs into anything that expects a LoRA name, whether that slot calls itself a COMBO, a STRING, or its own custom type. It's a value provider, nothing more.

    The inputs and outputs that matter

    There are only two things here:

    • lora_name - the dropdown. Pick your LoRA.
    • lora_name (output, wildcard type) - the selected filename, sent downstream.

    Wire that output into an easy XYInputs: Lora axis, a lora stack, an index switch you're using to A/B a couple of LoRAs, or any node that takes a name. The point is to select once, in one obvious place, and reference it everywhere instead of retyping.

    How to install it

    easy loraNames ships inside ComfyUI-Easy-Use, yolain's big efficiency pack (it's built on the bones of tinyterraNodes and bundles a hundred-odd quality-of-life nodes). Easiest path is ComfyUI Manager: open Manager, search ComfyUI-Easy-Use, install, restart.

    Or do it by hand:

    cd ComfyUI/custom_nodes
    git clone https://github.com/yolain/ComfyUI-Easy-Use
    

    then install the requirements - double-click install.bat on Windows, or pip install -r ComfyUI-Easy-Use/requirements.txt in your ComfyUI Python environment - and restart. No model downloads for this node; it just reads the folder you already have.

    Common issues & troubleshooting

    Empty dropdown. If the picker is blank or only shows None, ComfyUI isn't seeing any LoRAs. Check that files actually live in ComfyUI/models/loras/ (or wherever your extra_model_paths.yaml points), and restart - ComfyUI scans that folder at startup, so a LoRA you dropped in mid-session won't appear until you reload.

    "None" is a real option. The list includes None by design, so it's easy to leave it there and wonder why nothing happens downstream. Make sure you've actually selected a file.

    A name isn't a loaded LoRA. Because the output is just the wildcard filename, this node doesn't apply anything - it doesn't touch your model or CLIP. If you wired it somewhere expecting your image to change, you're missing the actual load/apply step. The name has to land in a node that loads the LoRA (a loader, a stack, easy loraPromptApply) for it to do anything to the generation.

    Type errors on the receiving end. The * output is permissive on this side, but the node you plug into still has to want a LoRA name. Feed it into something expecting an image and you'll get a mismatch - that's the consumer complaining, not this node.

    CategoryEasyUse/Util

    Inputs (1)

    NameTypeDefaultDescription
    lora_nameCOMBO0 options:

    Outputs (1)

    NameTypeDescription
    lora_name*