Nodes/SDVN_Comfy_node/🎨 Load Lora
ComfyUI Node

🎨 Load Lora

A LoRA loader that can download the file for you

By StableDiffusionVN·Created 2 years ago·Updated about a month ago· 118
🎨 Load Lora
  • model
  • clip
  • model
  • clip
  • lora_path
Downloadtrue
Download_url
Lora_url_namemodel.safetensors
lora_nameNone
strength_model1.00
strength_clip1.00

At its core this is a normal LoRA loader - it patches your model and CLIP with a LoRA and lets you dial the strength. What makes it worth reaching for over ComfyUI's built-in LoraLoader is the download side. Instead of hunting down a .safetensors, dropping it in models/loras, and restarting, you can hand this node a civitai or HuggingFace link and it fetches the file on the first run. It also ships a curated list of ~82 common LoRAs (turbo/lightning adapters, ACE++, Krea, and friends) that auto-download if they're not already in your folder.

Quick refresher on what you're loading, in case you're newish: a LoRA is a small adapter - usually 10-200 MB - that patches a checkpoint to add a character, style, or concept without retraining the whole model. It can't generate anything by itself; it rides on top of a base. And it's architecture-bound, which is the gotcha everyone hits once (more on that below).

How it works

The pack's docs spell out the two modes. Leave Download_url empty and it behaves like a plain loader, picking the file named in lora_name. Fill in Download_url with Download set true, and it downloads that LoRA into your loras folder (named by Lora_url_name) and uses it. Either way, it applies the LoRA to whatever model and clip you wire in and passes them back out patched.

The download leans on aria2c for speed, same as the pack's other download-capable nodes.

The inputs and outputs that matter

  • lora_name - pick from the dropdown (your local LoRAs plus the curated list), or ignore it and use the URL path instead.
  • Download + Download_url + Lora_url_name - the fetch-from-link trio. URL in, filename to save as, and the toggle that says "actually download this."
  • strength_model (default 1) - the main dial. How hard the LoRA affects the image. Old SDXL advice was 0.5-0.8; on newer bases like Z-Image people often run 1.0 and above because dropping it costs likeness. Start at the LoRA author's recommended weight.
  • model / clip (optional in) - the base to patch. Notably these are optional: skip them and the node still resolves/downloads the file and gives you its path, so it doubles as a downloader.

Outputs are model and clip (patched, wire into your sampler and encoder) plus lora_path (the resolved file path as a string, handy for logging or feeding a node that needs the location).

How to install it

Comes with the pack. ComfyUI Manager, search SDVN_Comfy_node; or:

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

from the ComfyUI root, then restart.

Common issues & troubleshooting

The LoRA does nothing. Almost always an architecture mismatch. An SDXL LoRA does nothing on Flux; a Flux LoRA does nothing on SD 1.5. Even within a family it's imperfect - Pony, Illustrious, and vanilla SDXL LoRAs are all selectable but often don't cross over cleanly. Match the LoRA to your base model first, before touching strength.

On Windows or macOS, install aria2c. The download path needs it, and it's not bundled on those platforms per the README. Linux usually has it already.

Download is on but nothing downloads. The URL has to be a direct download link, not a model's web page, and the toggle has to be true. Double-check both.

Strength is fighting you. Too high and the LoRA overpowers the prompt and everything else stacked on it; too low and its effect vanishes. If you're stacking several LoRAs, their weights add up - pull each one down.

Category📂 SDVN

Inputs (8)

NameTypeDefaultDescription
DownloadBOOLEANtrueBật lên để tải LoRA từ URL về máy.
Download_urlSTRINGNhập URL để tải LoRA về máy.
Lora_url_nameSTRINGmodel.safetensorsTên tệp LoRA sẽ lưu trên máy.
lora_nameCOMBONoneChọn LoRA để load vào pipeline.
modeloptMODELMô hình diffusion sẽ áp dụng LoRA.
clipoptCLIPMô hình CLIP sẽ áp dụng LoRA.
strength_modeloptFLOAT1.00-100–100Độ mạnh tác động lên diffusion model. Có thể giá trị âm.
strength_clipoptFLOAT1.00-100–100Độ mạnh tác động lên CLIP model. Có thể giá trị âm.

Outputs (3)

NameTypeDescription
modelMODEL
clipCLIP
lora_pathSTRING