Nodes/RedNode Studio/RedNode Prompt Combine
ComfyUI Node

RedNode Prompt Combine

Gluing prompts together without rewiring

By RedNodeAI·Created 3 months ago·Updated 3 days ago· 14
RedNode Prompt Combine
    • prompt
    ◄text_1►
    ◄text_2►
    ◄separator, ►
    ◄order►
    ◄is_final_promptfalse►
    ◄channel►
    ◄config{}►
    ◄channel_out►

    The plain utility node in the pack, and honestly the one with zero learning curve. RedNodePromptCombine concatenates prompt parts with a separator and hands you a single string. Two text boxes by default, a "+ add textbox" button when you need more, and an order field that lets you rearrange parts without rewiring a thing.

    The inputs

    • text_1, text_2 - the prompt parts. Both default to empty strings.
    • separator - placed between parts. Defaults to ", ", and the tooltip is the useful bit: type \n for a newline.
    • order - rearrange parts by 1-based index without moving wires. "2,1" swaps the first two boxes, "3,1" puts box three first. Unlisted parts follow in natural order; empty means natural order.

    The "+ add textbox" button appends more text_N boxes, and the order field treats them by the same numbering. The output is a single prompt STRING, which you can feed straight into any prompt input - including the instruction on Krea2RedNode or the prompt on the moodboard nodes.

    Why it exists in this pack

    It's the glue node for the author's full pipeline (Krea_Workflow_Public.json): caption-derived prompt fragments, wildcard expansions, and hand-written bits get combined into one string before encoding. ComfyUI has a dozen prompt-combining utilities (Comfyroll, and several others in that pipeline's dependency list), but this one exists so you can do it with zero extra packs. It's also handy on its own for the classic pattern of a fixed style suffix plus a varying subject, or a newline-joined multi-part prompt.

    Honestly, if you're using the rest of this pack, this node is a convenience rather than a requirement - you can build the same string in a primitive text box. Its niche is when you want to keep prompt parts as separate, reorderable boxes on the canvas instead of one long string you have to edit in place. For that, it does exactly what it says, no surprises.

    Installing

    Ships with the whole pack, GPL-3.0, no dependencies of its own:

    git clone https://github.com/RedNodeAI/ComfyUI-Krea2Moodboard ComfyUI/custom_nodes/ComfyUI-Krea2Moodboard
    

    or ComfyUI Manager (search "Krea2Moodboard"), restart. It's pure string handling - no Krea 2 model files, no LoRA, no VAE needed for this one to work, though you'll obviously want the rest of the stack if it's feeding a Krea 2 workflow.

    Set your separator, order your parts, and you're done. It's the rare node you can use correctly the first time.

    CategoryRedNode/Prompt

    Inputs (8)

    NameTypeDefaultDescription
    text_1STRING—
    text_2STRING—
    separatorSTRING, placed between parts; type \n for a newline
    orderSTRINGrearrange parts without rewiring: 1-based indices, e.g. '2,1' or '3,1'. Unlisted parts follow in natural order. Empty = natural order.
    is_final_promptBOOLEANfalseflags this as THE prompt for RedNode Save's text record. Save traces the prompt back from the sampler on its own, so this is only needed when a workflow has several combiners and you want to name the winner. No wire either way.
    channelSTRINGOPTIONAL. Name a channel and every string on it becomes a row here, with no wires. Leave it empty to use only the boxes and wires you set up by hand.
    configSTRING{}—
    channel_outSTRINGOPTIONAL. Put this node's combined prompt onto a channel, so anything subscribed to that name picks it up with no wire. This is the general form of the final-prompt flag: instead of one node being the winner, any number of results can be named and collected. Reading and sending the same channel would make this node wait on itself, so that value is left out and the console says so.

    Outputs (1)

    NameTypeDescription
    promptSTRING—