ComfyUI > Nodes > Basic data handling > create DICT from INTs

ComfyUI Node: create DICT from INTs

Class Name

Basic data handling: DictCreateFromInt

Category
Basic/DICT
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

create DICT from INTs Description

Creates dictionaries from string-integer pairs for efficient data management in creative workflows.

create DICT from INTs:

The DictCreateFromInt node is designed to facilitate the creation of dictionaries where the values are integers. This node is particularly useful when you need to organize and manage data in a structured format, with string keys associated with integer values. By dynamically accepting multiple key-value pairs, it allows for flexible and efficient data handling, making it an essential tool for AI artists who need to manage numerical data within their creative workflows. The node's primary function is to take input pairs of strings and integers and compile them into a dictionary, which can then be used for various data manipulation tasks.

create DICT from INTs Input Parameters:

key_0, key_1, key_2, ...

These parameters represent the keys in the dictionary you are creating. Each key is a string that uniquely identifies the corresponding integer value in the dictionary. The keys are dynamically named as key_0, key_1, key_2, etc., allowing you to input multiple key-value pairs. There is no explicit minimum or maximum value for these keys, but they should be unique within the dictionary to avoid overwriting values.

value_0, value_1, value_2, ...

These parameters represent the integer values associated with each key in the dictionary. Each value is an integer that corresponds to a specific key, dynamically named as value_0, value_1, value_2, etc. The values are expected to be valid integers, and there is no explicit minimum or maximum value, allowing for a wide range of numerical data to be stored.

create DICT from INTs Output Parameters:

DICT

The output of this node is a dictionary (DICT) that contains the key-value pairs you have specified. Each key in the dictionary is a string, and each value is an integer. This structured output allows you to efficiently manage and manipulate numerical data, making it easier to integrate into larger data processing workflows or creative projects.

create DICT from INTs Usage Tips:

  • Ensure that each key is unique to prevent overwriting values in the dictionary.
  • Use descriptive and meaningful key names to make the dictionary easier to understand and maintain.
  • Take advantage of the dynamic input capability to create dictionaries with varying numbers of entries, depending on your specific needs.

create DICT from INTs Common Errors and Solutions:

Missing key-value pairs

  • Explanation: If you do not provide both a key and a value for a pair, the dictionary will not include that entry.
  • Solution: Ensure that each key has a corresponding value and vice versa when inputting data into the node.

Invalid integer value

  • Explanation: If a value provided is not a valid integer, the node may fail to create the dictionary correctly.
  • Solution: Double-check that all values are valid integers before inputting them into the node.

create DICT from INTs Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

create DICT from INTs