Nodes/ComfyUI Easy Civitai (XTNodes)/Civitai Lora Loader (XTNodes)
ComfyUI Node

Civitai Lora Loader (XTNodes)

Apply one LoRA straight from a Civitai URL

By X-T-E-R·Created 2 years ago·Updated 2 years ago· 50
Civitai Lora Loader (XTNodes)
  • model
  • clip
  • MODEL
  • CLIP
  • civitai_trigger_words
  • summary(Text)
urlhttps://civitai.com/models/352581?modelVersionId=705894
strength_model1.00
strength_clip1.00
override_trigger_words
preview_imagestrue

The single-LoRA, URL-based sibling of LoraLoaderWithPreviews - same job, patch a model and clip with one LoRA at whatever strengths you set, except you hand it a Civitai model-page URL instead of a file already sitting in your loras folder, and it downloads the thing itself before applying it.

How it works

Paste a URL, it resolves the specific model version, pulls the file down - via aria2 if it's on your system, which is the default and the faster path for a large download - drops it into your loras folder, and applies it through ComfyUI's normal LoRA-patching path. Nothing custom about the actual math here, same as any loader. Point the same node at the same URL again later and there's no re-download; the file's already local. Because the source is the URL itself rather than a hash guess, trigger words and the summary come back with full confidence - there's no "could not find" fallback case here the way the local loaders have, since you told it exactly which Civitai page you meant.

The inputs and outputs that matter

model and clip are the pair being patched, same as any LoRA loader. url is the Civitai model page, ideally with a modelVersionId pinned so a later run doesn't silently grab a different version than the one you tested with. strength_model and strength_clip (default 1.0, -10 to 10) follow the same contract as the built-in loader. override_trigger_words and preview_images behave as in every node in this pack.

Outputs: MODEL and CLIP wire onward normally; civitai_trigger_words (LIST) and summary(Text) are the usual bonus pair, this time sourced with certainty since the URL removes any hash-matching ambiguity.

How to install it

ComfyUI Manager, search "ComfyUI Easy Civitai (XTNodes)", or:

cd ComfyUI/custom_nodes
git clone https://github.com/X-T-E-R/ComfyUI-EasyCivitai-XTNodes
pip install -r requirements.txt

then restart. Because this node downloads, it needs aria2c reachable - a manual sudo apt-get install aria2 on Linux, bundled already on Windows - and, for anything Civitai gates behind an account (most NSFW LoRAs), a token dropped into .secrets.toml, copied from the shipped .secrets.toml.example. Public LoRAs need neither.

Common issues & troubleshooting

A stalled or failing download almost always traces back to aria2c not being installed - the pack's own error message spells this out plainly in the console if you go looking, so check there before assuming the node itself is broken. A LoRA that refuses to download at all is worth checking against the gated-content case above: no token plus a restricted model equals a failed pull, not a bug in the node.

And the pack-wide caveat still applies: nothing has been committed here since September 2024, the install has five pip dependencies (blake3, dynaconf, pydantic, codetiming, sanitize_filename) that all need to succeed, and if one doesn't, this node just won't appear after restart - silently, because the pack swallows the import error rather than reporting it. If it's missing, re-run pip install -r requirements.txt and actually read what happened.

Categoryloaders/Civitai

Inputs (7)

NameTypeDefaultDescription
modelMODEL
clipCLIP
urlSTRINGhttps://civitai.com/models/352581?modelVersionId=705894
strength_modelFLOAT1.00-10–10
strength_clipFLOAT1.00-10–10
override_trigger_wordsSTRING
preview_imagesBOOLEANtrue

Outputs (4)

NameTypeDescription
MODELMODEL
CLIPCLIP
civitai_trigger_wordsLIST
summary(Text)STRING