Prompt pre & post text

Every AI node that has a prompt — image, video, audio, music, speech, LLM, script, vision, analysis and Suno nodes — can carry two optional pieces of text that are wrapped around the prompt when the node runs:

Field Where it goes
promptPrefix Before the prompt
promptSuffix After the prompt

They are settings, not prompt: you set them in the node’s settings panel (the collapsed Pre & post text section), they never appear on the node itself, and a published app’s end users never see them. That makes them the right place for anything you want applied to every run without the person typing the prompt having to know about it:

What gets wrapped

The pre/post text wraps whatever prompt the run uses — the text typed in the node, a prompt wired in from an upstream node, or each item of a list fan-out — before the platform adds its own pieces (connected Look / cinematography hints, character references, the Style: and Avoid: suffixes). In other words, it behaves exactly like text you typed into the prompt.

Both fields support the same things the prompt does: @ references, {Node Label} variables (resolved at run time) and / snippets (inserted as plain text).

Only the positive prompt is wrapped — the negative prompt is untouched.

How the pieces are joined

Blank parts are dropped. Between two parts a single space is inserted, unless the boundary already has whitespace on either side, or the second part starts with , . ; : ! ? ). Text is never trimmed, so you control the formatting:

Prefix Prompt Suffix Result
Cinematic 35mm still of a woman in Tokyo , golden hour Cinematic 35mm still of a woman in Tokyo, golden hour
RULES:⏎- no text⏎⏎ a red shoe RULES:⏎- no text⏎⏎a red shoe
a red shoe Avoid clutter. a red shoe Avoid clutter.
Portrait of {Character} (empty) Portrait of Mira

If the prompt is empty, the pre/post text alone is the prompt — so a preset can carry its whole prompt in the prefix. Note this replaces any built-in default a node would otherwise use for an empty prompt (for example Image to Text’s default “describe this image” question).

The Final view of any prompt field shows the assembled result with the pre/post text tinted teal (“Pre/post text” in the legend).

Generate Script wraps the script prompt (the topic that arrives on its prompt handle), not the Style Guide field.

Programmatic access

The fields are ordinary node data, so every surface that reads or writes workflow JSON already carries them:

See also: Prompt snippets, Presets, Node reference.