Pitvi

A browser video editor with an MCP server so an AI can edit alongside you.

Pitvi is a video editor that runs in the browser. You arrange clips on a timeline, style them, and render. Everything you can do by hand, an AI client can do through the MCP server.

The timeline model

A video is one flat list of clips. That is the whole structure, and two rules fall out of it that are worth knowing before you edit anything, by hand or by tool:

Every clip carries an absolute from and duration, in seconds. There are no scenes, no nesting, no groups and no transitions between segments. A clip that should appear three seconds in has from: 3. Nothing is relative to anything else, so moving one clip never moves another.

Duration is derived, never set. A video is as long as the furthest point any of its clips reaches. There is no field to write a length into, and asking for one is asking for a number that can disagree with what is on screen.

Clips live in buckets by kind: text, image, video, audio, ui, camera and background. A background is a clip like any other, which is what lets one start, stop, and hand over to the next.

Where to start