AI Card Bao AICARDBAO.COM
Home / 开源 / v2
AI TOOL / #12803

v2

A version control tool designed for coding agents working on video projects, open-source and often referred to as the "GitHub of the video industry."

Introduction

v2 saves every version of a video project. Code and text go through git. Footage, music and renders go into v2's own store. Any version comes back exactly.

It's built for making videos with a coding agent such as Claude Code or Codex. v2 init teaches the agent to save a version after each edit, with the prompt that asked for it. v2 diff opens every version in the browser, so you can watch one, compare two and leave timed comments for the agent to fix. v2 push shares them on v2.video.

Install

macOS and Linux:

curl -fsSL https://v2.video/install.sh | sh

v2 needs git and ffmpeg. Releases are signed, and v2 update checks the signature before it replaces itself.

Use

cd your-video-project   # or a new empty folder
v2 init                 # set up the project and teach your agent to use v2
claude                  # ask for edits as usual; the agent saves a version after each one
v2 log                  # list versions, newest first
v2 diff                 # watch, compare and comment in the browser
v2 restore v3            # bring back version 3 exactly, saved as a new version
v2 push                 # upload to v2.video and print a private link

Run v2 --help for every command.

Build from source

Go (see go.mod) and Node 24:

(cd web && npm ci && npm run build)   # the v2 diff page, embedded in the binary
go build -o v2 ./cmd/v2

go install doesn't work: the page has to be built first, and Go would name the binary cmd.

See CONTRIBUTING.md to run the checks and tests, and docs/decisions.md for why v2 works the way it does.

License

MIT

Visits:1 Updated:2026-12-02 AI tools

Related