Nodes/Mikey Nodes/Text Combinations 3 (Mikey)
ComfyUI Node

Text Combinations 3 (Mikey)

Text Combinations 3 (Mikey) — ComfyUI Node

By bash-j·Created 3 years ago·Updated 10 months ago· 188
Text Combinations 3 (Mikey)
    • output1
    • output2
    • output3
    text1Text 1
    text2Text 2
    text3Text 3
    operationtext1 to output1, text1 to output2, text1 to output3
    delimiter
    use_seedfalse
    seed0

    The bigger sibling of TextCombinations - same core idea, one more text field, and a dropdown that grows a lot to cover it. Where the two-input version gives you 9 possible arrangements, this one gives you 343. That's not a typo: with three source texts, each of the three outputs can independently be text1, text2, text3, or any pairwise or three-way combination joined by your delimiter - 7 possibilities per output - and 7 × 7 × 7 is 343.

    Why the number matters

    You don't need to memorize that math, but it's worth knowing because it explains what you're looking at when you open the operation dropdown and it's enormous. Every single row is a fully spelled-out recipe - "text1 to output1, text2 to output2, text1 + text3 to output3" - so you're never guessing what a choice does, you're just scrolling (or searching, if your ComfyUI build supports it) to the exact arrangement you want. It's a brute-force but genuinely convenient way to avoid stringing together a chain of concat and switch nodes every time you need a different combination of three prompt fragments.

    Where this earns its keep: think three prompt building blocks - say a subject description, a style block, and a setting block - where different parts of your workflow need different mixes of them. Maybe your main prompt wants all three combined, but your filename wants just the subject, and a debug preview wants subject + style without setting. One node, one dropdown, three live outputs.

    use_seed and seed work the same way as on the two-input version: flip use_seed to true and the seed picks which of the 343 rows is active instead of you selecting one, which is the difference between a fixed recombination and getting genuine variety across a batch run.

    Inputs and outputs

    • text1, text2, text3 - your three source strings, each multiline with placeholder defaults.
    • operation - the 343-option dropdown covering every arrangement.
    • delimiter - inserted between combined texts; a single space by default.
    • use_seed / seed - randomizes the active operation when enabled.

    Outputs: output1, output2, output3 - plain strings, wire them wherever your three downstream consumers need them.

    Installing it

    Through ComfyUI Manager (search "Mikey Nodes"), or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/bash-j/mikey_nodes
    

    Restart ComfyUI. No model downloads or extra dependencies - it's pure text logic, same as the rest of this pack's text-processing nodes.

    Where it gets awkward

    343 options in one dropdown is a lot to scroll through by hand, and it's easy to click one row off from the one you meant, especially since several adjacent entries differ by only one output's source. Double-check the exact operation text after picking it, not just its position in the list.

    If you only actually need two text fields, don't reach for this node out of habit - TextCombinations (the two-input version, also in this pack) has a much shorter, easier-to-navigate dropdown and does the job with less room for a misclick.

    CategoryMikey/Text

    Inputs (7)

    NameTypeDefaultDescription
    text1STRINGText 1
    text2STRINGText 2
    text3STRINGText 3
    operationCOMBOtext1 to output1, text1 to output2, text1 to output3343 options: text1 to output1, text1 to output2, text1 to output3, text1 to output1, text1 to output2, text2 to output3, text1 to output1, text1 to output2, text3 to output3, text1 to output1, text1 to output2, text1 + text2 to output3, text1 to output1, text1 to output2, text1 + text3 to output3, text1 to output1, text1 to output2, text2 + text3 to output3, +337
    delimiterSTRING
    use_seedCOMBOfalse2 options: true, false
    seedINT00–18446744073709550000

    Outputs (3)

    NameTypeDescription
    output1STRING
    output2STRING
    output3STRING