πΈ Merge
Join up to ten prompt strings with a separator β now a legacy node
- merged
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.
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| separator | STRING | , | String placed between each joined input. |
| input_1opt | STRING | String input 1. | |
| input_2opt | STRING | String input 2. | |
| input_3opt | STRING | String input 3. | |
| input_4opt | STRING | String input 4. | |
| input_5opt | STRING | String input 5. | |
| input_6opt | STRING | String input 6. | |
| input_7opt | STRING | String input 7. | |
| input_8opt | STRING | String input 8. | |
| input_9opt | STRING | String input 9. | |
| input_10opt | STRING | String input 10. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| merged | STRING | β |