ComfyUI Node
set
Adds or updates a key-value pair in a dictionary. This node takes a dictionary, key, and value as inputs, then returns a modified dictionary with the new key-value pair.
set
- input_dict
- value
- DICT
◄key►
CategoryBasic/DICT
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| input_dict | DICT | — | |
| key | STRING | — | |
| value | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DICT | DICT | — |