ComfyUI > Nodes > Santodan Random LoRA Node > Random LoRA Selector

ComfyUI Node: Random LoRA Selector

Class Name

RandomLoRACustom

Category
Santodan/LoRA
Author
Santodan (Account age: 3353days)
Extension
Santodan Random LoRA Node
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install Santodan Random LoRA Node

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

Random LoRA Selector Description

Enhances AI art by randomly applying LoRA models for diverse, creative style variations.

Random LoRA Selector:

The RandomLoRACustom node is designed to enhance your AI art generation process by applying random LoRA (Low-Rank Adaptation) models to your existing models. This node allows you to introduce variability and creativity into your outputs by randomly selecting and applying different LoRA models, which can modify the behavior and characteristics of your base model. The primary benefit of using this node is its ability to inject randomness and diversity into your art generation process, making it particularly useful for artists looking to explore a wide range of styles and effects without manually selecting each LoRA model. By leveraging randomization, the node helps maintain consistency in randomness across different runs, ensuring that the same seed will produce the same results unless the LoRA selection is changed. This feature is particularly beneficial for artists who want to experiment with different styles while maintaining a level of predictability in their outputs.

Random LoRA Selector Input Parameters:

model

The model parameter represents the base model to which the LoRA modifications will be applied. It serves as the foundation for the art generation process, and the selected LoRA models will alter its characteristics to produce varied outputs. This parameter is crucial as it determines the initial capabilities and style of the generated art.

clip

The clip parameter is used to provide additional context or guidance to the model during the art generation process. It can influence the style and content of the output by providing textual or visual cues that the model can use to refine its results. This parameter is important for achieving specific artistic effects or themes.

exclusive_mode

The exclusive_mode parameter determines whether only one LoRA model should be applied exclusively or if multiple models can be used simultaneously. When set to "On," only one LoRA model is selected, ensuring a focused modification of the base model. This parameter is essential for controlling the extent of variability introduced by the LoRA models.

refresh_loras

The refresh_loras parameter, when set to True, ensures that a new random seed is generated for LoRA selection, introducing fresh randomness into the process. This parameter is useful for artists who want to explore new combinations of LoRA models without being constrained by previous selections.

force_refresh_cache

The force_refresh_cache parameter, when enabled, forces the node to refresh its cache of available LoRA models. This is particularly useful when new LoRA models have been added or existing ones have been updated, ensuring that the latest versions are used in the selection process.

extra_trigger_words

The extra_trigger_words parameter allows you to specify additional keywords or phrases that can influence the selection and application of LoRA models. These trigger words can guide the model towards specific styles or themes, providing more control over the artistic output.

exclude_loras_from_node

The exclude_loras_from_node parameter allows you to specify a list of LoRA models that should be excluded from the random selection process. This is useful for avoiding certain styles or effects that may not align with your artistic vision.

kwargs

The kwargs parameter is a flexible input that allows you to pass additional keyword arguments to the node. These arguments can include specific settings or configurations that further customize the behavior of the node, providing advanced users with more control over the art generation process.

Random LoRA Selector Output Parameters:

model

The model output parameter represents the modified base model after the selected LoRA models have been applied. This output is crucial as it embodies the new characteristics and styles introduced by the LoRA modifications, serving as the final product of the art generation process.

clip

The clip output parameter provides the modified context or guidance used during the art generation process. It reflects any changes made by the applied LoRA models and can influence the interpretation and style of the generated art.

selected_loras

The selected_loras output parameter lists the LoRA models that were randomly selected and applied to the base model. This information is valuable for understanding the specific modifications made to the model and can be used for further analysis or replication of results.

extra_trigger_words

The extra_trigger_words output parameter returns any additional keywords or phrases that were used to influence the LoRA selection and application process. This output helps in understanding the thematic or stylistic direction taken during the art generation.

Random LoRA Selector Usage Tips:

  • Experiment with different exclusive_mode settings to see how single versus multiple LoRA applications affect your art style.
  • Use refresh_loras to explore new combinations of LoRA models and introduce fresh randomness into your art generation process.
  • Leverage extra_trigger_words to guide the model towards specific themes or styles, enhancing the creative direction of your outputs.

Random LoRA Selector Common Errors and Solutions:

No active LoRAs found.

  • Explanation: This error occurs when no active LoRA models are available for selection, possibly due to incorrect parameter settings or missing LoRA models.
  • Solution: Ensure that you have specified valid LoRA model names and that they are available in the system. Check your input parameters to confirm that they are correctly configured.

Invalid seed value.

  • Explanation: This error may arise if the seed value used for randomization is not properly generated or is out of range.
  • Solution: Verify that the refresh_loras parameter is set correctly and that the seed generation logic is functioning as expected. If necessary, manually reset the seed to a valid value.

Random LoRA Selector Related Nodes

Go back to the extension to check out more related nodes.
Santodan Random LoRA Node
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.