Mpi Multi Text x2
Two text boxes, one prompt, zero separator pain
- text
The problem this node solves is one you've already hit: you want a prompt that's half "a fixed quality string you don't want to retype" and half "a subject you're going to change a lot." So you copy the fixed half into every prompt box, and the first time you tweak it you miss one. Mpi Multi Text x2 gives you two multiline text boxes on one node and joins them into a single string - a 30-second fix for prompt deduplication.
It ships in ComfyUi-MpiNodes (Mad Pony Interactive's utility pack), where it sits in the Conditioning category alongside its x3, x4, and x5 siblings. The family exists because the pack's own prompt-generation nodes output whole strings that you often want to assemble from a few logical pieces, and a plain join keeps those pieces editable.
How it works
Honestly, it's barely a mechanism: two required inputs, text_1 and text_2, both multiline STRING boxes, joined with a single space and output as text. "Combine 2 text inputs" is the entire description and the entire behavior.
The one thing worth knowing: the join uses a space, not a comma or newline. So if your two pieces are meant to be comma-separated tags, put the comma at the end of text_1 yourself. "masterpiece, best quality," + "a red fox" becomes "masterpiece, best quality, a red fox" - natural sentence joining, but it won't add punctuation for you.
The inputs and output
text_1- the first piece, multiline.text_2- the second piece, multiline.text(output) - the joined STRING, ready for a CLIP Text Encode or another MultiText node upstream of one.
Installing it
cd ComfyUI/custom_nodes
git clone https://github.com/MadPonyInteractive/ComfyUi-MpiNodes
Restart, done. Or ComfyUI Manager → search ComfyUi-MpiNodes. No pip deps, no model downloads - the whole pack is pure Python (AGPL-3.0 at current versions, MIT through 1.2.6).
Why not just retype it?
You've got a quality block you reuse in every positive prompt. Put it in text_1, keep text_2 for the subject, and you change the quality everywhere at once. If you find yourself joining more than two pieces, the x3/x4/x5 variants do the same thing with more boxes - pick the one that matches how many chunks you actually keep separate, rather than chaining four x2 nodes in a row.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| text_1 | STRING | — | |
| text_2 | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |