ComfyUI > Nodes > ComfyUI-Creepy_nodes > Conditional LoRA Applier (Creepybits)

ComfyUI Node: Conditional LoRA Applier (Creepybits)

Class Name

ConditionalLoRAApplierCreepybits

Category
Creepybits/Model Patcher
Author
Creepybits (Account age: 2146days)
Extension
ComfyUI-Creepy_nodes
Latest Updated
2025-12-07
Github Stars
0.02K

How to Install ComfyUI-Creepy_nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-Creepy_nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Creepy_nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Conditional LoRA Applier (Creepybits) Description

Enhance AI art generation with conditional LoRA model application based on prompts for varied artistic styles.

Conditional LoRA Applier (Creepybits):

The ConditionalLoRAApplierCreepybits node is designed to enhance your AI art generation process by conditionally applying LoRA (Low-Rank Adaptation) models based on specific prompts or rules. This node allows you to dynamically modify your model and clip settings by applying different LoRA configurations, which can be particularly useful for achieving varied artistic styles or effects in your generated images. The node intelligently selects and applies the appropriate LoRA based on the keywords present in your input prompt, ensuring that the most relevant adaptations are used. If no specific LoRA matches the prompt, a default LoRA can be applied, providing a fallback mechanism to maintain consistency in your outputs. This flexibility makes the node a powerful tool for artists looking to experiment with different styles or effects without manually adjusting model parameters for each generation.

Conditional LoRA Applier (Creepybits) Input Parameters:

model

The model parameter represents the base model that you wish to modify using LoRA. It serves as the starting point for any adaptations applied by the node. This parameter is crucial as it determines the initial state of your AI art generation process before any LoRA modifications are applied.

clip

The clip parameter is used to specify the CLIP model, which is often used in conjunction with the base model to guide the generation process. This parameter is essential for ensuring that the LoRA modifications are applied consistently across both the model and the CLIP, maintaining the integrity of the generated output.

prompt

The prompt parameter is a string that contains the keywords or phrases that will be used to determine which LoRA to apply. This parameter is critical as it directly influences the selection of LoRA based on the rules defined in the lora_definitions. The prompt should be crafted carefully to ensure the desired LoRA is applied.

lora_definitions

The lora_definitions parameter is a set of rules that map specific keywords or phrases to corresponding LoRA configurations. This parameter allows you to define how different prompts should trigger different LoRA applications, providing a high degree of customization and control over the adaptation process.

default_lora_name

The default_lora_name parameter specifies the name of the default LoRA to apply if no specific LoRA matches the prompt. This parameter acts as a safety net, ensuring that a LoRA is always applied even if no rules are matched, thus maintaining a consistent output style.

default_lora_strength

The default_lora_strength parameter determines the strength of the default LoRA application on the model. It allows you to control the degree of influence the default LoRA has on the final output, providing flexibility in how much the default adaptation affects the model.

default_clip_strength

The default_clip_strength parameter sets the strength of the default LoRA application on the CLIP model. Similar to default_lora_strength, it controls the impact of the default LoRA on the CLIP, ensuring that the adaptation is balanced across both the model and the CLIP.

case_sensitive

The case_sensitive parameter is a boolean that determines whether the keyword matching process should be case-sensitive. This parameter is important for ensuring that the prompt is interpreted correctly, especially when dealing with keywords that may have different meanings based on their case.

Conditional LoRA Applier (Creepybits) Output Parameters:

MODEL

The MODEL output parameter represents the modified model after the conditional LoRA application. This output is crucial as it reflects the changes made to the base model based on the selected LoRA, providing the foundation for the final generated artwork.

CLIP

The CLIP output parameter is the modified CLIP model after the LoRA application. This output ensures that the CLIP model is adapted in tandem with the base model, maintaining consistency and coherence in the guidance provided during the art generation process.

Conditional LoRA Applier (Creepybits) Usage Tips:

  • Ensure that your prompt is well-defined and contains keywords that match the rules in lora_definitions to effectively trigger the desired LoRA applications.
  • Use the default_lora_name and its associated strength parameters to maintain a consistent style in your outputs, even when no specific LoRA matches the prompt.
  • Experiment with different lora_definitions to explore a variety of artistic styles and effects, leveraging the flexibility of conditional LoRA applications.

Conditional LoRA Applier (Creepybits) Common Errors and Solutions:

Warning: Default LoRA file '<default_lora_name>' not found. Skipping default LoRA application.

  • Explanation: This warning indicates that the specified default LoRA file could not be found in the designated directory.
  • Solution: Verify that the default LoRA file exists in the correct directory and that the file name is spelled correctly in the default_lora_name parameter.

No LoRA selected or found for the given prompt/rules/default. Returning original model and clip.

  • Explanation: This message means that no LoRA was applied because no rules matched the prompt, and no default LoRA was specified or found.
  • Solution: Ensure that your prompt contains keywords that match the rules in lora_definitions, or specify a valid default_lora_name to apply a default LoRA.

Warning: LoRA file '<filename>' not found in 'loras' directory (or subdirectories) for rule '<rule_line>'. Skipping this rule.

  • Explanation: This warning occurs when a LoRA file specified in a rule cannot be found in the designated directory.
  • Solution: Check that the LoRA file exists in the correct directory and that the file name is correctly specified in the lora_definitions.

Conditional LoRA Applier (Creepybits) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Creepy_nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.