Split Text Nodes

The Split Text Node is designed to break down a large block of text into a structured list of smaller segments. This is essential for processing articles, scripts, or lists item-by-item.

Configuration

Input

Connect any Text Node containing the source text.

Split Pattern

Choose the character or pattern to use as the delimiter:

  • New Line (\n): Splits text into paragraphs or lines. Ideal for scripts.
  • Period (.): Splits text into sentences.
  • Comma (,): Splits a comma-separated list.
  • Custom: Define your own separator.

Output

The node produces a List data type internally. This list is typically connected to a List Selector Node to pick individual items for use.

Use Cases

  • Script Processing: Paste a full video script into a Text Node, split it by “New Line”, and then use a List Selector to feed each line to a different Scene Node.
  • Batch Generation: Provide a comma-separated list of prompt keywords (e.g., “cyberpunk, steampunk, solarpunk”) to generate variations.