> For the complete documentation index, see [llms.txt](https://help.imagine.art/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imagine.art/workflows/text-nodes/split-text.md).

# Split Text

## Summary

The Split Text Node allows you to break down long or complex text into smaller, manageable parts. It’s perfect for projects that require detailed analysis or modifications, or when you need to divide content for easier processing in subsequent steps.

<div data-with-frame="true"><figure><img src="/files/b5vzawfxE2GK9V4BuScC" alt=""><figcaption></figcaption></figure></div>

***

## How to Use

1. Add the Node:
   * Click the Add (+) button and select Split Text from the Utilities node categories.
2. Provide the Input:
   * Connect the text you want to split into the node. This could be a paragraph, article, or any other large block of text.
3. Define Split Criteria:
   * Set how you want the text to be split—by sentence, paragraph, or custom delimiter (like commas or keywords).
4. Generate Output:
   * The node will automatically split the input text based on your defined criteria, giving you smaller sections for easier processing.

***

## Sample Use Cases

<details open>

<summary>Breaking Down Video Scripts for Scene-by-Scene Generation</summary>

When generating video content from a script, break the script down into smaller sections or scenes. Each section can be processed to generate specific video content (e.g., background, animations, or characters) to later be stitched together.

<div data-with-frame="true"><figure><img src="/files/FmzmoFhg5v4sK84GE214" alt=""><figcaption></figcaption></figure></div>

</details>

<details open>

<summary>Generating Voiceover Script for Audio and Video</summary>

For video or multimedia projects, break down the voiceover script into manageable sections. Each part can be converted into audio clips to be later synced with video content or used for interactive experiences.

<div data-with-frame="true"><figure><img src="/files/vIkihTANA4J14xpqzqub" alt=""><figcaption></figcaption></figure></div>

</details>

***

### When to Use&#x20;

1. Content Segmentation for AI Models: Split descriptive text into smaller sections for targeted image, video, and audio generation.
2. Interactive Media: Break scripts into manageable sections to generate interactive elements for AI-powered applications.
3. Voiceover Creation: Divide long voiceover scripts into parts for easy audio generation and syncing with visual content.
4. Scene Structuring: Organize complex scenes or stories into segments to simplify content generation for animation, effects, and video.

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.imagine.art/workflows/text-nodes/split-text.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
