Parameter Dictionary Combine
Merge up to three key/value pairs into one dict
- parameter1
- parameter2
- parameter3
- parameters
This pack has a whole family of fan-in nodes - combine several files into one, several strings into one, several conditionings into one - and Parameter Dictionary Combine is that pattern applied to dictionaries. It takes up to three DICT inputs and merges them into a single DICT output, no other logic involved.
What it does
Three optional inputs, parameter1 through parameter3, each a DICT - typically built one key:value pair at a time by this pack's own parameter_function node. Connect however many of the three you actually have; none are required, so wiring in just one or two works fine. The output, parameters, is all of them merged into a single dictionary.
That's genuinely the whole node. There's no validation, no schema checking - it just merges whatever dictionaries it's handed.
Where it fits
Reach for this whenever something downstream expects a single structured parameter object but what you actually have is scattered across two or three separate parameter_function calls - assembling the arguments for an external API call, or building a multi-field object to hand to one of this pack's "APP link" category nodes. Build each field with parameter_function, then merge them here into one thing to pass along.
The reason this exists as a separate node at all, rather than parameter_function just accepting several key/value pairs directly, is worth noticing: it keeps each field's construction independent on the canvas. You can build, rename, or rewire one field without touching the others, and only bring them together at the point where something actually needs the combined object - a small but genuinely useful separation once a graph has more than a couple of moving parts feeding into the same call.
How to install it
Ships with the full pack:
- ComfyUI Manager: search "comfyui_LLM_party", install, restart.
- Manual:
cd ComfyUI/custom_nodes && git clone https://github.com/heshengtao/comfyui_LLM_party, thenpip install -r requirements.txtfrom inside the pack folder using ComfyUI's own Python, then restart.
Nothing else needed - pure data assembly, no external dependency of its own.
Common issues & troubleshooting
Two of your three dicts define the same key. Merging dictionaries with a repeated key is standard last-one-wins behavior in Python, and there's nothing here suggesting this node does anything unusual - if parameter1 and parameter2 both define "style", don't expect both to survive. Give each field a unique key at the parameter_function step, before it ever reaches this node.
Only need one or two of the three inputs. That's fine - all three are optional. Connect what you actually have and leave the rest unwired.
You've hit the three-input limit. That's exactly what Large Parameter Dictionary Combine (parameter_combine_plus) exists for - same node, same behavior, ten slots instead of three, for when you're assembling something with more than three distinct fields.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| parameter1opt | DICT | — | |
| parameter2opt | DICT | — | |
| parameter3opt | DICT | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| parameters | DICT | — |