willmiao/ComfyUI-Lora-Manager

LoRA Manager for ComfyUI - A powerful extension for organizing, previewing, and integrating LoRA models with metadata and workflow support.

ComfyUI LoRA Manager – What It Is

A small web‑based companion for ComfyUI, the popular open‑source Stable Diffusion UI. It helps you organise, download and apply LoRA (Low‑Rank Adaptation) models – the lightweight fine‑tuned weights that many artists use to add style or subject‑specific tweaks to a base diffusion model.

The manager runs on http://localhost:8188/loras and talks directly to CivitAI, the biggest community hub for LoRA and checkpoint files. It also provides a browser‑extension that marks which CivitAI models you already have locally, letting you grab new ones with a single click.


Core Features (as described in the README)

Category What you get
Performance Fast loading of large model libraries, smooth scrolling, visual progress bars during start‑up.
Model Integration Browse CivitAI, download with one click, see preview images/videos, read descriptions, pick versions, view trigger words, and insert the LoRA into a ComfyUI workflow with a single click.
Checkpoint Management Scan your local checkpoint folder, filter/search, edit metadata, and clean up disk space.
LoRA Recipes Save a set of LoRA files together with the generation parameters (strength, prompts, etc.), export/import them, and re‑apply them instantly.
User‑Friendly UI Accessible from the ComfyUI menu, context‑menu actions, custom notes, multi‑folder support, and a configurable mature‑content blur threshold.
Wildcard Support Autocomplete for /wildcard files (txt, yaml, json) that can be used in Text/Prompt nodes.
Dynamic Filenames The Save‑Image node can use placeholders like %seed%, %model%, %date%, or any widget value from any node to build descriptive filenames.

How to Install

  1. Via ComfyUI Manager (recommended) – Open ComfyUI → Manager > Custom Node Manager → search for lora-manager → click Install.
  2. Portable standalone edition – Download the 7z package from the releases page, copy settings.json.example to settings.json, fill in your model paths and CivitAI API key, then run run.bat (you can change the port in the batch file).
  3. Manual install – Clone the repo, run pip install -r requirements.txt, and start the server yourself.

Typical Workflow

  1. Launch – Click Launch LoRA Manager in the ComfyUI menu or open http://localhost:8188/loras.
  2. Browse / Download – Search CivitAI, preview images, hit Download (you need a CivitAI API key entered in the settings).
  3. Organise – Use the UI to add notes, set trigger words, filter by tags, or clean up unused files.
  4. Apply in a workflow – Add the Lora Loader (LoraManager) node, pick a LoRA from the manager, copy the generated syntax, and paste it into the node’s text field. The node automatically fills in the preset strength and trigger words.
  5. Save recipes – Store a combination of LoRAs and generation parameters for later reuse or sharing.

Extras

  • Browser extension – Chrome and Firefox extensions show which CivitAI models you already own and let you download new ones without leaving the site.
  • Wildcard files – Place .txt, .yaml or .json files in the wildcards/ folder; they become __category/name__ placeholders usable in prompt nodes.
  • Dynamic filenames – Use placeholders like %seed%, %pprompt:20%, %date:yyyy-MM-dd% in the Save Image node to generate informative file names automatically.

Who Might Use It

  • Artists and hobbyists who run ComfyUI locally and juggle many LoRA models.
  • Developers building custom ComfyUI pipelines who need a quick way to fetch and insert LoRAs.
  • Anyone who wants a tidy UI for CivitAI downloads and wants to keep generation parameters reproducible.

Quick Start Checklist

  1. Install via the ComfyUI Manager or the portable package.
  2. Obtain a CivitAI API key and add it in the LoRA Manager settings.
  3. Open the manager UI, browse/download LoRAs, and add notes.
  4. Use the Lora Loader (LoraManager) node in your ComfyUI graph and paste the copied LoRA syntax.
  5. (Optional) Install the Chrome/Firefox extension for seamless CivitAI browsing.

Bottom line: ComfyUI LoRA Manager is a focused, web‑based helper that makes finding, downloading, organising and using LoRA models inside ComfyUI fast and visual, with extra goodies like recipe sharing, wildcard prompts and dynamic filename templating.

Related

  • Project
  • Project
  • Project
  • Project
  • Project