Nodes/AAA Metadata System/Multi-LoRA Loader (Wan t2v)
ComfyUI Node

Multi-LoRA Loader (Wan t2v)

Eight t2v LoRAs, one node, no CLIP gymnastics

By EricRollei·Created 11 months ago·Updated 10 months ago· 14
Multi-LoRA Loader (Wan t2v)
  • model
  • model
  • prompt
  • prompt_with_triggers
  • loaded_loras_info
  • all_trigger_words
  • filter_info
  • filtered_loras_list
◄prompt►
◄search_filename►
◄search_categoryAny►
◄search_trigger_word►
◄min_rating0►
◄refresh_listsfalse►
◄query_civitaifalse►
◄force_civitai_fetchfalse►
◄trigger_positionfront►
◄trigger_separator, ►
◄lora_1_enablefalse►
◄lora_1_nameNone►
◄lora_1_strength1.00►
◄lora_2_enablefalse►
◄lora_2_nameNone►
◄lora_2_strength1.00►
◄lora_3_enablefalse►
◄lora_3_nameNone►
◄lora_3_strength1.00►
◄lora_4_enablefalse►
◄lora_4_nameNone►
◄lora_4_strength1.00►
◄lora_5_enablefalse►
◄lora_5_nameNone►
◄lora_5_strength1.00►
◄lora_6_enablefalse►
◄lora_6_nameNone►
◄lora_6_strength1.00►
◄lora_7_enablefalse►
◄lora_7_nameNone►
◄lora_7_strength1.00►
◄lora_8_enablefalse►
◄lora_8_nameNone►
◄lora_8_strength1.00►

Text-to-video on Wan 2.2 means you've got a text prompt, a video diffusion model, and - if you're like most people - a growing pile of LoRAs for styles, motion, characters and speed. The usual ComfyUI answer is one loader node per LoRA, which turns a simple t2v graph into a staircase. Multi-LoRA Loader (Wan t2v) swaps that staircase for a single box.

It's the t2v twin of the pack's Wan i2v loader, and it does the same one thing well: take a MODEL, apply up to eight LoRAs to it, and hand back the patched model plus a prompt with trigger words injected. No CLIP in or out - Wan conditions through its own text encoder, so model-only patching is the correct wiring, not a missing feature.

How it works

Same shared engine as the other loaders in the AAA Metadata System pack, with a directory filter pointing at a Wan\t2v subfolder under your LoRA path. The source joins "Wan" and "t2v" when scanning, so your t2v LoRAs need to live there. If they do, the dropdown fills itself with exactly your t2v collection - which is the point: it keeps the t2v and i2v lists from bleeding into each other.

Slots run lora_1_enable / lora_1_name / lora_1_strength through slot 8, model strength only. Around them sit the family's filters: search_filename (comma-separated substring match), search_category, search_trigger_word (against the pack's local LoRA database), and min_rating (0–5 quality filter). Trigger words come from the database or, when query_civitai is on, fetched from the Civitai API; force_civitai_fetch bypasses the cache, and trigger_position/trigger_separator control how words land in your prompt.

Outputs

  • model - the patched model for your video sampler.
  • prompt_with_triggers - prompt with trigger words injected.
  • prompt - your original prompt, passed through.
  • filter_info / filtered_loras_list - what the filters matched.
  • all_trigger_words / loaded_loras_info - all triggers found and the load summary.

Installing it

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

Restart ComfyUI, or install "AAA Metadata System" via ComfyUI Manager. No model downloads. The pack is CC BY-NC for non-commercial use; commercial use needs a paid license from the author.

Common issues

  • Empty dropdown - your t2v LoRAs aren't in the Wan\t2v subfolder it scans. Sort them, toggle refresh_lists (or restart) to rescan.
  • Filters don't visibly change the dropdown - by design; they apply at execution time and report in filter_info. Toggle refresh_lists to rescan.
  • No trigger words injected - DB entry missing and query_civitai off. Enable it (needs internet) or type the trigger yourself.
  • Model-only, but I need CLIP strength - not a bug. Wan doesn't use CLIP; there's nothing to patch on the text side.

Is it life-changing? Not exactly - but if you run Wan 2.2 t2v regularly, stacking LoRAs in one node with a t2v-only dropdown is a real quality-of-life win. Just keep the folder tidy and remember that on Wan, more LoRAs isn't automatically better - a couple of well-chosen ones beat eight at 0.3.

Categoryloaders/multi-lora/wan

Inputs (35)

NameTypeDefaultDescription
modelMODEL—
promptSTRING—
search_filenameSTRINGSearch in LoRA filenames. Use commas to separate multiple terms.
search_categoryCOMBOAnyFilter by LoRA category
search_trigger_wordSTRINGSearch in trigger words from database.
min_ratingINT00–5Minimum quality rating from database (0 = show all)
refresh_listsBOOLEANfalseToggle to refresh LoRA list
query_civitaiBOOLEANfalseAutomatically query Civitai for trigger words
force_civitai_fetchBOOLEANfalseForce fetch from Civitai even if tags exist
trigger_positionCOMBOfront2 options: front, back
trigger_separatorSTRING, —
lora_1_enableBOOLEANfalse—
lora_1_nameCOMBONone1 options: None
lora_1_strengthFLOAT1.00-10–10—
lora_2_enableBOOLEANfalse—
lora_2_nameCOMBONone1 options: None
lora_2_strengthFLOAT1.00-10–10—
lora_3_enableBOOLEANfalse—
lora_3_nameCOMBONone1 options: None
lora_3_strengthFLOAT1.00-10–10—
lora_4_enableBOOLEANfalse—
lora_4_nameCOMBONone1 options: None
lora_4_strengthFLOAT1.00-10–10—
lora_5_enableBOOLEANfalse—
lora_5_nameCOMBONone1 options: None
lora_5_strengthFLOAT1.00-10–10—
lora_6_enableBOOLEANfalse—
lora_6_nameCOMBONone1 options: None
lora_6_strengthFLOAT1.00-10–10—
lora_7_enableBOOLEANfalse—
lora_7_nameCOMBONone1 options: None
lora_7_strengthFLOAT1.00-10–10—
lora_8_enableBOOLEANfalse—
lora_8_nameCOMBONone1 options: None
lora_8_strengthFLOAT1.00-10–10—

Outputs (7)

NameTypeDescription
modelMODEL—
promptSTRING—
prompt_with_triggersSTRING—
loaded_loras_infoSTRING—
all_trigger_wordsSTRING—
filter_infoSTRING—
filtered_loras_listSTRING—