Unified Presets (Primitive) (Legacy)
One dropdown that drives three prompt families in lockstep
- preset
- escape_parentheses
This node is plumbing, and it's proud of it. The "(Legacy)" tag on its name tells the story: it's the older ID for UC_UnifiedPresets, kept alive so existing workflows don't break. What it does is simple - it's a primitive node, the "one value wired to five places" pattern that every ComfyUI graph needs sooner or later.
The pack ships three separate preset libraries: system message presets, instruct prompt presets, and bonus prompt presets. They each have their own dropdown, and if you want all three to agree on the same style preset, you're maintaining three dropdowns by hand. Unified Presets fixes the repetition: it computes the intersection of all three preset lists and gives you one dropdown. Whatever you pick there, you wire into all three consumers, and they all move together. Change the selection once, three nodes update.
What it actually outputs
This is the part beginners misread. The node does not output the preset's text content - it outputs the selection (the preset name string, like STYLE_3D) as an * (ANY) type, plus the escape_parentheses flag as a boolean. Think of it as ComfyUI's own Primitive node with a shared preset list baked in: it's a source of a value, not a generator of text.
- preset (combo) - pick from the presets shared across the three families.
- escape_parentheses (boolean) - a passthrough flag. The tooltip says it "prevents errors from parentheses left in the prompt"; the node just forwards the flag, and the consumer preset nodes do the actual backslash-escaping.
To use it, convert the preset widget on UC_SystemMessagePresets, UC_InstructPromptPresets, and UC_BonusPromptPresets to an input, wire all three to this node's preset output, and run the escape_parentheses output to their escape inputs. One source of truth, three consumers.
Installing it
Part of ComfyUI-UtilsCollection. ComfyUI Manager → search ComfyUI-UtilsCollection → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/silveroxides/ComfyUI-UtilsCollection
Light deps (opencv-python, typing-extensions), no model downloads.
A note on the legacy tag
If ComfyUI offers to replace this node with UC_UnifiedPresets, accept - same behavior, modern ID. The whole (Legacy) family in this pack exists so old saved workflows keep loading without you hunting down replacements. If you're starting fresh, use the UC_ version; if a downloaded workflow references this one, it just works.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| preset | COMBO | STYLE_3D | 82 options: STYLE_3D, STYLE_70S_SCIFI, STYLE_ADULT_SWIM, STYLE_ADVENTURE_TIME, STYLE_ANIME, STYLE_BOBS_BURGERS, +76 |
| escape_parentheses | BOOLEAN | false | Prevents errors from parentheses left in the prompt. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| preset | * | — |
| escape_parentheses | BOOLEAN | — |