Skip to content
New Project

Tersa: AI Workflow Canvas

A free, open-source template for building image and video workflows using AI Gateway.

DeployView Demo

Tersa

A visual AI playground. Drag, drop, connect and run nodes to build AI workflows powered by the Vercel AI SDK Gateway.

Features

  • Visual Workflow Builder: Create AI workflows by connecting nodes in a drag-and-drop canvas
  • Multi-Model Support: Access text, image and video models from 25+ providers through Vercel AI SDK Gateway
  • Cost Indicators: See relative pricing across models at a glance
  • Reasoning Extraction: View model reasoning for supported providers
  • Streaming Responses: Real-time text generation with streaming support
  • Local Storage: Canvas state persists in the browser automatically

Technologies

  • Next.js 15 with App Router and Turbopack
  • React 19
  • Vercel AI SDK with AI SDK Gateway
  • Vercel Blob for media storage
  • ReactFlow for the visual canvas
  • TipTap for rich text editing
  • Tailwind CSS for styling
  • shadcn/ui, Kibo UI and Radix UI for UI components

Getting Started

Prerequisites

  • Node.js (v20+)
  • PNPM package manager

Installation

  1. Clone the repository

    git clone https://github.com/vercel-labs/tersa.git
    cd tersa
  2. Install dependencies

    pnpm install
  3. Create a .env.local file with your AI SDK Gateway credentials and any provider API keys you want to use.

  4. Run the development server

    pnpm dev
  5. Open http://localhost:3000 in your browser

Usage

  1. Add nodes to the canvas using the toolbar
  2. Connect nodes by dragging from one node's output to another's input
  3. Select a model from any supported provider
  4. Run your workflow to process data through the AI models

License

This project is licensed under the MIT License - see the LICENSE [blocked] file for details.


Made with ❤️ and 🤖 by Hayden Bleasel.

GitHub
Ownervercel-labs
Repositorytersa
Use Cases
AI
Stack
Next.js
Tailwind
Database
Vercel Blob

Related Templates

Next.js Boilerplate

Get started with Next.js and React in seconds.
Next.js Boilerplate thumbnail

eve Chat Template

A persisted Next.js chat template for eve, built with shadcn/ui, Tailwind CSS, Streamdown, Better Auth, Drizzle, and Neon.
eve Chat Template thumbnail

Image Gallery Starter

An image gallery built on Next.js and Vercel Blob.
Image Gallery Starter thumbnail
DeployView Demo