EasyUse/Promptgenerated
PromptConcat(promptConcat)
PromptConcat concatenates two prompt strings with a configurable separator.
prompt Concat
prompt
prompt1
STRING
prompt2
STRING
separator
STRING
Easy Use
PromptConcat concatenates two prompt strings with a configurable separator. It is a lightweight string utility for building prompts from reusable segments, such as combining a main subject with style, quality, or detail tags. The node performs no trimming, escaping, or formatting; the strings are passed through exactly as provided.
Description
This node is part of the ComfyUI-Easy-Use package and belongs to the EasyUse/Prompt category. It takes two prompt strings and joins them with a separator, producing a single combined string output.
Inputs
- prompt1 (
STRING, optional, default:""): The first prompt segment to concatenate. - prompt2 (
STRING, optional, default:""): The second prompt segment to concatenate. - separator (
STRING, optional, default:""): The text placed betweenprompt1andprompt2. Use a space, comma, line break, or any other delimiter as needed. Leave empty to concatenate the two prompts directly with no separator.
Outputs
- STRING: The concatenated prompt result.
Usage Notes
- All inputs are optional and default to an empty string, so the node can be used with only one side filled in if desired.
- The separator is inserted verbatim between the two prompt strings, so include any surrounding spaces or punctuation in the separator value for readable output.
- This node is useful for composing prompts from reusable parts, such as appending quality tags or style modifiers to a base prompt.
- Because the output is a plain string, it can be passed to other prompt-processing or sampler nodes in a workflow.
Comments
Sign in with GitHub to join the discussion.