vidmake v0.2.1
Download

Docs/Getting startedPage 01 / 45

Introduction

vidmake renders video from declarative JSON compositions, with a CLI built for AI agents to validate, inspect and look at every frame before rendering.

View .md Ask Claude Ask ChatGPT

vidmake is a command-line tool, written in Rust, that turns a JSON file into a video. You describe compositions, layers and animation as data; vidmake compiles that into a render tree and draws every frame. There is no editor, timeline UI or browser. Instead, the CLI gives you (or your agent) precise ways to check the work: validation with suggestions, a timeline, per-frame layout inspection, animation traces, single stills and storyboard contact sheets.

00:00.0 · f 000
JSON on the left, the frame it describes on the rightDownload

#Why vidmake exists

Remotion makes videos from React code and gives people a Studio to preview them. That works well for humans, but an AI agent can't watch a Studio preview and has to get a whole React and browser toolchain right first. An agent needs three things instead:

  • A format it can write reliably. A vidmake project is one strict JSON file. Unknown fields are rejected with a "did you mean" suggestion, and compile errors name the composition, the layer id and the field.
  • Feedback it can read. validate, timeline, inspect and trace describe the video in words and numbers, analyze describes the music it will move to, and all of them can print JSON.
  • A way to see. storyboard and still render any frame to a PNG the agent can open. Every frame is a pure function of time, so any frame can be checked on its own, in any order.

The concepts map closely to Remotion (compositions, sequences, series and transitions, springs, input props, components), so if you know one you can read the other. See Coming from Remotion for the full mapping.

Remotionvidmake
You writeReact components (TSX)JSON data
PreviewStudio in a browserstoryboard, still, inspect, timeline, trace
RuntimeNode.js and a headless browserone native Mac app
ErrorsJavaScript stack tracesthe layer id, the field and a suggested fix
Timing<Sequence>, <Series>, useCurrentFrame()start/duration, series groups, t/f in expressions

#The loop at a glance

Every vidmake project is built the same way, whether a person or an agent is driving:

  1. Write project.json: compositions containing layers, each with an id.
  2. Validate with vidmake validate project.json: schema, assets, fonts, expressions and a layout lint.
  3. Check timing with vidmake timeline project.json: when every layer is on screen.
  4. Look with vidmake storyboard project.json -o sb.png: a labeled grid of frames.
  5. Measure with vidmake inspect project.json -t 2s and vidmake trace project.json -l title: positions, boxes and curves as numbers.
  6. Render with vidmake render project.json -o out/video.mp4.

Small fixes don't need a text editor: vidmake set project.json title.fontSize 96 edits one value and refuses to save it if the project would no longer compile. Editing covers get, set, unset, add and rm.

#A first look

This is a complete project. The title's letters blur in one after another, and the ring draws itself:

title.jsonjson
{  "id": "main", "width": 1920, "height": 1080, "fps": 30, "duration": "5s",  "props": { "title": "Hello" },  "background": { "type": "linear", "angle": 135, "stops": ["#f4f1ea", "#e9e4d8"] },  "layers": [    { "id": "title", "type": "text", "text": "{{title}}", "fontSize": 120, "fontWeight": 900, "fill": "#161412",      "enter": { "from": { "opacity": 0, "y": "0.3em", "blur": "0.15em" } }, "stagger": "char", "exit": "fade" },    { "id": "ring", "type": "arc", "y": "75%", "width": 120, "stroke": "#c92a26", "strokeWidth": 12,      "endAngle": { "from": 0, "to": 360, "duration": "3s" }, "enter": "pop" }  ]}
bash
vidmake validate title.jsonvidmake storyboard title.json -o sb.pngvidmake render title.json -o out/title.mp4 -p title="Launch day"

The {{title}} placeholder is an input prop, overridden here from the command line. The quickstart walks through a project like this one step by step.

#What you can make

For agents

If you are an AI agent, start with For AI agents. It explains the loop above in detail and how to read each command's output. vidmake docs prints the complete format reference in one go, and /llms-full.txt has every page of these docs as plain text.

#Explore the docs

#Getting started

#Compositions

#Layers

#Motion

#Style

#Tooling

#Guides

Want to see more first? The demo gallery has every demo from these docs, each with its JSON.