Prompt

LLM text generation from a prompt, with optional image/video/audio reference inputs, real-time streaming, and a built-in fan-out item list.

Overview

The Prompt node (llm-chat, labeled “Prompt” on the canvas; called “Generate Text” until September 2026) generates text from a prompt using a selectable LLM, with optional system instructions. It supports real-time token streaming and can reference upstream node outputs in its prompt via field mappings, making it a flexible text-generation and transformation step in any workflow.

It can also accept reference inputs on the multi-modal References handle (its own fuchsia pip) — an image, video, audio clip, or text — for multimodal prompting (e.g. “describe this image”, “summarize this clip”). Image/video/audio references are routed to the model as reference media (video and audio require a Gemini model — see Multimodal inputs); a text reference is merged into the prompt as added context.

This node is the result of merging the former AI Agent (image-prompt fan-out) and LLM Chat nodes into one. Existing AI Agent / LLM Chat nodes are auto-migrated to Prompt on workflow load. The legacy /v1/ai-writer/* routes remain available for back-compat; the node itself now runs on /v1/llm-chat/*.

Two outputs

Prompt exposes two outputs:

Output Contents Use it to
text The full generated output as a single string, with any ===NEXT=== delimiters left intact Feed a single block of text into Combine Text, a Preview node, a Save to Storage node, or a downstream Generate Text pass
items The output split on ===NEXT=== into a fan-out list (each segment becomes one item, trimmed) Feed into a Loop, a Generate Image node, or any list-aware consumer to fan out N× — one downstream run per item

When the prompt (or a template) produces a single block with no ===NEXT=== markers, items is a one-element list containing the whole output.

Configuration

Field Type Default Description
Preset string "custom" Built-in preset or one of your saved presets (see Presets). Sets the instructions and output format
Instructions (System Prompt) string "" Optional system instructions that guide the model’s behavior and output format. Labeled Instructions (System Prompt) in the config panel and Instructions on the node handle
User Input string "" The main prompt. Can include references to upstream nodes via field mappings
Model string gemini-3.6-flash LLM model picked via the model selector — drives both capability and credit cost (see Credit pricing)
Temperature number 0.7 Creativity control (0 = deterministic, 1 = more creative). Ignored by models that reject the parameter (Claude Opus 4.7, GPT-5.5, the GPT-5.6 family, GPT-6 Astra, Grok 4.6, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 5, and Claude Fable 5)
Max Tokens number 8192 Maximum output length in tokens. At xhigh/max effort — and at every effort, including Auto, for the models that reason by default (Claude Opus 5, Grok 4.6, GPT-6 Astra) — the effective cap is floored to 32768 so reasoning tokens can’t truncate the answer
# of runs number 1 How many generations to produce per Run click (1–4 in the node’s quick toolbar). Each run is charged separately — the Run button shows the multiplied credit cost
Effort string Auto Reasoning effort for models that support it — hidden entirely for models with no reasoning levels. See Reasoning effort
Advanced mode boolean false Gemini models only. Runs the model on the provider’s own API so Temperature, Max Tokens and the full reasoning-depth range actually apply — those controls appear once it is on. Bills one credit tier up; the node’s cost badge updates immediately. Disabled with an inline reason on non-Gemini models
promptPrefix / promptSuffix text Optional pre/post text wrapped around the User Input (never the Instructions / system prompt) at run time (settings panel → Pre & post text; hidden from app users; captured by presets). See Prompt pre & post text.

Model selector

The model is chosen from the shared LLM model selector — a searchable picker grouped by provider (Anthropic / Google / OpenAI / xAI), with each group ordered economy → premium. The selected model determines the credit cost by tier. Every model accepts an image reference; the table below shows which Gemini models additionally accept video and audio references.

Model Tier Multimodal (references)
Gemini 3 Flash Economy image + video + audio
Gemini 3.6 Flash Economy image + video + audio
Gemini 3.7 Flash Economy image only
Gemini 3.8 Flash Economy image only
Claude Haiku 4.5 Economy image only
GPT-5.6 Luna Economy image only
Claude Sonnet 4.6 Standard image only
GPT-5.2 Standard image only
GPT-5.6 Terra Standard image only
Grok 4.6 Standard image only
Claude Sonnet 5 Standard image only
Gemini 3.1 Pro Premium image + video + audio
Claude Opus 4.7 Premium image only
GPT-5.4 Premium image only
GPT-5.5 Premium image only
GPT-5.6 Sol Premium image only
GPT-6 Astra Premium image only
Claude Opus 4.8 Premium image only
Claude Opus 5 Premium image only
Claude Fable 5 Premium image only

The default model is Gemini 3.6 Flash (economy tier). Most models expose reasoning levels and show an Effort selector next to the model picker (the exceptions: Gemini 3 Flash, Claude Haiku 4.5, GPT-5.2, and Gemini 3.1 Pro have no effort lever — though the two Gemini models gain one under Advanced mode, which reaches the provider’s fuller range) — see Reasoning effort.

Gemini 3.7 Flash and Gemini 3.8 Flash currently accept image references only — video/audio references for them are not yet enabled (use Gemini 3.6 Flash or Gemini 3.1 Pro for those).

Canvas controls

Hovering the node on the canvas reveals a quick toolbar beneath it, mirroring the Generate Image node:

The result card has a top action strip: a view toggle, Copy, Download, and Log on the left; a Show outputs toggle and a delete (✕) on the right. The view toggle switches the output between raw text and a rendered view — a colored JSON object view when the output parses as JSON (the icon becomes { }), otherwise rendered Markdown (eye icon). Pressing Show outputs (shown only when there is more than one result) reveals a results browser that floats above the node: numbered tiles with prev/next paging, arrow-key navigation when the node is selected, an active-result ring, and a hover delete affordance. The card shows the currently selected result and, just under the action strip, the model and preset that produced it. The Log button opens the full execution log grouped by run (each run is labeled with its model and preset). The output text scrolls inside the card with the same scrollbar as the Text Prompt node.

Drag the magnifier handle at the bottom-left corner to zoom the node up to 2× for easier reading; the bottom-right corner resizes it (hold Alt to swap corners).

Inputs & Outputs

Multimodal inputs

Presets

Presets set the instructions (system prompt) and output format. There are two kinds:

Built-in presets:

Preset Purpose Requires reference image
Custom Free-form — use your own Instructions and User Input No
Photo Shoot Planner Generate N image prompts for a photo-shoot series Yes
Product Catalog Writer Generate N product-shot image prompts Yes
Storyboard Writer Generate N storyboard-shot image prompts Yes

The Photo Shoot Planner / Product Catalog Writer / Storyboard Writer presets are image-prompt fan-out templates: they emit multiple prompts separated by ===NEXT=== (ready for the items output). When one of these templates is selected, the config panel shows an amber warning if no reference image is connected, and running the node is blocked (“No reference image connected”) until you wire one in. The Custom template has no reference-image requirement.

Built-in fan-out templates use an {outputCount} placeholder that is replaced at runtime with the requested number of items.

User-defined presets:

Use “Save as preset” to store your current Instructions + settings as a reusable preset. When one of your saved presets is selected, two extra controls appear next to the dropdown:

User presets are also managed in Settings and appear in the Preset dropdown alongside the built-in presets.

Fan-out

Prompt is built for fan-out — turning one generation into N downstream operations:

The composable items output is the recommended path for automated workflows; the canvas actions are for interactive editing on the canvas.

Credit pricing

Cost depends on the selected model’s tier.

Tier Example models Credits
Economy Gemini Flash, Claude Haiku 1
Standard Claude Sonnet, GPT-5.2, Grok 4.6 2
Premium Claude Opus, Claude Fable 5, GPT-5.4, GPT-6 Astra, Gemini Pro 3

The credit identifier is llm-chat (standard), llm-chat:economy, or llm-chat:premium, built from the selected model at request time. These match the runtime STATIC_CREDIT_COSTS values (llm-chat = 2, llm-chat:economy = 1, llm-chat:premium = 3).

Reasoning effort

Reasoning-capable models expose an Effort selector (Auto/low/…/max — the levels vary per model). Auto applies the vendor default. xhigh and max bill one tier up: economy models bill the standard price, standard models bill the premium price, premium models are unchanged.

Examples (LLM Chat: 1 cr economy / 2 cr standard / 3 cr premium):

Best Practices

Common Use Cases

Tips