Nodes/Comfyroll Studio/CR Cycle Text (Legacy)
ComfyUI Node Runs on cloud

CR Cycle Text (Legacy)

Step through a text list frame by frame (legacy)

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
CR Cycle Text (Legacy)
  • text_list
  • STRING
  • show_help
β—„modeβ–Ύβ–Ί
β—„frame_interval30β–Ί
β—„loops1β–Ί
β—„current_frame0β–Ί

The text sibling of CR Cycle Images. Feed it a list of strings and it steps through them across an animation, emitting one string per stretch of frames. The obvious use is prompt-travel-style animation: swap the prompt every N frames so the generated content morphs from one description to the next as the clip plays.

Before you build on it: this is a legacy node. Comfyroll's maintained path for this is now the Schedulers - CR Prompt Scheduler and CR Text Scheduler - which do prompt scheduling more cleanly. Use CR Cycle Text to keep an old graph working; reach for a scheduler for anything new.

How it works

You give it a text_list (a TEXT_LIST, built by a companion list node), and the timing controls handle the rest. frame_interval is how many frames each string holds before the node advances - default 30, so string one is active for 30 frames, then string two, and so on. loops repeats the whole cycle. current_frame tells the node which frame is rendering, which is how it picks the active string. mode is fixed at Sequential.

The output is a plain string, so you wire it straight into a CLIP Text Encode as your prompt - meaning the prompt itself changes over the course of the render.

The inputs that matter

  • text_list - the strings to cycle through, as a TEXT_LIST from a list-builder.
  • frame_interval (default 30) - frames each string holds; your pacing.
  • loops (default 1) - cycle repeats.
  • current_frame - the frame being rendered, which selects the active string.

Output is a STRING (the current frame's text) plus the show_help wiki link (not wired).

Where you'd actually reach for it

Timed prompt changes over an animation - a subject that transforms, a scene that shifts, captions that advance in sync with the frames. Combined with the pack's frame counter and an image cycle, you can drive both the visuals and the prompt off the same clock.

That said, prompt travel is exactly what the Prompt Scheduler was built to do, with keyframes and interpolation instead of hard cuts every frame_interval. If you want smooth transitions between prompts rather than abrupt swaps, the scheduler is the better tool. Cycle Text is the blunt, older instrument.

How to install it

  • ComfyUI Manager: search Comfyroll Studio, install, restart.
  • Manual: cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, then restart.

No downloads - it's list-and-timing logic.

Common issues

Missing node usually means the whole pack didn't load. On newer ComfyUI builds Comfyroll can fail to import a submodule at startup, throwing NameError: name 'CR_...' is not defined across the console and hiding every CR node. Read the first traceback (the real cause) and update via Manager.

Node-specifically, the text_list input wants a proper TEXT_LIST from a Comfyroll list-builder, not a loose string - if the wire won't connect, that's the mismatch, and CR Cycle Text Simple (plain text slots) is the easier option. And if the prompt never changes across your render, current_frame isn't advancing; wire it to CR Current Frame or an incrementer so the node actually walks the list.

Category🧩 Comfyroll Studio/πŸŽ₯ Animation/πŸ’€ Legacy

Inputs (5)

NameTypeDefaultDescription
modeCOMBO1 options: Sequential
text_listTEXT_LISTβ€”
frame_intervalINT300–999β€”
loopsINT11–1000β€”
current_frameINT00–9999β€”

Outputs (2)

NameTypeDescription
STRINGSTRINGβ€”
show_helpSTRINGβ€”