Nodes/ComfyUI-MakkiTools/BatchLoraLoader(mki-批量LoRA加载)
ComfyUI Node

BatchLoraLoader(mki-批量LoRA加载)

BatchLoraLoader, the stack-friendly loader

By MakkiShizu·Created about a year ago·Updated 7 months ago· 9
BatchLoraLoader(mki-批量LoRA加载)
  • model
  • clip
  • MODEL
  • CLIP
loras_count3
loras_num-1
lora_name_1
strength_model_11.00
strength_clip_11.00
lora_name_2
strength_model_21.00
strength_clip_21.00
lora_name_3
strength_model_31.00
strength_clip_31.00
lora_name_4
strength_model_41.00
strength_clip_41.00
lora_name_5
strength_model_51.00
strength_clip_51.00
lora_name_6
strength_model_61.00
strength_clip_61.00
lora_name_7
strength_model_71.00
strength_clip_71.00
lora_name_8
strength_model_81.00
strength_clip_81.00
lora_name_9
strength_model_91.00
strength_clip_91.00
lora_name_10
strength_model_101.00
strength_clip_101.00
lora_name_11
strength_model_111.00
strength_clip_111.00
lora_name_12
strength_model_121.00
strength_clip_121.00
lora_name_13
strength_model_131.00
strength_clip_131.00
lora_name_14
strength_model_141.00
strength_clip_141.00
lora_name_15
strength_model_151.00
strength_clip_151.00
lora_name_16
strength_model_161.00
strength_clip_161.00
lora_name_17
strength_model_171.00
strength_clip_171.00
lora_name_18
strength_model_181.00
strength_clip_181.00
lora_name_19
strength_model_191.00
strength_clip_191.00
lora_name_20
strength_model_201.00
strength_clip_201.00
lora_name_21
strength_model_211.00
strength_clip_211.00
lora_name_22
strength_model_221.00
strength_clip_221.00
lora_name_23
strength_model_231.00
strength_clip_231.00
lora_name_24
strength_model_241.00
strength_clip_241.00
lora_name_25
strength_model_251.00
strength_clip_251.00
lora_name_26
strength_model_261.00
strength_clip_261.00
lora_name_27
strength_model_271.00
strength_clip_271.00
lora_name_28
strength_model_281.00
strength_clip_281.00
lora_name_29
strength_model_291.00
strength_clip_291.00
lora_name_30
strength_model_301.00
strength_clip_301.00
lora_name_31
strength_model_311.00
strength_clip_311.00
lora_name_32
strength_model_321.00
strength_clip_321.00
lora_name_33
strength_model_331.00
strength_clip_331.00
lora_name_34
strength_model_341.00
strength_clip_341.00
lora_name_35
strength_model_351.00
strength_clip_351.00
lora_name_36
strength_model_361.00
strength_clip_361.00
lora_name_37
strength_model_371.00
strength_clip_371.00
lora_name_38
strength_model_381.00
strength_clip_381.00
lora_name_39
strength_model_391.00
strength_clip_391.00
lora_name_40
strength_model_401.00
strength_clip_401.00
lora_name_41
strength_model_411.00
strength_clip_411.00
lora_name_42
strength_model_421.00
strength_clip_421.00
lora_name_43
strength_model_431.00
strength_clip_431.00
lora_name_44
strength_model_441.00
strength_clip_441.00
lora_name_45
strength_model_451.00
strength_clip_451.00
lora_name_46
strength_model_461.00
strength_clip_461.00
lora_name_47
strength_model_471.00
strength_clip_471.00
lora_name_48
strength_model_481.00
strength_clip_481.00
lora_name_49
strength_model_491.00
strength_clip_491.00

The core LoraLoader does one LoRA at a time. Want a character LoRA and a style LoRA and a detail-boosting LoRA? That's three loaders chained in a row, and every workflow you share needs them all kept in sync. BatchLoraLoader_makki (display name "BatchLoraLoader(mki-批量LoRA加载)") collapses that chain into a single node with up to 50 slots, each with its own LoRA name and its own model/CLIP strengths.

It does exactly the same math as chaining core loaders - it applies each selected LoRA sequentially to the model and CLIP via the same comfy.sd.load_lora_for_models call - so it's a convenience, not a magic trick. But for template workflows it's a real one: you set up the stack once, and testing a different combo becomes a couple of dropdowns instead of rewiring a chain.

The inputs that matter

The full list is huge (50 slots × 3 fields), so here's what you actually touch:

  • model and clip - the checkpoint's MODEL and CLIP that everything gets applied to. These are required.
  • loras_count - how many of the 50 slots are active. Default 3, max 50. This is the one that keeps the node sane: the pack's JS hides the widget rows beyond this number, so you're not staring at 47 empty dropdowns.
  • loras_num - a nifty routing trick. -1 (default) loads all slots up to loras_count. 0 loads nothing - handy as a bypass switch. A positive number loads only that one slot (1-based), so you can flip between individual LoRAs in a stack without deleting anything.
  • lora_name_N / strength_model_N / strength_clip_N - the per-slot pair. Strengths default to 1.0 and can be negative; negative model strength is a legit trick for reducing whatever the LoRA adds.

Outputs are MODEL and CLIP, feeding straight into your sampler like any loader.

Little behaviors worth knowing

  • Slots set to None are skipped, and a slot with both strengths at 0 is skipped too - so you don't have to empty every unused slot.
  • If you set loras_num higher than loras_count, it silently loads everything. That's a "load all" fail-safe, not a bug.
  • The node caches the last-loaded LoRA file, which makes iterating over a stack noticeably faster than the equivalent chain.

Installing and gotchas

Install via ComfyUI Manager (search "ComfyUI-MakkiTools"), or:

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

Restart ComfyUI afterwards. A couple of real-world warnings:

  • Stacking is additive, and it compounds fast. Three LoRAs at 1.0 each rarely look like "three LoRAs at 1.0" - they look like a melted image. Start your strengths around 0.4–0.7 and tune from there. The pack even lets you go negative, which is how you subtract an effect you over-applied in an earlier slot.
  • LoRA order matters. The stack applies top-down, and later LoRAs see the already-modified model. Different orders give different results, so the order you list slots in is part of your recipe.
  • If you load a workflow made before the pack's mid-2025 rename (nodes got _makki suffixes), ComfyUI may report this node missing - re-pull the pack and the mapping line up again.

It won't turn a bad checkpoint into a good one, and it doesn't train anything. But if you regularly run LoRA stacks, this is the kind of node that quietly removes friction from your whole setup.

CategoryMakkiTools

Inputs (151)

NameTypeDefaultDescription
modelMODELThe diffusion model the LoRA will be applied to. LoRA将应用到的扩散模型。
clipCLIPThe CLIP model the LoRA will be applied to. LoRA将应用到的CLIP模型。
loras_countINT31–50
loras_numINT-1-1–50
lora_name_1COMBOLoRA model 1 LoRA模型 1
strength_model_1FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_1FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_2COMBOLoRA model 2 LoRA模型 2
strength_model_2FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_2FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_3COMBOLoRA model 3 LoRA模型 3
strength_model_3FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_3FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_4COMBOLoRA model 4 LoRA模型 4
strength_model_4FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_4FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_5COMBOLoRA model 5 LoRA模型 5
strength_model_5FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_5FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_6COMBOLoRA model 6 LoRA模型 6
strength_model_6FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_6FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_7COMBOLoRA model 7 LoRA模型 7
strength_model_7FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_7FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_8COMBOLoRA model 8 LoRA模型 8
strength_model_8FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_8FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_9COMBOLoRA model 9 LoRA模型 9
strength_model_9FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_9FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_10COMBOLoRA model 10 LoRA模型 10
strength_model_10FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_10FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_11COMBOLoRA model 11 LoRA模型 11
strength_model_11FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_11FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_12COMBOLoRA model 12 LoRA模型 12
strength_model_12FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_12FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_13COMBOLoRA model 13 LoRA模型 13
strength_model_13FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_13FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_14COMBOLoRA model 14 LoRA模型 14
strength_model_14FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_14FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_15COMBOLoRA model 15 LoRA模型 15
strength_model_15FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_15FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_16COMBOLoRA model 16 LoRA模型 16
strength_model_16FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_16FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_17COMBOLoRA model 17 LoRA模型 17
strength_model_17FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_17FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_18COMBOLoRA model 18 LoRA模型 18
strength_model_18FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_18FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_19COMBOLoRA model 19 LoRA模型 19
strength_model_19FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_19FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_20COMBOLoRA model 20 LoRA模型 20
strength_model_20FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_20FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_21COMBOLoRA model 21 LoRA模型 21
strength_model_21FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_21FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_22COMBOLoRA model 22 LoRA模型 22
strength_model_22FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_22FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_23COMBOLoRA model 23 LoRA模型 23
strength_model_23FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_23FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_24COMBOLoRA model 24 LoRA模型 24
strength_model_24FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_24FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_25COMBOLoRA model 25 LoRA模型 25
strength_model_25FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_25FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_26COMBOLoRA model 26 LoRA模型 26
strength_model_26FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_26FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_27COMBOLoRA model 27 LoRA模型 27
strength_model_27FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_27FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_28COMBOLoRA model 28 LoRA模型 28
strength_model_28FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_28FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_29COMBOLoRA model 29 LoRA模型 29
strength_model_29FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_29FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_30COMBOLoRA model 30 LoRA模型 30
strength_model_30FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_30FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_31COMBOLoRA model 31 LoRA模型 31
strength_model_31FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_31FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_32COMBOLoRA model 32 LoRA模型 32
strength_model_32FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_32FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_33COMBOLoRA model 33 LoRA模型 33
strength_model_33FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_33FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_34COMBOLoRA model 34 LoRA模型 34
strength_model_34FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_34FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_35COMBOLoRA model 35 LoRA模型 35
strength_model_35FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_35FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_36COMBOLoRA model 36 LoRA模型 36
strength_model_36FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_36FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_37COMBOLoRA model 37 LoRA模型 37
strength_model_37FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_37FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_38COMBOLoRA model 38 LoRA模型 38
strength_model_38FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_38FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_39COMBOLoRA model 39 LoRA模型 39
strength_model_39FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_39FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_40COMBOLoRA model 40 LoRA模型 40
strength_model_40FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_40FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_41COMBOLoRA model 41 LoRA模型 41
strength_model_41FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_41FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_42COMBOLoRA model 42 LoRA模型 42
strength_model_42FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_42FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_43COMBOLoRA model 43 LoRA模型 43
strength_model_43FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_43FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_44COMBOLoRA model 44 LoRA模型 44
strength_model_44FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_44FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_45COMBOLoRA model 45 LoRA模型 45
strength_model_45FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_45FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_46COMBOLoRA model 46 LoRA模型 46
strength_model_46FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_46FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_47COMBOLoRA model 47 LoRA模型 47
strength_model_47FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_47FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_48COMBOLoRA model 48 LoRA模型 48
strength_model_48FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_48FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。
lora_name_49COMBOLoRA model 49 LoRA模型 49
strength_model_49FLOAT1.00-100–100How strongly to modify the diffusion model. This value can be negative. 修改扩散模型的强度。此值可以为负。
strength_clip_49FLOAT1.00-100–100How strongly to modify the CLIP model. This value can be negative. 修改CLIP模型的强度。此值可以为负。

Outputs (2)

NameTypeDescription
MODELMODELThe modified diffusion model.
CLIPCLIPThe modified CLIP model.