Nodes/ComfyUI-Creepy_nodes/Conditional LoRA Applier (Creepybits)
ComfyUI Node

Conditional LoRA Applier (Creepybits)

A ComfyUI node in Creepybits/Model Patcher with 8 inputs and 2 outputs.

By Creepybits·Created about a year ago·Updated about a month ago· 32
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)

NameTypeDefaultDescription
modelMODEL
clipCLIP
promptSTRING
lora_definitionsSTRING # 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_nameoptCOMBONone1 options: None
default_lora_strengthoptFLOAT1.00-2–2
default_clip_strengthoptFLOAT1.00-2–2
case_sensitiveoptBOOLEANfalse

Outputs (2)

NameTypeDescription
MODELMODEL
CLIPCLIP