Dictionary Update (10 pairs)
Ten Pairs, One Node
- input_dict
- DICT
Dictionary Update (10 pairs) is the big sibling in Eugene's dictionary trio - the same idea as DictUpdate1 and DictUpdate5, just with room for ten key/value pairs in a single node. If you're building a full prompt-token library in one place - character, outfit, pose, style, lighting, camera, quality tags, a couple of negatives - this is the node you put at the top of the graph and never think about again.
How it works
No new mechanics, just more slots. It copies the optional input_dict, writes every pair with a non-empty key and non-empty value, and outputs a single DICT. Every slot from key2/value2 down is optional, and - same rule as the smaller siblings - empty pairs are silently skipped. Feed it nothing as input and it starts from an empty dictionary.
A note on the required fields: only key1/value1 are marked required in the schema, but they obey the same empty-is-ignored rule as everything else. The whole node behaves as "ten optional pairs," and that's exactly how you should treat it: fill as many as you need, leave the rest blank, and the dictionary only contains what you actually set.
Where it fits
This is the node for people who want their reusable prompt vocabulary visible. One DictUpdate10 holding ten named tokens reads like a settings panel, and every DictTemplate (or LoRA loader prefix) that references {character}, {style}, {quality} downstream stays in sync when you edit it. For genuinely huge dictionaries, chain it after a DictUpdate5 rather than hunting for a bigger single node.
Installing it
Same pack as always:
cd ComfyUI/custom_nodes
git clone https://github.com/JEONG-JIWOO/ComfyUI_Eugene_Nodes
Restart ComfyUI, or install via ComfyUI Manager (search "Eugene Nodes"). No pip requirements, no model downloads.
Where people get burned
The usual suspects, with a new twist. The custom DICT type means the output only wires to this pack's dictionary inputs - that's expected. But with ten pairs, the classic self-inflicted wound is duplicate keys: if two slots use the same key string, the later slot silently wins, and you can spend a while wondering why your value "doesn't stick." Keep slot keys unique, and remember the empty-pair skip rule means you can't intentionally store empty strings.
Inputs (21)
| Name | Type | Default | Description |
|---|---|---|---|
| key1 | STRING | — | |
| value1 | STRING | — | |
| input_dictopt | DICT | — | |
| key2opt | STRING | — | |
| value2opt | STRING | — | |
| key3opt | STRING | — | |
| value3opt | STRING | — | |
| key4opt | STRING | — | |
| value4opt | STRING | — | |
| key5opt | STRING | — | |
| value5opt | STRING | — | |
| key6opt | STRING | — | |
| value6opt | STRING | — | |
| key7opt | STRING | — | |
| value7opt | STRING | — | |
| key8opt | STRING | — | |
| value8opt | STRING | — | |
| key9opt | STRING | — | |
| value9opt | STRING | — | |
| key10opt | STRING | — | |
| value10opt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DICT | DICT | — |