ComfyUI > Nodes > world weaver > Conditional LoRA Applier (World Weaver)

ComfyUI Node: Conditional LoRA Applier (World Weaver)

Class Name

WW_ConditionalLoRAApplierCreepybits

Category
Creepybits/World_weaver
Author
creepybits (Account age: 2257days)
Extension
world weaver
Latest Updated
2026-03-28
Github Stars
0.03K

How to Install world weaver

Install this extension via the ComfyUI Manager by searching for world weaver
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter world weaver 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 (World Weaver) Description

The node applies LoRA models conditionally based on prompt keywords to enhance AI art generation.

Conditional LoRA Applier (World Weaver):

The WW_ConditionalLoRAApplierCreepybits node is designed to enhance your AI art generation process by applying LoRA (Low-Rank Adaptation) models conditionally based on the content of your prompts. This node allows you to specify rules that determine which LoRA models should be applied to your base model and CLIP based on keywords found in your prompt. This functionality is particularly useful for artists who want to dynamically adjust the style or characteristics of their generated images without manually switching models. By automating the selection and application of LoRA models, this node streamlines the creative process, enabling more efficient and targeted artistic expression.

Conditional LoRA Applier (World Weaver) Input Parameters:

model

This parameter represents the base model to which the LoRA modifications will be applied. It serves as the starting point for any transformations or enhancements that the LoRA models will introduce. The model should be compatible with the LoRA files you intend to use.

clip

The CLIP parameter is used to provide the CLIP model that will be adjusted alongside the base model. CLIP models are often used to understand and process text prompts, and this parameter ensures that any LoRA modifications are consistently applied to both the visual and textual components of your project.

prompt

The prompt parameter is a string that contains the text input you provide to guide the AI in generating art. This text is analyzed to determine which LoRA models should be applied based on the presence of specific keywords. The prompt is crucial as it directly influences the selection of LoRA models.

lora_definitions

This parameter is a set of rules that define which LoRA models should be applied based on keywords found in the prompt. Each rule consists of a keyword or set of keywords and the corresponding LoRA model details, including filename and strengths. This allows for flexible and context-sensitive application of LoRA models.

default_lora_name

The default_lora_name parameter specifies the LoRA model to be applied if no keywords in the prompt match any of the defined rules. This ensures that a LoRA model is always applied, providing a fallback option to maintain consistency in the output.

default_lora_strength

This parameter sets the strength of the default LoRA model's influence on the base model. It determines how much the default LoRA model will alter the base model when no specific rules are triggered. The strength is typically a floating-point value, with higher values indicating a stronger influence.

default_clip_strength

Similar to the default_lora_strength, this parameter controls the influence of the default LoRA model on the CLIP model. It ensures that the textual understanding of the prompt is adjusted in line with the visual modifications, maintaining coherence between the two.

case_sensitive

The case_sensitive parameter is a boolean that determines whether the keyword matching process should consider case differences. If set to true, keywords must match the case exactly as defined in the rules; if false, the matching is case-insensitive, allowing for more flexible keyword recognition.

Conditional LoRA Applier (World Weaver) Output Parameters:

MODEL

The MODEL output is the modified version of the input base model after the conditional application of the selected LoRA models. This output reflects the visual changes introduced by the LoRA models, tailored to the keywords found in the prompt or the default settings.

CLIP

The CLIP output is the adjusted version of the input CLIP model, modified in accordance with the applied LoRA models. This ensures that the textual interpretation of the prompt aligns with the visual modifications, providing a cohesive output that respects both the visual and textual components of the input.

Conditional LoRA Applier (World Weaver) Usage Tips:

  • Ensure that your prompt is well-crafted with clear keywords that match the rules defined in your LoRA definitions to maximize the effectiveness of the conditional application.
  • Regularly update your LoRA definitions to include new keywords and models as your artistic style evolves, allowing for dynamic and adaptive art generation.
  • Use the case_sensitive parameter wisely to either broaden or narrow the scope of keyword matching, depending on your specific needs and the diversity of your prompts.

Conditional LoRA Applier (World Weaver) Common Errors and Solutions:

Warning: Malformed LoRA rule (missing colon)

  • Explanation: This error occurs when a rule in the LoRA definitions is not properly formatted, missing the required colon to separate keywords from LoRA details.
  • Solution: Review your LoRA definitions and ensure each rule is correctly formatted with a colon separating the keywords and the LoRA details.

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

  • Explanation: This warning indicates that the specified LoRA file could not be located in the designated directory, preventing its application.
  • Solution: Verify that the LoRA file exists in the correct directory and that the filename in the rule is spelled correctly.

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

  • Explanation: This warning is issued when the default LoRA file specified cannot be found, meaning no default LoRA will be applied.
  • Solution: Check the default LoRA file's existence and path, ensuring it is correctly specified in the input parameters.

Conditional LoRA Applier (World Weaver) Related Nodes

Go back to the extension to check out more related nodes.
world weaver
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.

Conditional LoRA Applier (World Weaver)