Nodes/Frog Node Pack/🐸 Merge
ComfyUI Node

🐸 Merge

Join up to ten prompt strings with a separator β€” now a legacy node

By RabbitThatIsPinkΒ·Created 3 months agoΒ·Updated 24 days agoΒ· 1
🐸 Merge
    • merged
    β—„separator, β–Ί
    β—„input_1β€”β–Ί
    β—„input_2β€”β–Ί
    β—„input_3β€”β–Ί
    β—„input_4β€”β–Ί
    β—„input_5β€”β–Ί
    β—„input_6β€”β–Ί
    β—„input_7β€”β–Ί
    β—„input_8β€”β–Ί
    β—„input_9β€”β–Ί
    β—„input_10β€”β–Ί

    Frog Merge is a plain string joiner, and it's honest about being past its prime: the README lists it under Deprecated, superseded by 🐸 Prompt Processor, "still functional - existing workflows using these nodes will not break." So if you're starting fresh, this isn't the node to build on - but if you've loaded an old workflow that uses it, or you just want a dead-simple ten-input merge without learning the Prompt Processor's toggle system, it still works exactly as advertised.

    What it does is the most boring thing in the pack: take up to ten optional string inputs, join them with a separator, output one string. That's it. In the Frog workflow architecture it was one link in the old four-node prompt chain - 🐸 Merge β†’ 🐸 Wildcard Resolver β†’ 🐸 Sorter β†’ 🐸 Dedupe - which assembled a final prompt from a library base, a character name, scene descriptions, and whatever else was around. Prompt Processor collapsed that whole chain into one node with toggle-gated inputs, which is why Merge is now legacy. If you're building a new prompt-assembly workflow, go read the Prompt Processor instead.

    The input that matters

    • separator - the string placed between each joined input. Default , , which is what you want for tag-style anime prompts. Change it to a newline, a space, or nothing, depending on what your model's prompt grammar expects.
    • input_1 through input_10 - all optional strings. Unconnected inputs are simply skipped; there's no placeholder that leaks into your prompt. That last property is worth stating, because not every merge node handles "empty socket" gracefully - this one treats a disconnected input as absent, and the output only contains what you actually wired.

    What comes out

    merged - a single STRING. Wire it into a text encoder, a save node's metadata field, or anything downstream that eats a string.

    Installing it

    It ships in Frog Node Pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/RabbitThatIsPink/FrogNodePack
    

    or ComfyUI Manager β†’ "Frog Node Pack". No extra dependencies.

    Where people trip

    Two things. First, empty-but-connected inputs are not skipped - if you wire a node that outputs an empty string, that empty string gets joined in, giving you a doubled separator like prompt_a, , prompt_b. The node skips disconnected inputs, not empty ones; if you're getting stray double commas, that's the difference. Second, don't confuse it with the pack's other Merge: the README's "🐸 Prompt Merge" is a different, toggle-gated node for the Toggle Pack system. This Merge is the dumb one, and it knows it. Use it in a pinch or in legacy graphs, and for anything new, the Prompt Processor does this plus wildcard resolution, sorting, and deduping in one step.

    Category🐸 Node Pack

    Inputs (11)

    NameTypeDefaultDescription
    separatorSTRING, String placed between each joined input.
    input_1optSTRINGString input 1.
    input_2optSTRINGString input 2.
    input_3optSTRINGString input 3.
    input_4optSTRINGString input 4.
    input_5optSTRINGString input 5.
    input_6optSTRINGString input 6.
    input_7optSTRINGString input 7.
    input_8optSTRINGString input 8.
    input_9optSTRINGString input 9.
    input_10optSTRINGString input 10.

    Outputs (1)

    NameTypeDescription
    mergedSTRINGβ€”