Skip to main content

Prompt Variables

Written by Noam Gichon

Variables allow you to add multiple prompts or text inputs to a single main prompt. You can add as many variables as you like.

When you add a variable, a new input handle appears on the node. Any Text Node connected to that handle will act as a variable.

Variables help you organize and modify your prompts more easily by allowing you to combine multiple text inputs into a single node.

How to Create Variables

Add a Prompt Node

Click Add Variables in the bottom-left corner of the node

A new variable input handle will appear

Connect any Text Node to this handle, and it will act as a variable.

You don't need to connect the same variable multiple times to use it more than once in your prompt. Once a variable exists, reference it again by typing @ and selecting it from the dropdown, or by copying and pasting its variable tag.

A variable can be referenced as many times as you like within the same prompt. Deleting a reference doesn't delete the variable itself.

Variable Display Options

You can change how variables appear in the node.


Click Display in the bottom-right corner of the node.

Choose the display mode you prefer

Variable Source

Variable Value

Variable Source + Value

Moving Variables

You can reposition variables within the node.
Simply click the variable and drag it to the desired location.

For more information about variables, see the Variables Tutorial.

Did this answer your question?