ComfyUI Node
Conditional LoRA Applier (Creepybits)
A ComfyUI node in Creepybits/Model Patcher with 8 inputs and 2 outputs.
Conditional LoRA Applier (Creepybits)
- model
- clip
- MODEL
- CLIP
◄prompt►
◄lora_definitions
# Define your LoRA rules here.
# Format: keyword_phrase_1, keyword_phrase_2, ... : lora_full_relative_path, lora_strength, clip_strength
# If ANY of the comma-separated keyword phrases are found in the prompt, the LoRA will be applied.
# Example (use forward slashes for paths):
# portrait, face detail: Flux/Details/amateur_photo_v1.safetensors, 0.75, 1.0
# cinematic scene, movie shot: MyLoRAs/Styles/retro_cinematic_v2.safetensors, 0.8, 0.9
# fantasy creature, mythical beast: Custom/Creatures/mythic_beast_lora.safetensors, 0.9, 0.9
# Use comma-separated values for strength. Default is 1.0 if omitted.
# Keep strength between -2.0 and 2.0.
# All keyword_phrases should be found anywhere in the prompt (case-insensitive by default).
►
◄default_lora_nameNone►
◄default_lora_strength1.00►
◄default_clip_strength1.00►
◄case_sensitivefalse►
CategoryCreepybits/Model Patcher
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| clip | CLIP | — | |
| prompt | STRING | — | |
| lora_definitions | STRING | # Define your LoRA rules here. # Format: keyword_phrase_1, keyword_phrase_2, ... : lora_full_relative_path, lora_strength, clip_strength # If ANY of the comma-separated keyword phrases are found in the prompt, the LoRA will be applied. # Example (use forward slashes for paths): # portrait, face detail: Flux/Details/amateur_photo_v1.safetensors, 0.75, 1.0 # cinematic scene, movie shot: MyLoRAs/Styles/retro_cinematic_v2.safetensors, 0.8, 0.9 # fantasy creature, mythical beast: Custom/Creatures/mythic_beast_lora.safetensors, 0.9, 0.9 # Use comma-separated values for strength. Default is 1.0 if omitted. # Keep strength between -2.0 and 2.0. # All keyword_phrases should be found anywhere in the prompt (case-insensitive by default). | — |
| default_lora_nameopt | COMBO | None | 1 options: None |
| default_lora_strengthopt | FLOAT | 1.00-2–2 | — |
| default_clip_strengthopt | FLOAT | 1.00-2–2 | — |
| case_sensitiveopt | BOOLEAN | false | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |
| CLIP | CLIP | — |