ComfyUI > Nodes > ComfyUI 1hewNodes > List Custom Int

ComfyUI Node: List Custom Int

Class Name

1hew_ListCustomInt

Category
1hewNodes/text
Author
1hew (Account age: 1113days)
Extension
ComfyUI 1hewNodes
Latest Updated
2026-04-17
Github Stars
0.03K

How to Install ComfyUI 1hewNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI 1hewNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 1hewNodes 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

List Custom Int Description

Extracts integers from text, parsing numbers amid quotes or delimiters, ignoring non-numeric content.

List Custom Int:

The 1hew_ListCustomInt node is designed to process a block of text input and extract integer values from it. This node is particularly useful when you have a text containing numbers that you want to convert into a list of integers for further processing or analysis. It intelligently parses the text, identifying numbers even if they are embedded within quotes or separated by various delimiters like commas or semicolons. The node ensures that only valid integers are extracted, gracefully handling any non-numeric content by ignoring it. This functionality is beneficial for AI artists who need to work with numerical data extracted from textual descriptions or annotations, providing a seamless way to convert text-based numbers into a usable integer list.

List Custom Int Input Parameters:

custom_text

The custom_text parameter is a multiline string input where you can provide the text containing numbers you wish to extract. This input serves as the source from which the node will parse and identify integer values. The text can include numbers in various formats, and the node will attempt to convert them into integers, ignoring any non-numeric content. There are no strict minimum or maximum values for this input, but it defaults to an empty string if not provided. This flexibility allows you to input a wide range of text data, making it adaptable to different use cases.

List Custom Int Output Parameters:

int_list

The int_list output is a list of integers extracted from the provided custom_text. This list contains all the valid integers identified by the node, allowing you to use these numbers in subsequent processes or analyses. The node ensures that only valid integers are included, providing a clean and reliable output.

count

The count output represents the total number of integers successfully extracted from the custom_text. This count gives you a quick overview of how many numbers were found and converted, which can be useful for validation or further decision-making processes.

List Custom Int Usage Tips:

  • Ensure that your input text is formatted correctly, with numbers clearly separated by spaces, commas, or semicolons to facilitate accurate parsing.
  • Use this node to preprocess text data containing numerical information before feeding it into other nodes or systems that require integer inputs.

List Custom Int Common Errors and Solutions:

Invalid Input Format

  • Explanation: The input text may contain characters or formats that are not recognized as numbers.
  • Solution: Review the input text to ensure that numbers are clearly defined and separated by spaces, commas, or semicolons. Remove any unnecessary characters that might interfere with parsing.

Empty Output List

  • Explanation: The node returns an empty list if no valid integers are found in the input text.
  • Solution: Check the input text to ensure it contains numbers. If the text is correct, consider adding default values or handling empty outputs in your workflow to prevent disruptions.

List Custom Int Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI 1hewNodes
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.

List Custom Int