Concatenate Prompts
The two-way joiner hiding inside a LyCORIS pack
- concatenation_style
- concatenated_text
Concatenate Prompts does exactly one thing: it takes two strings, joins them with a separator, and hands you the result. That's it. No list support, no trim, no magic - which is both why it's boring and why it's occasionally exactly the node you want.
It ships inside AbstractEyes/comfyui-lycoris, the same pack as the LyCORIS Loader. Yes, the LyCORIS loader pack. The author bundled a couple of plain text utilities alongside the adapter loader, and this is one of them. Don't go looking for LyCORIS-specific behavior here; it's a string joiner with the ABS prefix.
How it works
It's one line of logic: prompt1 + concatenation_style + prompt2, output as a single STRING. The concatenation_style field is just text - it defaults to , but you can type any separator you want, including ", " or " ". That last bit matters, because there's no whitespace cleverness: join with a bare comma and you get subject,style glued together with no space. If you want subject, style, the separator is ", ".
The inputs and output
- prompt1 / prompt2 - both multiline strings. These can come from anywhere: plain text nodes, a saved prompt, or other text utilities.
- concatenation_style - the separator, default
,. - concatenated_text (output) - the joined string, ready to feed into
CLIPTextEncodeor any other STRING input.
Why you'd reach for it
The obvious win is merging a subject prompt and a style prompt into one conditioning line without hand-editing. It's also a tidy way to splice a shared chunk (a base prompt, a common negative) into a couple of CLIPTextEncode nodes - change the shared piece once, and both branches pick it up. Keep it simple and it never bites you.
Where it gets awkward: it only takes two inputs. Build a prompt from three or four parts and you're chaining nodes in a line, which turns an editor into a daisy chain fast. For real prompt orchestration - lists, conditionals, more than two pieces - you're better off with a purpose-built prompt utility like rgthree's Power Lora Loader's sibling text nodes or any of the prompt-schedule packs. This one is for the quick two-piece join.
Installing it
It comes with the pack, so the install is the pack install - no package yet:
cd ComfyUI/custom_nodes
git clone https://github.com/AbstractEyes/comfyui-lycoris
Restart ComfyUI and search for "Concatenate Prompts." No extra dependencies (the pack's only requirement is torch), no model downloads. And if you already have this pack installed for the LyCORIS Loader, the node's already there - you just haven't noticed it.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt1 | STRING | — | |
| prompt2 | STRING | — | |
| concatenation_style | , | , | Choose how to concatenate the prompts. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| concatenated_text | STRING | — |