from keys

Basic data handling: DictFromKeys

Creates a dictionary from a list of keys and a default value. This node takes a list of keys and an optional value, then creates a new dictionary where each key is associated with the value. If no value is provided, None is used.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
keysLISTrequired
value*optional

Outputs (1)

NameType
DICTDICT