Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile tool for creating number sequences with various patterns, step sizes, and ranges for automation and workflows.
The Sequence Generator node is a versatile tool designed to create sequences of numbers based on specified patterns. It is particularly useful for generating a series of values that can be used in various creative and computational processes. The node allows you to define sequences using different methods, such as generating numbers with a specific step size, creating evenly spaced numbers within a range, or simply listing a set of numbers. This flexibility makes it an essential component for tasks that require systematic number generation, enabling you to automate and streamline workflows that depend on numerical sequences.
The gen
parameter is a string that defines the pattern for generating the sequence of numbers. It supports multiple formats: x...y+z
generates a sequence from x
to y
with a step of z
, x...y#z
creates z
evenly spaced numbers between x
and y
, and x,y,z
simply lists the numbers x
, y
, and z
. This parameter allows you to specify the exact nature of the sequence you wish to generate, providing flexibility in how numbers are produced. The default value is "0...1+0.1"
, which generates numbers from 0 to 1 with a step of 0.1.
This output represents the integer part of the generated sequence. It is important for scenarios where only whole numbers are needed, such as indexing or counting tasks. The output is a list, allowing you to work with multiple integer values generated from the specified sequence pattern.
This output provides the floating-point numbers from the generated sequence. It is crucial for tasks that require precision and fractional values, such as scaling or interpolation. Like the integer output, this is also a list, enabling you to handle a series of floating-point numbers derived from the sequence.
x...y+z
format when you need a sequence with a specific increment, which is ideal for creating ranges with consistent steps.x...y#z
format to generate a fixed number of values evenly distributed between two points, perfect for sampling or interpolation tasks.gen
parameter string does not match any of the supported formats.gen
string is correctly formatted as x...y+z
, x...y#z
, or x,y,z
.gen
string contains non-numeric characters where numbers are expected.gen
string are valid numbers and correctly separated by the appropriate symbols.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.