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.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
set
  • input_dict
  • value
  • DICT
key
CategoryBasic/DICT

Inputs (3)

NameTypeDefaultDescription
input_dictDICT
keySTRING
value*

Outputs (1)

NameTypeDescription
DICTDICT