Overview
A beginner workflow that fills a prompt from three inputs and streams story ideas one at a time.
This tutorial does not ship as an importable template. Build it manually by following the steps below.
How it works:
- Set inputs - Three
nodetool.input.StringInputnodes: Genre, Character Type, and Setting. - Fill a prompt - A
nodetool.text.Promptnode holds text such asGive five one-line story ideas in the {{ genre }} genre featuring {{ character }}.Each{{ name }}becomes an input on the node that you connect to aStringInput. - Generate ideas - A
nodetool.generators.ListGeneratorsends the prompt to the language model you select and streams one idea per item.
Key concepts:
- Connect nodes to create workflows
- A Prompt node turns
{{ variables }}into inputs, so one wording serves many runs ListGeneratorstreams itsitemoutput, so downstream nodes start before the list is complete
Demo
Tags
start, beginner, tutorial, creative, writing
Workflow Diagram
graph TD
genre["StringInput (Genre)"]
character["StringInput (Character Type)"]
setting["StringInput (Setting)"]
prompt["Prompt"]
ideas["ListGenerator"]
genre -->|genre| prompt
character -->|character| prompt
setting -->|setting| prompt
prompt --> ideas
How to Use
- Add the nodes above and connect them as in the diagram
- Select a language model on the ListGenerator node
- Fill in the input nodes:
- Genre: “Sci-fi”, “Fantasy”, “Mystery”, etc.
- Character Type: “Hero”, “Villain”, “Detective”, etc.
- Setting: “Space station”, “Medieval castle”, “Future city”, etc.
- Press Ctrl/⌘ + Enter or click Run
- Add a Preview node on the
itemoutput to watch the ideas arrive
Tips:
- Run multiple times to get different ideas
- Try unusual combinations for unique results
Next Steps
- Movie Posters - Generate images from ideas
- Image Enhance - Chain image transformations