From 40a0b6c1bf4fcd5f79621a024cc26339754cdb26 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Mar 2026 20:16:54 +0000 Subject: [PATCH] Document multi-LoRA chaining and clarify no keyword triggers - README: Add "Combining multiple LoRAs" section with wiring diagram, expand style management table with combo examples, clarify that LoRAs are baked into workflows with no chat keyword activation - Script: Add multi-LoRA tip and clarify no-keyword behavior https://claude.ai/code/session_01PtYTPherSJaxDEVPgF6Nxu --- README.md | 26 +++++++++++++++++++++----- comfyui-import-lora.sh | 8 +++++++- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 97ff6ac..1da1b49 100644 --- a/README.md +++ b/README.md @@ -341,15 +341,31 @@ docker cp ~/Downloads/my-style-lora.safetensors comfyui:/opt/ComfyUI/models/lora Now every "Generate an image of..." in chat uses your LoRA automatically. +#### Combining multiple LoRAs in one image + +You can chain multiple Load LoRA nodes to blend styles: + +``` +[Load Checkpoint] → [Load LoRA 1] → [Load LoRA 2] → [KSampler] + (anime, 0.7) (lighting, 0.5) +``` + +Each LoRA has its own `strength_model` / `strength_clip` sliders. Export the combined workflow as usual — both LoRAs are baked in and always applied. + #### Managing multiple LoRA styles -Each LoRA needs its own exported workflow. Practical approach: +Each LoRA combo needs its own exported workflow. Practical approach: -1. Build a workflow per style (e.g. `anime-lora.json`, `photorealistic-lora.json`) -2. Switch between them in **Admin → Settings → Images → Import Workflow** -3. The active workflow applies to all image generation requests +| Workflow file | LoRAs | Use case | +|---------------|-------|----------| +| `anime-only.json` | Anime @ 0.8 | Anime style | +| `anime-cinematic.json` | Anime @ 0.7 + Cinematic @ 0.5 | Anime + dramatic lighting | +| `photorealistic.json` | Photorealistic @ 0.9 | Photo look | +| `base-model.json` | None | No LoRA, base checkpoint only | -> **Limitation:** You can't switch LoRAs dynamically from chat or adjust LoRA weight per-message. The workflow JSON is fixed. To change styles, swap the workflow in OWUI settings. +Switch between them in **Admin → Settings → Images → Import Workflow**. The active workflow applies to all image generation requests. + +> **Important:** There are no keywords or trigger words to activate LoRAs from chat. LoRAs are hardwired in the workflow JSON — whatever prompt you type, the LoRA(s) always apply. To change styles, swap the workflow in OWUI settings. #### LoRA compatibility diff --git a/comfyui-import-lora.sh b/comfyui-import-lora.sh index 8063057..686ce22 100755 --- a/comfyui-import-lora.sh +++ b/comfyui-import-lora.sh @@ -87,5 +87,11 @@ echo "" echo -e "${YELLOW}Tip:${NC} The LoRA must match your base model architecture." echo " SD 1.5 LoRA → SD 1.5 checkpoint. SDXL LoRA → SDXL checkpoint." echo "" -echo -e "${YELLOW}Tip:${NC} Export multiple workflows (one per LoRA/style) and switch" +echo -e "${YELLOW}Tip:${NC} You can ${BOLD}chain multiple LoRAs${NC} in one workflow:" +echo " [Checkpoint] → [Load LoRA 1] → [Load LoRA 2] → [KSampler]" +echo " Each has its own strength slider so you can blend styles." +echo "" +echo -e "${YELLOW}Tip:${NC} Export multiple workflows (one per LoRA combo) and switch" echo " between them in Open WebUI's image settings as needed." +echo " LoRAs are baked into the workflow — there's no keyword to" +echo " toggle them on/off from chat."