Mpi Multi Text x5
The biggest box in the join family, and probably the last one you'll need
- text
Mpi Multi Text x5 is the top of the stack: five multiline text boxes joined into one string. If your prompt splits into five independently-editable pieces, this is the node. And if it splits into more than five, honestly, stop - that's the sign you want the pack's proper prompt-list machinery (MpiPromptList feeding MpiPromptProcessor) instead of hand-joining strings.
How it works
Five required inputs, text_1 through text_5, each a multiline STRING box. The output text is all five joined with single spaces, in box order. That's the whole mechanism - no separators added, no reordering, no smart handling of empty boxes (an empty box just contributes nothing between its surrounding spaces, so leave unused ones blank if you insist on using this node with fewer pieces).
The inputs and output
text_1…text_5- the five chunks. All required, all multiline. This is a lot of text boxes on one node, so think about whether you actually keep all five pieces separate before you commit the canvas real estate.text(output) - the joined STRING. Goes to a CLIP Text Encode or into a larger assembly.
Installing it
cd ComfyUI/custom_nodes
git clone https://github.com/MadPonyInteractive/ComfyUi-MpiNodes
Restart ComfyUI, or search ComfyUi-MpiNodes in ComfyUI Manager. No pip deps, no models - pure Python. AGPL-3.0 from v1.2.7 (MIT through 1.2.6).
The honest take
The x5 is the one you reach for when you're assembling a genuinely modular prompt: quality block, subject, clothing, environment, lighting - five distinct slots you toggle between runs. But here's the thing the pack itself is nudging you toward: if those slots are meant to vary (different subject each run, random clothing), you've outgrown text boxes. The ComfyUi-MpiNodes prompt system - _title_ tokens in a MpiPromptProcessor template, with MpiPromptList nodes holding the options - does that with randomization, probability, and chaining, and it's where the same authors put their real effort. MultiText is for the fixed-part assembly; the prompt system is for the parts that change.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| text_1 | STRING | — | |
| text_2 | STRING | — | |
| text_3 | STRING | — | |
| text_4 | STRING | — | |
| text_5 | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |