Nodes/ComfyUI-Pixaroma/Text Join Two Pixaroma
ComfyUI Node

Text Join Two Pixaroma

The no-nonsense way to glue two strings together

By pixaroma·Created 5 months ago·Updated 2 days ago· 369
Text Join Two Pixaroma
    • text
    text_1
    text_2

    Text Join Two Pixaroma is the smallest member of the Text Join family, and it does exactly what the name says: joins two pieces of text into one. You'd think core ComfyUI would have this nailed, but the details are where it earns its place - type-or-wire inputs, a configurable separator, and empty pieces skipped so you never get a stray comma in the middle of a prompt.

    Each of the two boxes is type-or-wire: type straight in, or drag a wire onto its dot to pull text from another node. When a wire is connected, the wire wins. That's the trick that makes it useful mid-graph - fixed text you typed and live text from a prompt generator or an LLM node can mix freely, and the boxes grow as you enlarge the node so long text has room.

    Inputs and output

    • text_1 and text_2 (STRING, multiline) - the two pieces to join.
    • text output - both pieces joined with your separator.

    Right-click for the settings: choose what goes between the pieces (comma, space, new line, none, or your own), and turn on skip empty so an unconnected box never leaks a separator into the result. The handy part: rename each input to whatever fits your workflow - trigger words, prompt, camera, lighting - so the node reads the way you think, not as a pair of numbered boxes. There's per-line copy and paste on each box, and it works in both the classic and the new node interface.

    Install

    It's part of the Pixaroma pack: ComfyUI Manager → search Pixaroma → install → restart, or:

    cd ComfyUI/custom_nodes
    git clone https://gitlab.com/pixaroma/comfyui-pixaroma.git
    

    No models, no dependencies. The pack-wide gotcha: hard-refresh the browser tab (Ctrl+Shift+R / Cmd+Shift+R) after an update, since cached node visuals are the usual "looks broken" culprit.

    For two pieces, this is the one. Need three or four? There are sibling nodes for that - Text Join Three and Text Join Four Pixaroma - with the same behavior, and any of them is easier to read than a stack of primitive concatenate nodes.

    Category👑 Pixaroma/💬 Prompt & Text

    Inputs (2)

    NameTypeDefaultDescription
    text_1optSTRINGText piece 1. Type here, or drag a wire onto its dot to pull text from another node (the wire wins when connected).
    text_2optSTRINGText piece 2. Type here, or drag a wire onto its dot to pull text from another node (the wire wins when connected).

    Outputs (1)

    NameTypeDescription
    textSTRINGThe two pieces joined with your separator.