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

ComfyUI Node: create SET from INTs

Class Name

Basic data handling: SetCreateFromInt

Category
Basic/SET
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 SET from INTs Description

SetCreateFromInt node creates a unique set from integer inputs, eliminating duplicates efficiently.

create SET from INTs:

The SetCreateFromInt node is designed to facilitate the creation of a set from integer inputs. This node dynamically constructs a set by collecting integer values provided as inputs, ensuring that each value is unique within the set. Sets are particularly useful in scenarios where you need to manage collections of distinct items, such as when you want to eliminate duplicates from a list of numbers. By leveraging this node, you can efficiently handle and manipulate integer data, making it an essential tool for tasks that require unique collections of integers.

create SET from INTs Input Parameters:

item_0

This parameter represents the initial integer input for the set. It is part of a dynamic list of inputs, meaning you can extend the list by adding more integer items as needed. Each integer you provide will be included in the set, contributing to the collection of unique values. The parameter does not have a specified minimum or maximum value, allowing for flexibility in the range of integers you can input. The default setting is not explicitly defined, as the node is designed to accommodate a varying number of inputs based on your requirements.

create SET from INTs Output Parameters:

SET

The output of this node is a set containing the unique integer values derived from the input parameters. This set is a collection of distinct integers, meaning any duplicate values provided in the input will be automatically removed. The set is useful for operations that require unique elements, such as mathematical set operations or when you need to ensure that no duplicate integers are present in your data collection.

create SET from INTs Usage Tips:

  • To maximize the utility of this node, ensure that you provide all the integer inputs you wish to include in the set at once, as the node dynamically adjusts to the number of inputs.
  • Use this node when you need to quickly eliminate duplicate integers from a list, as it automatically handles duplicates by the nature of set data structures.

create SET from INTs Common Errors and Solutions:

Invalid input type

  • Explanation: This error occurs when a non-integer value is provided as input to the node.
  • Solution: Ensure that all inputs are valid integers. Convert any non-integer values to integers before using them as inputs.

Empty input set

  • Explanation: This error might occur if no inputs are provided to the node, resulting in an empty set.
  • Solution: Verify that you have supplied at least one integer input to the node to create a meaningful set.

create SET 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 SET from INTs