LLM Block
Write and rework text with a language model. Prompts, copy, scripts and JSON, from your request and the blocks connected to it, with every run kept as a version.
Overview
The LLM block writes text with a language model. Ask for a prompt, a product description, a script or a list of ideas, and the answer lands in the block as text you can edit, copy, or pass to the next block. In the Add block menu it is under Text, named LLM.
Use it to write the prompts your image and video blocks run on, to describe a connected image, or to turn a rough idea into structured text.
Write and run
- Add an LLM block and type your request in its prompt field.
- Pick a model in the block settings. Every model reads connected images, and the picker shows about what one run costs.
- Press Run. The text streams into the block.
You can edit the result by hand at any time, and copy it with Copy text.
Run or Edit
The run button has two modes, picked from the menu next to it. The block keeps the mode you pick.
- Run writes a new text from your prompt and what is connected, without the text on screen.
- Edit changes the text on screen, so a follow-up such as "shorter" or "add camera directions" reworks what is there. Edit is available once there is text on screen.
What it reads
Connect blocks to give the model more to work with:
- Image blocks, and Camera Sheet shots. The model looks at the pictures. Type @ in the prompt to point at one connected image.
- LLM, Prompt and Variator blocks. Their text is added to your request.
Video and audio blocks cannot be connected to an LLM block.
Versions and the context ring
Every run is kept as a version. With the block selected, the ← and → keys step through its versions. See Versions.
The block works like a conversation: the ring on the block shows how much of it is used. A block holds 50 runs. When it is full, continue in a new block, or open the ring and choose Keep only this version to free it up.
JSON output
Turn on Prompt → JSON output in the block's toolbar to describe what you want in plain words and get structured JSON back. When the text is JSON, Show UI editor shows it as fields you can edit, and Show code goes back to the JSON itself.
Model settings
The block settings hold the model and its options, such as Max Output Tokens, and Temperature on the models that have it. The block remembers them. See Memory.
Pro tips
- Start with what you want, then use Edit for follow-ups instead of rewriting the request.
- Connect the LLM block to Image, Video, 3D, Audio or Worlds blocks to use its text as their prompt.
- Move a finished prompt into a Prompt block when several blocks should share it.
LLM is for writing and reworking text with a model. Use a Prompt block for fixed text you reuse across blocks.
