ComfyUI > Nodes > Bjornulf_custom_nodes > ♻ Loop Lora Selector

ComfyUI Node: ♻ Loop Lora Selector

Class Name

Bjornulf_LoopLoraSelector

Category
Bjornulf
Author
justUmen (Account age: 3046days)
Extension
Bjornulf_custom_nodes
Latest Updated
2025-02-28
Github Stars
0.2K

How to Install Bjornulf_custom_nodes

Install this extension via the ComfyUI Manager by searching for Bjornulf_custom_nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Bjornulf_custom_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

♻ Loop Lora Selector Description

Facilitates sequential application of LoRA models for AI artists to experiment with diverse model outputs.

♻ Loop Lora Selector:

The Bjornulf_LoopLoraSelector node is designed to facilitate the selection and application of multiple LoRA (Low-Rank Adaptation) models in a sequential manner to a given model and clip. This node is particularly useful for AI artists who wish to experiment with different LoRA configurations to enhance or modify their models' outputs. By iterating through a list of available LoRAs, the node allows you to apply each one with specified strengths, providing a flexible and dynamic approach to model adaptation. This capability is beneficial for creating diverse artistic effects or fine-tuning models for specific tasks, as it enables the combination of multiple LoRA influences in a controlled manner.

♻ Loop Lora Selector Input Parameters:

number_of_loras

This parameter specifies the number of LoRA models you wish to apply to your base model and clip. It determines how many LoRA configurations will be processed in sequence. The minimum value is 1, the maximum is 20, and the default is set to 3. Adjusting this number allows you to control the extent of LoRA influence on your model.

model

This is the base model to which the LoRA modifications will be applied. It serves as the starting point for the adaptation process, and the selected LoRAs will be sequentially integrated into this model.

clip

The clip parameter represents the CLIP model that will be used in conjunction with the base model. It is essential for processing the LoRA modifications, ensuring that the visual and textual components of the model are appropriately adjusted.

lora_1, lora_2, ..., lora_20

These optional parameters allow you to specify up to 20 different LoRA models to be applied. Each parameter corresponds to a specific LoRA file, which can be selected from a list of available LoRAs. If no LoRA is selected, the default value is "none".

strength_model_1, strength_model_2, ..., strength_model_20

These parameters define the strength of the LoRA's influence on the base model for each corresponding LoRA. The strength can range from -100.0 to 100.0, with a default value of 1.0. Adjusting these values allows you to control the intensity of each LoRA's effect on the model.

strength_clip_1, strength_clip_2, ..., strength_clip_20

Similar to the strength_model parameters, these define the strength of the LoRA's influence on the CLIP model. The range is also from -100.0 to 100.0, with a default of 1.0. These settings help fine-tune the visual and textual adjustments made by each LoRA.

♻ Loop Lora Selector Output Parameters:

model

This output is the modified model after all specified LoRAs have been applied. It reflects the cumulative effect of the sequential LoRA applications, providing a new version of the base model with enhanced or altered characteristics.

clip

The clip output is the adjusted CLIP model that has been influenced by the applied LoRAs. It complements the modified model, ensuring that both components are harmonized according to the LoRA configurations.

lora_path

This output provides the file paths of the LoRA models that were applied. It is useful for tracking which LoRAs were used in the process and for documentation purposes.

lora_name

The lora_name output lists the names of the LoRA models applied, offering a quick reference to the specific LoRAs that contributed to the final model and clip outputs.

lora_folder

This output indicates the folders where the applied LoRAs are located. It helps in organizing and managing the LoRA files, especially when dealing with multiple models.

♻ Loop Lora Selector Usage Tips:

  • To achieve subtle modifications, start with lower strength values for both model and clip parameters and gradually increase them to observe the effects.
  • Experiment with different combinations of LoRAs to discover unique artistic styles or enhancements that suit your project needs.

♻ Loop Lora Selector Common Errors and Solutions:

No valid LoRAs selected

  • Explanation: This error occurs when none of the specified LoRA parameters are valid or selected.
  • Solution: Ensure that you have selected at least one valid LoRA file from the available list and that it is not set to "none".

Invalid strength value

  • Explanation: This error arises when the strength values for model or clip are set outside the allowed range.
  • Solution: Check that all strength values are within the range of -100.0 to 100.0 and adjust them accordingly.

♻ Loop Lora Selector Related Nodes

Go back to the extension to check out more related nodes.
Bjornulf_custom_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 Playground, enabling artists to harness the latest AI tools to create incredible art.