ComfyUI > Nodes > ComfyUI-outputlists-combiner > Number OutputList

ComfyUI Node: Number OutputList

Class Name

NumberOutputList

Category
Utility
Author
geroldmeisinger (Account age: 1214days)
Extension
ComfyUI-outputlists-combiner
Latest Updated
2025-12-23
Github Stars
0.06K

How to Install ComfyUI-outputlists-combiner

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

Number OutputList Description

Generates numerical sequences using `numpy.linspace`, with customizable range and output format.

Number OutputList:

The NumberOutputList node is designed to generate a list of numerical values within a specified range, providing a versatile tool for creating sequences of numbers. This node leverages the numpy.linspace function, which is known for its reliability in handling floating-point values, to produce evenly spaced numbers between a defined start and stop value. This functionality is particularly useful for tasks that require precise numerical sequences, such as generating data for simulations, animations, or any application where a range of numbers is needed. The node offers flexibility by allowing you to specify whether the endpoint of the range should be included, and it can output the generated numbers in various formats, including integers, floats, and strings. This makes it a valuable utility for AI artists who need to work with numerical data in different forms.

Number OutputList Input Parameters:

start

The start parameter defines the initial value of the range from which the sequence of numbers will be generated. It is a floating-point number, and its default value is set to 0. This parameter is crucial as it determines the beginning of the numerical sequence, impacting the entire range of values produced by the node.

stop

The stop parameter specifies the end value of the range. It is also a floating-point number, with a default value of 10. If the endpoint parameter is set to include, this value will be part of the generated list. The stop parameter is essential for defining the upper limit of the sequence, influencing the spread and final value of the numbers in the list.

num

The num parameter indicates the number of items to be generated in the list. It is an integer with a default value of 10 and a minimum value of 1. This parameter is not to be confused with a step size; instead, it determines how many evenly spaced numbers will be created between the start and stop values. The num parameter is key to controlling the density and granularity of the generated sequence.

endpoint

The endpoint parameter is a boolean that decides whether the stop value should be included in the generated list. It defaults to False, meaning the stop value is excluded by default. When set to True, the stop value is included, which can be useful for ensuring that the sequence covers the entire specified range. This parameter provides additional control over the inclusion of boundary values in the sequence.

Number OutputList Output Parameters:

int

The int output provides the generated values converted to integers. This conversion involves rounding down or flooring the floating-point numbers, which can be useful when whole numbers are required for further processing or indexing.

float

The float output delivers the generated values as floating-point numbers. This format retains the precision of the original sequence, making it suitable for applications that require exact numerical values.

string

The string output converts the floating-point values into strings. This format is useful for scenarios where numerical data needs to be represented as text, such as in labeling or logging.

index

The index output provides a range of integers from 0 to `num

  • 1`, which can be used as indices for iterating over the generated list. This output is particularly helpful for applications that require indexing or mapping of the generated values.

count

The count output reflects the same value as the num input parameter, indicating the total number of items in the generated list. This output is useful for confirming the size of the sequence and ensuring that the desired number of values has been produced.

Number OutputList Usage Tips:

  • To generate a sequence that includes both the start and stop values, set the endpoint parameter to True. This ensures that the entire range is covered.
  • Use the num parameter to control the density of the sequence. A higher num value will produce a more granular list of numbers, which can be useful for detailed simulations or analyses.

Number OutputList Common Errors and Solutions:

ValueError: Number of samples, num, must be non-negative.

  • Explanation: This error occurs when the num parameter is set to a value less than 1. - Solution: Ensure that the num parameter is set to a positive integer, with a minimum value of 1.

TypeError: start and stop must be numbers.

  • Explanation: This error arises when non-numeric values are provided for the start or stop parameters.
  • Solution: Verify that both start and stop are set to valid floating-point numbers.

Number OutputList Related Nodes

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