Reusable patterns for building on the NodeTool canvas. Start with a pattern that matches what you want to build, then adapt one of the worked examples.
Cookbook Sections
- Core Concepts & Architecture — how graphs, typed edges, streaming, and node types work.
- Workflow Patterns — 13 patterns with diagrams and the nodes each one uses.
- Workflow Gallery — step-by-step example workflows you can open and run.
New to the canvas? Read Core Concepts first, then follow a beginner example like Creative Story Ideas.
Choose Your Pattern
| I want to… | Pattern | Key nodes |
|---|---|---|
| Transform one input step by step | 1 · Simple Pipeline | ImageInput, UnsharpMask, AutoContrast |
| Generate content with an LLM | 2 · Agent-Driven Generation | Agent, ListGenerator, TextToSpeech |
| Show progress during a long run | 3 · Streaming with Previews | Agent, ListGenerator, Preview |
| Answer questions about documents | 4 · RAG | HybridSearch, FormatText, Agent |
| Store data persistently | 5 · Database Persistence | CreateTable, Insert, Query |
| Process emails or web content | 6 · Email & Web Integration | GmailSearch, Template, Summarizer |
| Convert between media types | 7 · Multi-Modal Workflows | Whisper, StableDiffusion, TextToSpeech |
| Transform images with AI | 8 · Advanced Image Processing | StableDiffusionV3MediumImageToImage, ImageToText, Canny |
| Generate video from text | 9 · Text-to-Video | KlingVideoV16ProTextToVideo, Sora2TextToVideo |
| Animate an image into video | 10 · Image-to-Video | KlingVideoV16StandardImageToVideo, SeeDanceV15ProImageToVideo |
| Create a lip-synced avatar | 11 · Talking Avatar | KlingVideoAiAvatarV2Pro, Infinitalk |
| Upscale and clean up images | 12 · Image Enhancement | TopazUpscaleImage |
| Turn keyframes into a video | 13 · Storyboard to Video | Sora2ImageToVideoPro |
Worked Examples
Full walkthroughs with diagrams live in the Workflow Gallery. A few to start with:
- Creative Story Ideas — beginner tutorial for agent generation.
- Image Enhance — a simple sharpen-and-contrast pipeline.
- Movie Posters — multi-stage generation with strategy and previews.
- Image to Audio Story — picture in, narrated story out.
- Chat with Docs — RAG document Q&A.
Build Any Example
- Press Space to open the node menu and add a node.
- Drag from an output handle to an input handle to connect nodes.
- Press Ctrl/⌘ + Enter to run.
- Add Preview nodes to inspect intermediate results.