---
url: 'https://docs.flimra.ai/library/texts.md'
description: >-
  Keep briefs, notes, lyrics and the script as texts in Flimra's library, and
  send their words into any prompt that names them, as they are when it runs.
---

# Texts

A text is words you keep in the library beside the pictures: a character brief, style notes, lyrics, a script excerpt, a note to yourself. You write it once, and every prompt that names it sends its words as they are at the moment the gen runs.

## Make and write a text

1. Right-click a bin, or the empty space of the viewer's grid, and choose **New text…** (it is also in the viewer's **New ▾**).
2. Give it a name. The text opens in the viewer, ready to write.
3. Type. It is plain text and saves itself a second after you stop; the bar under it says *Editing…* or *Saved*, how many words, and the reference that sends it, such as `{txt012}`.

In the bin, a text shows as a tile with its first lines and word count. In the left column it is a row with a page icon. The properties drawer shows its words and characters, when it was made and last changed, its bin, its reference and its tags.

## Use a text in a prompt

Drag the text into a gen's prompt, or pick it from the prompt's library references. It goes in as a pill, for example *¶ Brief · 120 words*, with its words in the pill's tooltip. The prompt stays readable however long the text is.

When the gen runs, the text's words are sent where the pill stands. The run keeps exactly what they were, so you can always see what a version was made with. Click the pill (or right-click → **Edit**) to select the text and change it; every prompt that names it follows.

::: tip
A brief kept as a text, for example *Ben: who he is*, can be named in every one of Ben's gens. Change the brief once and they all send the new words next time they run.
:::

## The script, the transcript and the plot

Some texts are made for you:

* **Script**: made when you import a script (**File → Import Script or PPM…**, New project, a folder, or the chat). Its right-click menu has **Break into scenes…**, which turns it into scenes, characters and places. See [Start from a script](/start-from/script).
* **Transcript**: an audio file's transcript, made when you start from audio.
* **Plot**: what the film is about, when an import or a planner finds one. If you write your own text named *Plot*, that is the one the planners read.

Any other text can become the script with right-click → **Use as Script**. The one that was the script stays an ordinary text.

## Right-click a text

**Rename**, **Tags…**, **Ask chat**, **Copy text** (its words on the clipboard), **Use as Script** (or **Break into scenes…** on the script), **Move to ▸**, and **Remove from library**. Like everything in the library, every change to a text can be undone with ⌘Z.

## What can go wrong

* **A text changed after a version was drawn**: the gens that name it are marked out of date, as for a changed property. The versions already made keep the words they were made with.
* **A text removed from the library**: prompts that name it still send its words. Restore it to edit it, or take the pill out of the prompt.
* **A very long text**: it is sent whole, so the model's own limit on prompt length applies.

## From the chat

Ask "write a brief for Ben as a text in his bin", "read me the script" or "use the notes text as the script". Tools: `new_text`, `update_text`, `read_text`, `copy_text`, `use_as_script`, `add_prompt_reference`, `rename_library_item`, `move_to_bin`.

## Related

* [The Library](/library/)
* [Writing prompts](/generate/prompts)
* [Start from a script](/start-from/script)
* [Bins and properties](/library/properties)
