Esacode

Docs / Blocks / Visualizers

Prompt

A prompt box and a Generate button that start a run of the flow with your prompt, and show what it makes.

A view in the browser (JavaScript) Visualizers Version 1.0 Code you can open and adapt

How it works

Wire the output of a generating block (Text to image's images, Text to video's videos, an Agent's text…) into this view. Type a prompt and press Generate (or Ctrl+Enter): the flow runs with your prompt in that block's Prompt setting, for this run only, and the pictures, videos or text it makes appear here (wire its Live telemetry in too, to see pictures as they are made).

More fields (a count, a seed, a switch) are lines under Fields: number count 1 20 4 Images · switch fast Fast mode · text negative Avoid. The run goes where the last run went, with its Stop after; one at a time. Needs the runner role in the project.

Inputs

InputTakesWhat it is
What it makes
result
Files or Text or Table or Metrics or Stream
png, jpg, jpeg, webp, gif, mp4, webm, md, txt, json
Optional. Takes several connections.

Settings

SettingDefaultWhat it does
Setting it fills
setting
prompt The key of the setting the prompt goes to (prompt in Text to image and Text to video)
Block it goes to
to
empty The node id of the block; empty: the worker block wired into this view
Fields
fields
empty More settings for each run, one per line: number <key> <min> <max> <default> [label] · switch <key> [label] · text <key> [label]
Button
button
Generate
Placeholder
placeholder
Describe what to make…
Show
show
The prompt and what it makes
One of: The prompt and what it makes, The prompt only

Where it runs

In the browser, on the flow's View page and in the run's results, in a sandbox without network access. It needs no worker.

More in Visualizers