ComfyUI > Nodes > ComfyUI-EreNodes > Prompt Multiline

ComfyUI Node: Prompt Multiline

Class Name

ErePromptMultiline

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 Multiline Description

ErePromptMultiline efficiently processes multiline text by concatenating prefixes with customizable separators.

Prompt Multiline:

ErePromptMultiline is a versatile node designed to handle and process multiline text inputs efficiently. It is part of the EreNodes suite, which provides a range of functionalities for managing and manipulating text prompts in creative workflows. This node is particularly beneficial for users who need to work with complex text structures, allowing for the seamless integration of multiline text with optional prefixes. The node's primary function is to concatenate a given prefix with the main text input, using a customizable separator that can be adjusted based on specific workflow requirements. This flexibility makes ErePromptMultiline an essential tool for artists and creators who need to manage detailed and structured text prompts, enhancing their ability to generate intricate and nuanced outputs.

Prompt Multiline Input Parameters:

text

The text parameter is a required input that accepts a multiline string. This parameter serves as the main body of text that you wish to process. The multiline capability allows you to input complex and structured text, which can be particularly useful for detailed prompts or instructions. There is no explicit minimum or maximum length for this input, but it is designed to handle extensive text entries efficiently.

prefix

The prefix parameter is an optional input that allows you to prepend a specific string to the main text. This can be useful for adding context or categorization to your text input. When provided, the prefix is concatenated with the main text using a separator. The default behavior is to force input for this parameter, ensuring that any prefix used is intentional and relevant to the task at hand.

extra_pnginfo

This hidden parameter is used internally to store additional metadata, such as workflow information. It is not intended for direct user input but plays a crucial role in determining the separator used between the prefix and the main text. If the workflow metadata contains specific instructions, the node will adjust the separator accordingly.

unique_id

Another hidden parameter, unique_id, is used to uniquely identify the node within a workflow. This ensures that any specific settings or adjustments, such as the prefix separator, are applied correctly to the intended node instance.

Prompt Multiline Output Parameters:

STRING

The output of the ErePromptMultiline node is a single string that combines the prefix and the main text input, separated by a customizable separator. This output is crucial for generating structured and coherent text prompts, which can be used in various creative applications. The resulting string maintains the integrity of the original text while incorporating any additional context provided by the prefix.

Prompt Multiline Usage Tips:

  • Utilize the prefix parameter to add context or categorization to your text inputs, enhancing the clarity and relevance of your prompts.
  • Customize the separator by adjusting the workflow metadata to ensure that the concatenation of the prefix and text aligns with your specific formatting needs.

Prompt Multiline Common Errors and Solutions:

Missing text input

  • Explanation: This error occurs when the required text parameter is not provided.
  • Solution: Ensure that you input a valid multiline string in the text parameter before processing.

Invalid prefix separator

  • Explanation: This error might arise if the separator specified in the workflow metadata is not correctly formatted.
  • Solution: Check the workflow metadata for the correct specification of the _prefixSeparator property and ensure it is formatted as a valid string.

Prompt Multiline 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.