> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sprello.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Text

> Create text or structured data from a prompt.

The Generate Text node turns a prompt into written text or structured data you can use elsewhere in a workflow—product descriptions, alt text, or even the prompt for a downstream image.

## What it takes

* **Prompt** (required) — your instruction. Connected [Text Inputs](/nodes/text-input) appear as references.
* **System prompt** (optional) — set the voice or rules the model should follow.
* **Reference images** (optional) — give the model images to describe or work from, on models that accept them.

## Structured output

Beyond free text, Generate Text can return **structured data**. Define the fields you want—names, types (text, number, true/false, lists, or nested objects)—and the model fills them in. This is useful when a later step needs predictable, labeled values rather than a paragraph.

## Settings

* **Model** — the text model that runs (for example, Claude, GPT, or Gemini families). See [choosing a model](/models/overview).

## A common pattern

Use Generate Text to write a detailed image prompt, then connect it to [Generate Image](/nodes/generate-image)—the text output becomes the image's prompt automatically.
