█

AI/TLDR

Buy me a coffee
Buy me a coffee

Timeline Studio

A local-first browser video editor with on-device AI voiceover, music, captions and repair — and a timeline coding agents can edit too

Video GenerationOpen source
Language
JavaScript
License
MIT (code); models under their own licenses
$git clone https://github.com/MartinDelophy/ai-video-editor.git
IN SHORT

What is Timeline Studio?

Timeline Studio (repository `ai-video-editor`) is an MIT-licensed video editor that runs in the browser. It sits in the Video Generation category of the Multimodal Generation tools and is open-source, written in JavaScript and licensed MIT (code); models under their own licenses. To get started: run the editor locally.

Overview

Timeline Studio (repository `ai-video-editor`) is an MIT-licensed video editor that runs in the browser. It pairs a CapCut-style multi-track timeline — a main Visuals track, timed picture-in-picture overlays, and separate caption, sticker, voiceover, source-audio and music tracks — with AI features that run locally on WebGPU and WebAssembly instead of an editing backend. It installs as a PWA, can be used from a hosted demo or a Hugging Face Space, and saves work as portable `.timeline` projects.

The Timeline Studio editor with a media panel, a preview of a portrait with captions, an AI voice panel offering several TTS voices, and a timeline with image, caption and voiceover tracks.
The editor generating an AI voiceover, with image, caption and voiceover tracks on the timeline.Timeline Studio README ↗

The AI side is a set of browser-run open models: Hojo TTS, Kokoro and Piper voices for multilingual voiceover; Stable Audio 3 Small for generated music; Whisper small for automatic captions; YOLOS and MODNet for smart framing and background removal; MI-GAN for timed watermark and object removal and NanoVSR for 4× restoration; vocal separation; and JoyVASA plus LivePortrait for talking-avatar generation. Large models are lazy-loaded, pinned to a revision, cached by the service worker and mirrored on Hugging Face and ModelScope with automatic fallback. Export runs on a separate deterministic offline path using WebCodecs for MP4 and WebM.

The project is also built for coding agents. The repository ships an `edit-timeline-studio` Skill for Codex, Claude Code, Copilot and Gemini CLI, a headless command runner that inspects `.timeline` projects, validates JSON edit plans, applies them transactionally (with dry runs) and renders a subset to H.264/AAC MP4, and a browser WebMCP integration with 21 tools so an agent can inspect, edit, sample and export the open project. The editable timeline stays the source of truth rather than an opaque render. The code is MIT; the bundled and downloaded models keep their own upstream licenses, listed in MODEL_LICENSES.md.

What it does

  • Multi-track timeline with snapping, alignment guides, split / duplicate / delete, keyframes, masks, filters, effects, speed and desktop four-way colour grading
  • Local AI voiceover (Hojo TTS, Kokoro, Piper), music (Stable Audio 3 Small), captions (Whisper small) and vocal separation, all running in the browser
  • AI repair and framing: MI-GAN watermark/object removal with timed regions, NanoVSR 4× restoration, YOLOS subject detection and MODNet portrait matting
  • Talking-avatar generation with JoyVASA audio-to-motion and LivePortrait rendering on WebGPU
  • Agent tooling: an installable Skill, a headless command runner for `.timeline` projects and 21 WebMCP tools for the open editor
  • Deterministic offline export to MP4/WebM via WebCodecs, an installable PWA and portable `.timeline` project files

Getting started

Running locally needs Node.js 20+ and a modern Chromium browser; WebGPU is recommended for the heaviest AI workflows. You can also try the hosted editor first. Commands are from the project README.

VideoThe demo video linked from the Timeline Studio README.Delophy Martin ↗

Run the editor locally

Open the local URL Vite prints. The first AI run may download model files; later runs reuse the browser cache.

bashbash
git clone https://github.com/MartinDelophy/ai-video-editor.git
cd ai-video-editor
npm install
npm run dev

Build and check

`npm run check` runs the complete repository check. The included `netlify.toml` sets the cross-origin isolation headers the browser AI and media workers need.

bashbash
npm run build
npm run preview
npm run check

Give your coding agent the editing Skill

Install the `edit-timeline-studio` Skill from skills.sh (needs Node.js 22.20.0 or later), or with GitHub CLI 2.90.0+ for a specific agent.

bashbash
npx skills add MartinDelophy/ai-video-editor --skill edit-timeline-studio

# or, per agent
gh skill install MartinDelophy/ai-video-editor edit-timeline-studio --agent claude-code --scope user

Drive a project headlessly

The command runner inspects portable projects, previews an edit plan as a diff, applies it and renders the supported subset to MP4 without rewriting the media files.

bashbash
npm run agent -- project.inspect /absolute/path/project.timeline
npm run agent -- project.diff /absolute/path/edit-plan.json
npm run agent -- project.run /absolute/path/edit-plan.json
npm run agent -- project.render /absolute/path/render-request.json

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Adding a multilingual AI voiceover and automatic captions to a short video without uploading the footage to a cloud editor
  • Letting Codex or Claude Code propose a beat-synced edit as a reviewable plan, then adjusting keyframes by hand before exporting
  • Removing a watermark over a time range or upscaling old clips with browser-local repair models
  • Generating a talking-avatar clip from a portrait and a voiceover track

How Timeline Studio compares

Timeline Studio alongside other open-source video generation tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
MoneyPrinterTurbo★ 147kA self-hosted WebUI, API and CLI that turns one topic or keyword into a finished short video — script, stock or generated footage, voiceover, subtitles and music.
HyperFrames★ 93.2kHeyGen's HTML-to-video renderer: author a composition in HTML, CSS and JS, preview it in a browser, then render the same input to a deterministic MP4 locally or on AWS Lambda.
OpenMontage★ 84.5kAn agentic video production system that gives a coding assistant 12 pipelines and 100+ tools to research, script, generate and render a video end to end.
Open Generative AI★ 37kMIT-licensed desktop and web studio for AI image, video and lip-sync generation that runs hosted models through the Muapi.ai API, with optional local image models in the desktop app.
Hypit★ 31.9kA markup language and compiler that lets a coding agent rebuild a reference video as an editable workflow — footage, captions, B-roll and effects anchored to words rather than timestamps — and render variants in one command.
Toonflow★ 23.3kInfinite-canvas workbench for AI short-drama production, taking a novel through chapter events, script, storyboards and video nodes.
Lemo-Opuscar★ 23.2kA Claude Code skill and library of 59 film styles that has a coding agent make a narrated short film entirely in code — canvas and WebGL frames, scored music and TTS — with no video model.
Timeline Studio★ 1kA local-first browser video editor with on-device AI voiceover, music, captions and repair — and a timeline coding agents can edit too