ComfyUI > Nodes > ComfyUI Level Pixel > String Cycler [LP]

ComfyUI Node: String Cycler [LP]

Class Name

StringCycler|LP

Category
LevelPixel/IO
Author
LevelPixel (Account age: 647days)
Extension
ComfyUI Level Pixel
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install ComfyUI Level Pixel

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

String Cycler [LP] Description

The node enables automated repetition and cycling of text strings for generating complex text patterns.

String Cycler [LP]| String Cycler [LP]:

The StringCycler| String Cycler [LP] node is designed to facilitate the repetition and cycling of text strings, making it a versatile tool for generating repeated text patterns. This node is particularly useful when you need to create multiple iterations of a text sequence, either for testing, data generation, or artistic purposes. By allowing you to specify the number of times each line of text should be repeated and how many times the entire sequence should loop, the StringCycler| String Cycler [LP] provides a flexible mechanism to produce complex text outputs from simple inputs. This capability can be especially beneficial in scenarios where you need to automate the creation of text variations or simulate repetitive text structures.

String Cycler [LP]| String Cycler [LP] Input Parameters:

text

The text parameter is a multiline string input that serves as the base content for the cycling operation. Each line of text within this input will be processed individually, allowing for the creation of repeated sequences. This parameter is crucial as it defines the content that will be cycled and repeated according to the specified settings.

repeats

The repeats parameter is an integer that determines how many times each line of the input text should be repeated consecutively. It has a minimum value of 1 and a maximum value of 99999, with a default setting of 1. This parameter directly influences the density of repetition for each line, enabling you to control the granularity of the output.

loops

The loops parameter is an integer that specifies how many times the entire sequence of repeated lines should be cycled through. Similar to repeats, it ranges from a minimum of 1 to a maximum of 99999, with a default value of 1. This parameter allows you to extend the repetition across multiple cycles, effectively multiplying the overall output length.

String Cycler [LP]| String Cycler [LP] Output Parameters:

STRING

The STRING output is a list that contains the final sequence of repeated and cycled text lines. Each element in the list corresponds to a line from the input text, repeated according to the repeats parameter and cycled as specified by the loops parameter. This output is essential for obtaining the desired text pattern, providing a structured and predictable result based on the input settings.

String Cycler [LP]| String Cycler [LP] Usage Tips:

  • To create a simple repeated pattern, set the repeats parameter to the desired number of repetitions for each line and keep loops at 1. - For more complex text structures, experiment with different combinations of repeats and loops to achieve the desired output length and pattern complexity.

String Cycler [LP]| String Cycler [LP] Common Errors and Solutions:

Input text is empty

  • Explanation: This error occurs when the text parameter is left empty, resulting in no content to cycle or repeat.
  • Solution: Ensure that the text parameter contains at least one line of text to process.

Repeats or loops value out of range

  • Explanation: This error arises when the repeats or loops parameter is set outside the allowed range of 1 to 99999.
  • Solution: Adjust the repeats and loops values to fall within the specified range to ensure proper execution.

String Cycler [LP] Related Nodes

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

String Cycler [LP]