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.
{ "fonts": [ { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }, { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk-Italic.ttf" }, { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" } ], "compositions": [{ "id": "hero", "description": "JSON on the left, the frame it describes on the right", "width": 1280, "height": 720, "fps": 30, "duration": "5s", "background": { "type": "radial", "center": [0.7, 0.45], "radius": 0.9, "stops": ["#f4f1ea", "#e9e4d8"] }, "layers": [ { "id": "card", "type": "rect", "x": 340, "y": "50%", "width": 560, "height": 300, "cornerRadius": 3, "fill": "#fbf9f4", "stroke": "#161412", "strokeWidth": 2, "enter": "fadeRight" }, { "id": "code", "type": "text", "font": "JetBrains Mono", "fontSize": 24, "lineHeight": 1.6, "align": "left", "whiteSpace": "pre", "anchor": "left", "x": 96, "y": "50%", "fill": "#8a857a", "reveal": { "from": 0, "to": 1, "start": "0.5s", "duration": "1.5s", "ease": "linear" }, "text": [ "{ ", { "text": "\"type\"", "fill": "#4a4640" }, ": ", { "text": "\"text\"", "fill": "#161412", "fontWeight": 700 }, ",\n ", { "text": "\"text\"", "fill": "#4a4640" }, ": ", { "text": "\"Motion, written.\"", "fill": "#c92a26", "fontWeight": 700 }, ",\n ", { "text": "\"font\"", "fill": "#4a4640" }, ": ", { "text": "\"Schibsted Grotesk\"", "fill": "#161412", "fontWeight": 700 }, ",\n ", { "text": "\"stagger\"", "fill": "#4a4640" }, ": { ", { "text": "\"by\"", "fill": "#4a4640" }, ": ", { "text": "\"char\"", "fill": "#161412", "fontWeight": 700 }, " } }" ] }, { "id": "cursor", "type": "rect", "width": 3, "height": 26, "x": 4, "fill": "#161412", "attach": "code", "opacity": "=floor(t * 2.5) % 2", "lint": { "ignore": ["invisible"] } }, { "id": "arrow", "type": "line", "points": [[0, 0], [56, 0]], "x": 672, "y": "50%", "stroke": "#161412", "strokeWidth": 3, "drawEnd": { "from": 0, "to": 1, "duration": "0.4s" }, "start": "1.9s" }, { "id": "title", "type": "text", "text": ["Motion,\n", { "text": "written.", "italic": true, "fontWeight": 400 }], "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 104, "letterSpacing": -4.5, "lineHeight": 0.95, "fill": "#161412", "x": 975, "y": "43%", "start": "2.2s", "stagger": { "by": "char", "type": "fadeUp", "each": "35ms" } }, { "id": "rule", "type": "line", "points": [[0, 0], [360, 0]], "x": 975, "y": "62%", "stroke": "#c92a26", "strokeWidth": 4, "start": "2.6s", "drawEnd": { "from": 0, "to": 1, "duration": "0.8s", "ease": "easeOutCubic" } }, { "id": "tag", "type": "text", "text": "vidmake · JSON in, video out", "font": "JetBrains Mono", "fontSize": 15, "letterSpacing": 2.4, "uppercase": true, "fill": "#8a857a", "x": 975, "y": "68%", "start": "3s", "enter": "fadeUp" } ] }]}#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,inspectandtracedescribe the video in words and numbers,analyzedescribes the music it will move to, and all of them can print JSON. - A way to see.
storyboardandstillrender 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.
| Remotion | vidmake | |
|---|---|---|
| You write | React components (TSX) | JSON data |
| Preview | Studio in a browser | storyboard, still, inspect, timeline, trace |
| Runtime | Node.js and a headless browser | one native Mac app |
| Errors | JavaScript stack traces | the 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:
- Write
project.json: compositions containing layers, each with anid. - Validate with
vidmake validate project.json: schema, assets, fonts, expressions and a layout lint. - Check timing with
vidmake timeline project.json: when every layer is on screen. - Look with
vidmake storyboard project.json -o sb.png: a labeled grid of frames. - Measure with
vidmake inspect project.json -t 2sandvidmake trace project.json -l title: positions, boxes and curves as numbers. - 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:
{ "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" } ]}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
- Layers: shapes (rect, ellipse, polygon, star, arc), paths and lines that draw themselves on stroke by stroke, text with wrapping, rich spans (color, weight, italic, font) and per-letter stagger, images (including sharp SVG), video, audio, groups with flexbox-style layout, reusable components, captions, waveforms and particles.
- Motion: keyframes, tweens and springs, 30+ easings,
expressions like
"=h/2 + sin(t*2)*40", audio-reactive values, enter and exit presets on springs, stagger for text, groups and copies, repeat and attach. - Structure: series with transitions, props for templating, multiple compositions in one file.
- Look: a theme of colors, type styles and motion with modes, gradients and colors, effects (shadow, blur, glow, grain, 3D tilt, blend modes, motion blur) and masks.
- Output: MP4 (H.264/H.265), WebM (VP9, with alpha), MOV (ProRes, with alpha), GIF, PNG sequences and MP3/WAV/M4A audio. See Rendering.
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 docsprints the complete format reference in one go, and/llms-full.txthas every page of these docs as plain text.
#Explore the docs
#Getting started
--json output and error messages.Core conceptsProjects, the layer tree, coordinates, anchors and the time model.#Compositions
"1.5s", "500ms", "45f", "1:02.5" and layer-local time.Series and transitionsScenes back to back, with fades, slides, wipes and zooms.Props{{name}} templating and overrides from the command line.#Layers
use.CaptionsSRT, VTT and Whisper JSON with word highlighting.WaveformSpectrum bars and oscilloscope lines.ParticlesA deterministic particle emitter.#Motion
=... and live text with ${...}.Audio-reactiveamp, bass, beat and beats, checked with vidmake analyze.Presetsenter from a state, exit to one, on springs.RepeatStamp out copies in rows, grids and circles.AttachRide a path's tip or a text's last character.#Style
$color.accent, type styles, motion, modes.Colors and gradientsColor formats, linear and radial gradients.EffectsShadow, blur, glow, grain, 3D tilt and blend modes.MasksTrack mattes: video through text and more.#Tooling
timeline, inspect, trace, storyboard and still.Editingget, set, unset, add and rm.LintLayout warnings and how to silence intended ones.CLI referenceEvery command and flag.JSON SchemaEditor completion and validation.#Guides
llms.txt and prompts.TroubleshootingCommon errors and how to fix them.Format referenceThe complete reference, as printed by vidmake docs.Want to see more first? The demo gallery has every demo from these docs, each with its JSON.