ComfyUI > Nodes > ComfyUI-EreNodes > Prompt to LoRA Stack

ComfyUI Node: Prompt to LoRA Stack

Class Name

ErePromptLoraStack

Category
EreNodes
Author
Erehr (Account age: 3928days)
Extension
ComfyUI-EreNodes
Latest Updated
2025-08-11
Github Stars
0.06K

How to Install ComfyUI-EreNodes

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

Prompt to LoRA Stack Description

Parses prompts with LoRA references for structured use in ComfyUI, aiding AI art workflows.

Prompt to LoRA Stack:

The ErePromptLoraStack node is designed to parse and process prompts containing LoRA (Low-Rank Adaptation) references, transforming them into a structured format that can be utilized within the ComfyUI framework. This node is particularly useful for AI artists who work with LoRA models, as it automates the extraction and organization of LoRA parameters embedded within text prompts. By identifying and converting LoRA references into a stack format, the node facilitates the seamless integration of LoRA models into creative workflows, enhancing the efficiency and effectiveness of AI-driven art generation. The primary goal of this node is to streamline the handling of LoRA models by interpreting prompt strings and preparing them for further processing or application.

Prompt to LoRA Stack Input Parameters:

prompt

The prompt parameter is a required input that accepts a string containing the text prompt to be processed. This prompt should include LoRA references in the format <lora:filename:strength>, where filename is the name of the LoRA model file and strength is a numerical value representing the model's influence. The prompt parameter is crucial as it serves as the source from which the node extracts and organizes LoRA information. There are no specific minimum or maximum values for this parameter, but it must be a valid string containing the expected LoRA format to ensure accurate processing.

Prompt to LoRA Stack Output Parameters:

lora_stack

The lora_stack output parameter is a list that contains tuples representing the parsed LoRA references from the input prompt. Each tuple consists of the LoRA model's filename, model strength, and clip strength, formatted as (filename, strength, strength). This output is essential for users who need to apply multiple LoRA models in their workflows, as it provides a structured and easily accessible format for further processing. The lora_stack enables efficient management and application of LoRA models, ensuring that the desired artistic effects are achieved with precision.

Prompt to LoRA Stack Usage Tips:

  • Ensure that your prompt string includes LoRA references in the correct format <lora:filename:strength> to allow the node to accurately parse and process the information.
  • Use descriptive filenames for your LoRA models to make it easier to identify and manage them within the lora_stack output.

Prompt to LoRA Stack Common Errors and Solutions:

Lora not found in any known folder

  • Explanation: This error occurs when the specified LoRA model file cannot be located in the expected directories.
  • Solution: Verify that the filename in your prompt matches the actual file name of the LoRA model, and ensure that the file is placed in the correct directory.

Failed to read LoRA metadata

  • Explanation: This error indicates an issue with accessing or reading the metadata associated with a LoRA model file.
  • Solution: Check the integrity of the LoRA model file and its accompanying metadata file. Ensure that the metadata file is correctly formatted and accessible.

Prompt to LoRA Stack Related Nodes

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

Prompt to LoRA Stack