# Introducing vidmake

> A video renderer with no UI, built for AI agents. JSON compositions in, video out, and a set of commands that let the agent look at its work before it renders.

*2026-10-22 · The vidmake team*

Agents are increasingly asked to make video: a release-notes clip, a chart that animates last quarter's numbers, captions over an interview, a title card for a talk. The tools we have for programmatic video are good, and they were designed for people. Remotion, the best of them, lets you write a video as React components and gives you a Studio where you scrub the timeline and watch your composition update as you type.

An agent can't use a Studio. It writes a file, runs a command, and reads what comes back. Today we're releasing **vidmake 0.1**, a Rust CLI that renders video from declarative JSON. Every tool in it was designed around that loop.

## Why there is no UI

When a human builds a motion graphic, most of the work happens in the eyes: nudge the title up, play it back, notice the subtitle arrives too early, nudge again. A preview window is the right tool for that. An agent's "eyes" are text output and the occasional image. If it has to render an MP4 to learn that a headline runs off the edge of the frame, every mistake costs a full render, and some mistakes, like a counter that briefly overshoots its final value, are easy to miss in a compressed video even for a person.

So vidmake turns the preview window into commands:

| question | command |
|---|---|
| Is this file valid, and does anything look obviously wrong? | `vidmake validate` |
| When is each layer on screen? | `vidmake timeline` |
| What does it look like? | `vidmake storyboard`, `vidmake still` |
| Where exactly is everything at 2.5 seconds? | `vidmake inspect -t 2.5s` |
| How does this one property move over time? | `vidmake trace -l title` |

Each one answers a single question, prints text that fits in a context window, and takes `--json` when a program is reading. None of them encode a video. They exist so that `vidmake render` is the last step, not the debugging tool.

## Three design decisions

### 1. Strict JSON, with errors that say how to fix them

We chose JSON over a programming language deliberately. Agents write JSON reliably, it diffs cleanly, and one schema covers every project. The cost of a declarative format is that a typo quietly does nothing, so vidmake rejects anything it doesn't understand, and says what you probably meant:

```output
$ vidmake validate project.json
✗ main: composition `main`: unknown field `fontsize` — did you mean `fontSize`?
```

Unknown layer types, presets, fonts, expression variables and missing files fail the same way. The error names the layer and the field, lists the valid options when there is a list to give, and `validate` exits with code 2 so a script can tell that it failed:

```output
✗ main: layer `r` (main > layers[0]): `enter`: unknown preset `fadeup`. Available: fade, slideLeft|Right|Up|Down, fadeLeft|Right|Up|Down (fade+short slide), scale, pop (spring), zoom, wipeLeft|Right|Up|Down, blur, typewriter (text), rotate
```

A strict format also makes edits safe. `vidmake set project.json title.fontSize 96` compiles the whole project before it writes the file, and refuses to save an edit that would break it.

### 2. Every frame is a pure function of time

Nothing in vidmake carries state from one frame to the next. A keyframe, a tween, a spring, an `=expression` or a `${...}` text template is evaluated from the current time and nothing else. Here is an orrery built entirely from expressions. The planet's position is `cos` and `sin` of `t`, the moon adds its own small circle to that, and the readout prints `t`:

**Demo: An orrery from expressions: each position is computed from t alone, so any frame renders on its own** (rendered video: https://vidmake.app/media/blog-intro-orrery.mp4)

```json
{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "orrery", "description": "An orrery from expressions: each position is computed from t alone, so any frame renders on its own",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s",
    "background": "#f4f1ea",
    "motionBlur": { "samples": 8, "shutter": 0.6 },
    "layers": [
      { "id": "orbit-a", "type": "ellipse", "width": 480, "fill": null, "stroke": "#161412", "strokeWidth": 1.5 },
      { "id": "orbit-b", "type": "ellipse", "width": 280, "fill": null, "stroke": "#8a857a", "strokeWidth": 1 },
      { "id": "orbit-c", "type": "ellipse", "width": 640, "fill": null, "stroke": "#8a857a", "strokeWidth": 1, "dash": [3, 9] },
      { "id": "halo", "type": "ellipse", "width": 420, "fill": "#16141210" },
      { "id": "sun", "type": "ellipse", "width": 96, "scale": "=1 + 0.04 * sin(t * tau)", "fill": "#161412" },
      { "id": "inner", "type": "ellipse", "width": 20, "fill": "#4a4640",
        "x": "=w/2 + cos(t * tau / 2) * 140", "y": "=h/2 + sin(t * tau / 2) * 140" },
      { "id": "planet", "type": "ellipse", "width": 34, "fill": "#c92a26",
        "x": "=w/2 + cos(t * tau / 4 + 1) * 240", "y": "=h/2 + sin(t * tau / 4 + 1) * 240" },
      { "id": "moon", "type": "ellipse", "width": 10, "fill": "#161412",
        "x": "=w/2 + cos(t * tau / 4 + 1) * 240 + cos(t * tau) * 34",
        "y": "=h/2 + sin(t * tau / 4 + 1) * 240 + sin(t * tau) * 34" },
      { "id": "comet", "type": "ellipse", "width": 12, "fill": "#f4f1ea", "stroke": "#161412", "strokeWidth": 2,
        "x": "=w/2 + cos(-t * tau / 4) * 320", "y": "=h/2 + sin(-t * tau / 4) * 320" },
      { "id": "readout", "type": "text", "text": "t = ${t:2}s", "font": "JetBrains Mono", "fontSize": 20,
        "fill": "#161412", "anchor": "left", "x": 64, "y": 656 },
      { "id": "formula", "type": "text", "text": "x = w/2 + cos(t·τ/4 + 1)·240", "font": "JetBrains Mono", "fontSize": 20,
        "fill": "#8a857a", "anchor": "right", "x": 1216, "y": 656 }
    ]
  }]
}
```

That property is what makes the rest of the tool work. `inspect` can resolve frame 75 without simulating frames 0 to 74. `storyboard` renders twelve frames from different parts of the video in parallel. `render` splits the timeline across all your cores. And the agent can reason about any moment in isolation, because the answer can't depend on what was drawn before it:

```console
$ vidmake trace blog-intro-orrery.json -l planet --every 30
 FRAME    TIME        X        Y       W       H    ROT  SCALE  OPAC  NOTES
     0   0.00s    769.7    562.0    34.0    34.0    0.0   1.00  1.00  
    30   1.00s    438.0    489.7    34.0    34.0    0.0   1.00  1.00  
    60   2.00s    510.3    158.0    34.0    34.0    0.0   1.00  1.00  
    90   3.00s    842.0    230.3    34.0    34.0    0.0   1.00  1.00
```

### 3. Look before you render

The workflow we recommend, and the one `vidmake docs` teaches an agent, is a loop: write the JSON, `validate` until it is clean, check `timeline`, look at a `storyboard`, `inspect` and `trace` anything suspicious, and only then `render`. The validator also lints the layout. It warns when a layer is entirely off-canvas, when text overflows the frame, when a layer is invisible at its midpoint, or when something starts after the composition ends. Those are the mistakes that are cheap to make in JSON and expensive to discover in an MP4.

## A first project

Here is a complete project: a kicker, a two-line title that staggers in word by word, an underline that draws itself, a ring that fills over the layer's life, and a readout of the current frame.

**Demo: A first project: staggered title, a drawn underline, a ring and a live clock** (rendered video: https://vidmake.app/media/blog-intro-first.mp4)

```json
{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "first", "description": "A first project: staggered title, a drawn underline, a ring and a live clock",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s",
    "background": { "type": "radial", "center": [0.5, 0.35], "radius": 1, "stops": ["#fbf9f4", "#f4f1ea"] },
    "layers": [
      { "id": "kicker", "type": "text", "text": "vidmake 0.1", "font": "JetBrains Mono", "fontSize": 16, "letterSpacing": 2,
        "uppercase": true, "fill": "#8a857a", "y": "22%", "enter": "fadeDown", "exit": "fade" },
      { "id": "title", "type": "text", "text": "Every frame is\na function of time.", "font": "Schibsted Grotesk", "fontWeight": 860,
        "fontSize": 92, "lineHeight": 0.98, "letterSpacing": -4, "fill": "#161412", "y": "43%",
        "stagger": { "by": "word", "type": "fadeUp", "each": "90ms", "duration": "0.7s", "delay": "0.2s" }, "exit": "fade" },
      { "id": "swash", "type": "path", "d": "M0 18 C 160 0, 320 34, 480 14 S 640 2, 700 12", "x": "50%", "y": "63%",
        "stroke": "#c92a26", "strokeWidth": 3, "fill": null,
        "drawEnd": { "from": 0, "to": 1, "start": "0.9s", "duration": "1.1s", "ease": "easeInOutCubic" }, "exit": "fade" },
      { "id": "ring", "type": "arc", "x": "50%", "y": "77%", "width": 56, "stroke": "#161412", "strokeWidth": 3,
        "endAngle": "=map(t, 0, dur, 0, 360)", "start": "0.6s", "enter": "pop", "exit": "fade" },
      { "id": "clock", "type": "text", "text": "frame ${gf} · ${gt:2}s", "font": "JetBrains Mono", "fontSize": 15,
        "letterSpacing": 1.2, "fill": "#8a857a", "x": "50%", "y": "87%", "start": "0.6s", "enter": "fade", "exit": "fade" }
    ]
  }]
}
```

A few things worth noticing:

- **Times are frames unless they say otherwise.** `"start": "0.9s"`, `"500ms"`, `"45f"` and `45` are all valid. Animation times are local to the layer, so the underline's tween `start` is measured from when the underline appears.
- **Positions default to the center** of the parent, and `"y": "43%"` is a percentage of the parent height. Most layers in a typical title card need one coordinate.
- **Animation has several forms.** `drawEnd` uses a tween (`from`, `to`, `start`, `duration`, `ease`); the ring's `endAngle` uses an expression, `=map(t, 0, dur, 0, 360)`, where `dur` is the layer's own duration. Keyframes and springs are also available; see [animation](https://vidmake.app/docs/animation.md).
- **Text can be live.** `"frame ${gf} · ${gt:2}s"` prints the global frame and time, with two decimals.
- **Presets cover the common moves.** `"enter": "fadeDown"`, `"exit": "fade"`, and `stagger` for per-word or per-character entrances.

Validate it:

```console
$ vidmake validate blog-intro-first.json
✓ first — 120 frames (4.00s)
```

Ask where everything is at 2.5 seconds. The bounding boxes are in canvas pixels, which is how an agent can check that the underline sits below the title without looking at a picture:

```console
$ vidmake inspect blog-intro-first.json -t 2.5s
Frame 75 (2.50s) of `first` (1280x720), 5 visible layer(s), drawn bottom→top:

ID                       TYPE            X        Y       W       H    ROT  SCALE  OPAC  BBOX [x0,y0,x1,y1]          NOTES
kicker                   text        640.0    158.4   123.6    19.2    0.0   1.00  1.00  [578,149,702,168]           "VIDMAKE 0.1"
title                    text        640.0    309.6   769.3   180.3    0.0   1.00  1.00  [255,219,1025,400]          enter:fadeUp per unit "Every frame is ⏎ a function of time."
swash                    path        640.0    453.6   700.0    34.0    0.0   1.00  1.00  [290,437,990,471]           
ring                     arc         640.0    554.4    56.0    56.0    0.0   1.00  1.00  [612,526,668,582]           
clock                    text        640.0    626.4   158.4    18.0    0.0   1.00  1.00  [561,617,719,635]           "frame 75 · 2.50s"
```

Then look at it. A storyboard is a contact sheet of evenly spaced frames, labeled with frame number and time:

`vidmake storyboard blog-intro-first.json -n 8 --cols 4` produces:

![vidmake storyboard blog-intro-first.json -n 8 --cols 4](https://vidmake.app/media/storyboard-5a1705531bb6.jpg)

When it looks right, render. With `--json`, progress arrives as one JSON object per line and the last line describes the file:

```output
$ vidmake render blog-intro-first.json -o out/first.mp4 --json
{"event":"progress","rendered":16,"total":120,"percent":13.3,"elapsed":0.49236842,"fps":32.49599151789629,"eta":3.2}
...
{"event":"done","output":"out/first.mp4","codec":"h264","frames":120,"width":1280,"height":720,"fps":30.0,"duration":4.0,"elapsed":2.258092472,"renderFps":53.14219921813724,"draft":false}
```

That `done` event is what an agent reports back: where the file is, how long it is, and its size.

## What's in 0.1

The first release covers what most short-form programmatic video needs:

- **Layers:** rectangles, ellipses, polygons, stars, arcs, SVG paths and polylines with draw-on, text (wrapping, gradients, outlines, stagger, typewriter), images including sharp SVG, video, audio, groups with clipping, captions from SRT, VTT or Whisper JSON with word highlighting, and a waveform/spectrum layer.
- **Animation:** keyframes, tweens, Remotion-compatible springs, 30+ easings, `=expressions` with noise and wiggle, enter/exit presets, and `series` groups with transitions.
- **Composition:** reusable compositions through `use` layers with their own props, `{{prop}}` templating with `--props` overrides, and camera motion blur.
- **Output:** MP4 (H.264/H.265), WebM and ProRes with alpha, GIF, PNG sequences and audio-only files, through `ffmpeg`.

If you know Remotion, most concepts carry over: a `<Composition>` is an entry in `compositions`, `<Sequence>` is `start` and `duration` on any layer, `<TransitionSeries>` is a group with `"series": true`. The [Remotion mapping](https://vidmake.app/docs/remotion.md) covers the rest.

## Getting started

Install it, then let `vidmake init` write a working project to start from:

```bash
vidmake init my-video
vidmake validate my-video/project.json
vidmake storyboard my-video/project.json -o storyboard.png
vidmake render my-video/project.json -o out/video.mp4
```

If you are an agent, or are setting one up, start with `vidmake docs`. It prints the complete format reference, the same text as the [reference page](https://vidmake.app/docs/reference.md), and `vidmake docs <topic>` prints one section. The [agent guide](https://vidmake.app/docs/agents.md) describes the loop above in more detail, and [/llms.txt](https://vidmake.app/llms.txt) indexes this site for language models.

- [Installation](https://vidmake.app/docs/installation.md) vidmake itself, plus `ffmpeg` for video and audio.
- [Quickstart](https://vidmake.app/docs/quickstart.md) From `vidmake init` to an MP4 in five minutes.
- [Inspecting](https://vidmake.app/docs/inspecting.md) Timeline, storyboard, inspect and trace in depth.

We built vidmake because we wanted our own agents to make video without a human checking every frame. We're interested to see what yours make with it.
