ComfyUI > Nodes > ComfyUI Steudio > Sequence Generator

ComfyUI Node: Sequence Generator

Class Name

Sequence Generator

Category
Steudio/Utils
Author
Steudio (Account age: 459days)
Extension
ComfyUI Steudio
Latest Updated
2025-05-10
Github Stars
0.04K

How to Install ComfyUI Steudio

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

Sequence Generator Description

Versatile tool for creating number sequences with various patterns, step sizes, and ranges for automation and workflows.

Sequence Generator:

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.

Sequence Generator Input Parameters:

gen

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.

Sequence Generator Output Parameters:

INT

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.

FLOAT

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.

Sequence Generator Usage Tips:

  • Use the x...y+z format when you need a sequence with a specific increment, which is ideal for creating ranges with consistent steps.
  • Opt for the x...y#z format to generate a fixed number of values evenly distributed between two points, perfect for sampling or interpolation tasks.

Sequence Generator Common Errors and Solutions:

Invalid sequence format

  • Explanation: The gen parameter string does not match any of the supported formats.
  • Solution: Ensure that the gen string is correctly formatted as x...y+z, x...y#z, or x,y,z.

Non-numeric values in sequence

  • Explanation: The gen string contains non-numeric characters where numbers are expected.
  • Solution: Verify that all parts of the gen string are valid numbers and correctly separated by the appropriate symbols.

Sequence Generator Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Steudio
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 Playground, enabling artists to harness the latest AI tools to create incredible art.