← See All Custom Node Packs

Comfyroll Studio

1275
By Suzie1
Updated almost 2 years ago
View on GitHub →See Common Issues →

Run ComfyUI Easily with InstaSD

Skip the complex setup and run ComfyUI online. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

175 custom nodes for artists, designers and animators.

Available Nodes

CR Text Cycler

CR Text Cycler Documentation

Overview

The CR Text Cycler is a custom node developed for ComfyUI, part of the Comfyroll Studio suite of nodes. This node is designed to dynamically cycle through lines of text, allowing for repeated entries across multiple iterations or "loops." This functionality can be particularly useful in scenarios where repetitive or cyclical text-based input is required in ComfyUI workflows.

Features

  • Text Cycling: Enables cycling through lines of text multiple times.
  • Repetition and Looping: Allows users to specify the number of repetitions for each line and the number of loops for the entire process.
  • Integration-Friendly: Can be seamlessly integrated into various ComfyUI workflows that require text inputs.

Inputs

The CR Text Cycler node requires the following inputs:

  1. Text: A multiline string input where each line represents a text item to be cycled through.
  2. Repeats: An integer specifying how many times each line of text should be repeated in each cycle.
  3. Loops: An integer indicating how many complete cycles should be performed.

Outputs

The node produces two main outputs:

  1. STRING: A list containing the cycled text entries based on the specified repeats and loops.
  2. show_text: A URL link to the help documentation, typically hosted on GitHub, providing further guidance on using the node.

Usage in ComfyUI Workflows

The CR Text Cycler can be used in a variety of ComfyUI workflows to automate text inputs. Here are a few potential applications:

  • Automated Prompt Generation: Users can create prompts for batch processing by cycling through various descriptors or adjectives.
  • Data Augmentation: In scenarios involving text data, this node can simulate multiple variations based on a given set of text inputs.
  • Dynamic Scripting: By integrating this node, developers can create scripts that require repetitive text sequences, enhancing automation and efficiency.

Special Considerations

  • Multiline Input: Ensure the text input is properly formatted as a multiline string, with each new text item on its own line.
  • Valid Repeats and Loops: Both the repeats and loops inputs must be positive integers to prevent errors and ensure the proper execution of cycles.
  • Output Size: Be cautious of the total output size, which is a product of repeats and loops, as it can grow quickly and impact performance depending on the length of the text input.
  • Help and Support: Users can refer to the documentation link provided in the show_text output for further guidance and troubleshooting tips.

With these features and capabilities, the CR Text Cycler serves as a robust component in the toolkit for users of ComfyUI, facilitating complex workflow designs and enhancing automation.

Want to try Comfyroll Studio without installing anything? Run ComfyUI online on InstaSD's cloud GPUs — no setup required.