Prompt Combiner
Four text boxes and a separator, because sometimes that's all you need
- combined_text
Prompt Combiner is the most boring node in ComfyUI-Variationator, and it's genuinely useful for exactly that reason. It joins up to four text strings with a separator you choose - default , - and hands you back one combined string. That's it. No modifiers, no lookup tables, no DRY/WET anything. If you've ever built a prompt out of parts (subject + setting + quality tags) or wanted to assemble a prompt from other nodes' outputs, this is the node you didn't know you needed.
Mechanically it's a single line of Python: it collects the four text inputs, drops any that are empty, and joins the rest with your separator. The empty-string filtering is the part that makes it actually pleasant to use - you can leave text_2 through text_4 unconnected in a workflow and it quietly skips them instead of emitting ,, noise. Only text_1 is required; the other three and the separator are all optional.
The inputs: text_1 through text_4 (all multiline strings, text_1 required) and separator (default ", " - change it to a newline if you're building block-style prompts for an LLM-encoded model, or to , for classic tag soup). One output: combined_text, a STRING that feeds any prompt input in the graph.
Because everything in this pack outputs plain STRING, Prompt Combiner is a natural glue node: take a base prompt from one node, a lighting modifier's output from another, a style transform from a third, and combine them with a separator instead of chaining modifiers inside each other. It's also handy for assembling the style part of a custom Style Transform without fighting the pack's fixed inputs. The README frames the whole pack as "prompt orchestration," and this is the orchestration part in its purest form - the other nodes produce text, this one shapes how it joins.
Install is the standard zero-dependency pack story: ComfyUI Manager → search "Variationator" → install → restart, or cd ComfyUI/custom_nodes && git clone https://github.com/MushroomFleet/ComfyUI-Variationator.git. There's an install-portable.bat that references a requirements.txt the repo doesn't ship - skip it, nothing needs pip-installing. Look under Prompt Orchestration.
The honest caveat is the same one you'll hear about every text-joining node in ComfyUI: ComfyUI itself ships a perfectly good text combine node, and several packs (rgthree, and others) have their own with fancier features like multiple inputs. Prompt Combiner's edge is that it's already here the moment you install Variationator, it's dead simple, and its empty-input filtering is nicer than the barebones default. For a quick single-purpose graph, that's plenty. If you find yourself wanting dynamic prompt selection or wildcard-style variation instead of static text joining, this isn't that node - and honestly, neither is the rest of this pack, so set expectations accordingly.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| text_1 | STRING | — | |
| text_2opt | STRING | — | |
| text_3opt | STRING | — | |
| text_4opt | STRING | — | |
| separatoropt | STRING | , | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| combined_text | STRING | — |