# Text

> Write a prompt or any other text once and send it to image, video, audio and AI text nodes. Insert the values of other nodes with variables.

Source: https://nodaro.ai/docs/nodes/automate/text

The **Text** node holds text that you type and sends it to the nodes you connect it to. It is the most common first node of a workflow. Write a prompt once, then wire it into [Generate Image](https://nodaro.ai/docs/nodes/image/generate-image), [Generate Video](https://nodaro.ai/docs/nodes/video/generate-video), [Text to Speech](https://nodaro.ai/docs/nodes/audio/text-to-speech), a [Prompt](https://nodaro.ai/docs/nodes/automate/prompt) node or any other input that accepts text. The Text node never runs a model, so it costs no credits.

- Found in: Automate › Text
- Output: text
- API type: `text-prompt`

## When to use it
- You need a prompt for an image, video, speech or music node.
- You want to write a text once and use it in several places, for example one negative prompt for three image nodes.
- You write the spoken text for [Text to Speech](https://nodaro.ai/docs/nodes/audio/text-to-speech) or the lyrics for [Suno Create Music](https://nodaro.ai/docs/nodes/audio/suno-create-music).
- You want to build a text from the values of other nodes, with variables.

## Quick start
### Add the node

Press Tab on the canvas and choose **Automate › Text › Text**. The Text node is also on the **Common** tab, and next to the upload nodes on the **Image**, **Video** and **Audio** tabs.

### Write the text

Type directly in the node, or in **Prompt Text** in the settings panel.

### Connect it

Drag from the output on the right of the node to an input that accepts text, such as the **Prompt** input of [Generate Image](https://nodaro.ai/docs/nodes/image/generate-image).

### Run the connected nodes

Point at the Text node and click **Run from here** below it. The button shows the credits of the nodes that will run, and every node after the Text node runs with the current text.

Workflow: One Text node feeds the prompt of an image node and of a video node. A second Text node holds the negative prompt.

- Text → Generate Image (prompt)
- Text → Generate Image (negative)
- Text → Generate Video (prompt)

## Settings
| Setting | What it does |
| --- | --- |
| **Writing for** | **Text** for a plain prompt (the default), **Voice** for spoken text, or **Lyrics** for song lyrics. With **Voice**, typing `[` in the text suggests audio tags for speech. With **Lyrics**, typing `[` suggests Suno metatags. The choice changes the suggestions in the editor, not the text that the node sends. |
| **Prompt Text** | The text itself. It can contain variables, such as `{Mood}`. The buttons next to the label switch to a preview of the final text, insert a [prompt snippet](https://nodaro.ai/docs/guides/prompt-snippets), and open the prompt helper. |
| **Read-only in app** | Appears when the Text node is an input of a published [app](https://nodaro.ai/docs/concepts/apps). App users see the text but cannot change it. |

The output carries the text. It can feed any number of nodes at once, and each node reads the text when it runs.

## Use variables in the text

You can put the value of another node in the text by writing its label in curly braces. `{Mood}` becomes whatever the Mood picker is set to, and `{Maya}` becomes the text of a node labeled Maya.

- **A default value.** `{person || man}` uses the connected Person picker when there is one, and the word "man" when there is not. `{person || }`, with nothing after the bars, becomes empty text.
- **Highlighting.** In the prompt editor of the connected node, a variable is cyan when a matching node is connected and amber when nothing provides it yet. Amber is only a warning: a variable with a default still works.
- **A missing node stops the run.** If a variable names a node that does not exist anywhere in the workflow, the run is refused before any credits are spent.
- **Wired text stays as it is.** Text that reaches a node through a connection is treated as content. Nodaro does not look for variables in it.

Read more in [Prompt variables](https://nodaro.ai/docs/concepts/prompt-variables).

## Tips
- **One purpose per node.** Keep the prompt and the negative prompt in separate Text nodes, so that you can change one without touching the other.
- **Many prompts at once.** To run a node once per prompt, put one prompt per line and connect a [Split Text](https://nodaro.ai/docs/nodes/automate/split-text) node, or use a [List](https://nodaro.ai/docs/nodes/automate/list) node.
- **Build a prompt from parts.** Use [Combine Text](https://nodaro.ai/docs/nodes/automate/combine-text) to join several Text nodes, or variables to insert values inside one text.
- **Let a model write the text.** When you want an AI model to write or rewrite the text, use a [Prompt](https://nodaro.ai/docs/nodes/automate/prompt) node instead.

## Frequently asked questions

### What does the Text node do in Nodaro?

The Text node holds text that you type, such as a prompt, and sends it to every node you connect it to. It never runs a model and costs no credits.

### Can one Text node feed several nodes?

Yes. Drag from its output to as many inputs as you need, for example the Prompt input of an image node and of a video node. Every connected node reads the current text when it runs.

### How do I put the value of another node into my text?

Write the label of the other node in curly braces, for example {Mood}. When the connected node runs, Nodaro replaces the variable with that value. {Mood || calm} uses the word calm when no Mood node provides a value.

### How do I generate one image for each line of my text?

Connect the Text node to a Split Text node, which cuts the text into one item per line, and connect Split Text to Generate Image. Generate Image then runs once for each item.
