To build any example: β press Space to add nodes β drag connections β press Ctrl/β+Enter to run β add Preview nodes to inspect intermediate results
Pattern 1: Simple Pipeline
Use Case: Transform input β process β output
Example: Image Enhancement
When to Use:
- Simple data transformations
- Single input, single output
- No conditional logic needed
Pattern 2: Agent-Driven Generation
Use Case: LLM generates content based on input
Example: Image to Story
When to Use:
- Creative generation tasks
- Multimodal transformations (imageβtextβaudio)
- Need semantic understanding
Key Nodes:
Agent: General-purpose LLM agent with streamingSummarizer: Specialized for text summarizationListGenerator: Streams list of items
Pattern 3: Streaming with Multiple Previews
Use Case: Show intermediate results during generation
Example: Movie Poster Generator
When to Use:
- Complex multi-stage generation
- User needs to see progress
- Agent planning + execution workflow
Key Concepts:
- Strategy Phase: Agent plans approach
- Preview Nodes: Show intermediate results
- ListGenerator: Streams generated prompts
- Image Generation: Final output
Pattern 4: RAG (Retrieval-Augmented Generation)
Use Case: Answer questions using documents as context
Example: Chat with Docs
When to Use:
- Question-answering over documents
- Need factual accuracy from specific sources
- Reduce LLM hallucinations
Key Components:
- Search: Query vector database for relevant documents
- Format: Inject retrieved context into prompt
- Generate: Stream LLM response with context
Related Workflow: Index PDFs
Pattern 5: Database Persistence
Use Case: Store generated data for later retrieval
Example: AI Flashcard Generator with SQLite
When to Use:
- Need persistent storage
- Building apps with memory
- Agent workflows that need to recall past interactions
Key Nodes:
CreateTable: Initialize database schemaInsert: Add recordsQuery: Retrieve recordsUpdate: Modify recordsDelete: Remove records
Database Flow:
- Create table structure
- Generate data with agent
- Insert into database
- Query and display results
Pattern 6: Email & Web Integration
Use Case: Process emails or web content
Example: Summarize Newsletters
When to Use:
- Automate email processing
- Monitor RSS feeds
- Extract web content
Key Nodes:
GmailSearch: Search Gmail with queriesEmailFields: Extract email metadataFetchRSSFeed: Get RSS feed entriesGetRequest: Fetch web content
Pattern 7: Realtime Processing
Use Case: Process streaming audio/video in real-time
Example: Realtime Agent
When to Use:
- Voice interfaces
- Live transcription
- Interactive audio applications
Key Nodes:
RealtimeAudioInput: Streaming audio inputRealtimeAgent: OpenAI Realtime API with streamingRealtimeWhisper: Live transcriptionRealtimeTranscription: OpenAI transcription streaming
Pattern 8: Multi-Modal Workflows
Use Case: Convert between different media types
Example: Audio to Image
When to Use:
- Converting between media types
- Creating rich multimedia experiences
- Accessibility applications
Common Chains:
- Audio β Text β Image
- Image β Text β Audio
- Video β Audio β Text β Summary
Pattern 9: Advanced Image Processing
Use Case: AI-powered image transformations
Example: Style Transfer
When to Use:
- Style transfer between images
- Controlled image generation
- Preserving structure while changing style
Key Techniques:
- ControlNet: Preserve structure with edge detection
- Image-to-Text: Generate descriptions
- Img2Img: Transform while maintaining composition
Pattern 10: Data Processing Pipeline
Use Case: Fetch, transform, and visualize data
Example: Data Visualization Pipeline
When to Use:
- Fetch external data sources
- Transform and filter datasets
- Auto-generate visualizations
Key Nodes:
GetRequest: Fetch web resourcesImportCSV: Parse CSV dataFilter: Transform dataChartGenerator: AI-generated charts with Plotly
Pattern 11: Text-to-Video Generation
Use Case: Generate videos from text descriptions
Example: Cinematic Video from Prompt
When to Use:
- Create videos from text descriptions
- Generate concept videos and storyboards
- Produce cinematic content from prompts
- Rapid video prototyping
Key Nodes:
KlingTextToVideo: High-quality text-to-video (Kling 2.6)HailuoTextToVideoPro: Professional quality (Hailuo 2.3)Sora2TextToVideo: OpenAI Sora 2 modelGrokImagineTextToVideo: xAI Grok ImagineWan26TextToVideo: Alibaba Wan 2.6
Configuration Tips:
- Duration: 5-10 seconds for most models
- Resolution: 768P for faster generation, 1080P for quality
- Aspect ratios: 16:9 (landscape), 9:16 (portrait), 1:1 (square)
Pattern 12: Image-to-Video Generation
Use Case: Animate images into videos
Example: Bring Images to Life
When to Use:
- Animate static images
- Create motion from photographs
- Multi-image video generation
- Product showcases from images
Key Nodes:
KlingImageToVideo: Supports 1-3 source imagesHailuoImageToVideoPro: High-quality animationSeedanceV1ProImageToVideo: Bytedance 1.0 ProWan26ImageToVideo: Alibaba Wan 2.6
Advanced Pattern: Multi-Image Animation
Pattern 13: Talking Avatar Generation
Use Case: Create lip-synced avatar videos
Example: Virtual Presenter
When to Use:
- Create virtual presenters
- Generate lip-synced avatar videos
- Educational content with AI speakers
- Virtual influencers and spokespersons
Key Nodes:
KlingAIAvatarPro: Pro-quality avatar generationKlingAIAvatarStandard: Standard mode for faster generationInfinitalkV1: Audio-driven video generation
Workflow: Audio + Image β Talking Avatar
- Photo Input: Front-facing portrait image
- Audio Track: Speech recording or TTS output
- Optional Prompt: Guide emotions and expressions
- Mode Selection: Standard (faster) or Pro (higher quality)
Pattern 14: Video Enhancement & Upscaling
Use Case: Improve video quality and resolution
Example: HD Video Upscaling
When to Use:
- Upscale low-resolution videos
- Remove noise and artifacts
- Enhance video quality
- Prepare videos for high-resolution displays
Key Nodes:
TopazVideoUpscale: AI-powered upscaling to 1080p or 4K- Denoise option: Reduces artifacts during upscaling
Configuration:
- Target resolutions: 1080p or 4K
- Denoise: Enable for noisy input videos
- Best for: Enhancing old footage, smartphone videos, web videos
Pattern 15: Storyboard to Video
Use Case: Convert image sequences to coherent videos
Example: Visual Story Generation
When to Use:
- Create narrative videos from storyboards
- Combine multiple scenes into one video
- Professional video pre-visualization
- Animated story creation
Key Nodes:
Sora2ProStoryboard: OpenAI Sora 2 storyboard mode- Supports: 1-3 keyframe images
- Output: Smooth transitions between scenes
Workflow:
- Story Prompt: Describe the narrative arc
- Keyframes: Provide 1-3 scene images
- Generation: Sora creates smooth transitions
- Duration: 1-60 frames configurable