vidmake v0.2.1
Download

Docs/GuidesPage 43 / 45

AI & LLM docs

Everything on this site is also published as plain Markdown, with an llms.txt index, a single-file llms-full.txt, a JSON Schema and a drop-in agent skill.

View .md Ask Claude Ask ChatGPT

vidmake is built for AI agents, and so are its docs. Every page you can read here has a Markdown twin that a model can fetch, quote and reason about without parsing HTML, and the CLI ships the same reference offline with vidmake docs.

#What's published

URLwhat it isuse it for
/llms.txtAn index of every page with one-line summaries, following the llms.txt conventionLetting an agent pick the pages it needs
/llms-full.txtAll docs pages and blog posts concatenated into one Markdown filePasting the whole manual into a context window
/docs/<page>.mdEach docs page as Markdown, e.g. /docs/text.mdFetching exactly one topic
/docs/reference.mdThe complete format reference, byte-for-byte what vidmake docs printsThe single most useful page for writing projects
/schema.jsonThe JSON Schema from vidmake schemaStructured output, editor validation
/ai/SKILL.mdA ready-made agent skill: when to use vidmake and the loop to followClaude Code and other skill-aware agents
/ai/AGENTS.mdvidmake's AGENTS.md: the loop and the rules, for agents that make videosDropping into a project that makes videos
/demos/<id>.jsonThe exact project behind every demo video on the siteFew-shot examples

In the Markdown versions, every rendered demo becomes its full JSON in a code block plus a link to the video, every CLI capture becomes a console block with the real output, and every link points at another .md file, so an agent can crawl the docs without ever touching HTML.

Each HTML page also advertises its Markdown twin with <link rel="alternate" type="text/markdown"> and has Copy as Markdown, View .md, Ask Claude and Ask ChatGPT buttons under its title.

#Offline: vidmake docs

The binary carries the full reference, so an agent never needs network access to learn the format:

vidmake docs presets
$ vidmake docs presets
## Presets: enter and exit

A layer *enters from* a state and *exits to* one; vidmake animates between that state and the layer as written:
```json
"enter": { "from": { "opacity": 0, "y": "0.3em", "blur": "0.15em" }, "motion": "snap", "delay": "@title" }
"exit":  { "to": { "opacity": 0, "scale": 0.96 } }
```
State properties: `opacity` (0..1), `x`, `y` (offsets: px, `"%"` of the parent, `"em"` of the font size), `scale`,
`scaleX`, `scaleY`, `rotate` (degrees), `blur` (px or em). Each may carry its own motion, so opacity can finish before
the move settles: `"from": { "opacity": 0, "y": { "value": 40, "motion": "bouncy" } }`.

| field | default | notes |
|---|---|---|
| `type` | | a preset (below); `from`/`to` adjust it: `{ "type": "fadeUp", "from": { "blur": 8 } }` |
| `from` / `to` | | the state (`from` for enter, `to` for exit) |
| `motion` | enter `smooth`, exit easeInCubic 0.4s | a motion token (see **Motion**); a bare easing keeps the default duration |
| `delay` | 0 | enter only: time after the layer starts (markers work) |
| `duration`, `ease` | from `motion` | override the motion's duration or curve |
| `distance` | | px, for the presets that move |
| `clip` | | `"line"` (text `enter` only): each line shows only inside its own box, so glyphs rise from behind it |
| `feather`, `edge` | | wipes: soft edge (px) and a band of color riding it: `"#2563eb"` or `{ "color", "width" }` |

**Presets** are named states: `fade`, `fadeUp|Down|Left|Right` (fade + a short move: 0.3em for text, 32px otherwise),
`slideUp|Down|Left|Right` (from off the parent), `rise` (text: up from behind its line, motion `snap`), `scale`, `pop`
(from 0, motion `bouncy`), `zoom` (from 1.2 and transparent), `blur`, `rotate`, `wipeLeft|Right|Up|Down` (reveal mask),
`typewriter` (text). `"enter": "fadeUp"` is `{ "from": { "opacity": 0, "y": "0.3em" } }`. Enter and exit combine
with your own animations.

vidmake docs with no topic prints everything; vidmake docs <topic> matches a section heading (animation, expressions, captions, presets, rendering, ...). An unknown topic lists the available ones.

#Give an agent the right context

For a one-off task, the shortest reliable prompt is:

text
Use vidmake to make the video. First run `vidmake docs` and read it. Give every layer an id.Validate, then render a storyboard and look at it before the final render.

For a project where an agent will make many videos, add the skill or AGENTS.md:

bash
mkdir -p .claude/skills/vidmakecurl -fsSL https://vidmake.app/ai/SKILL.md -o .claude/skills/vidmake/SKILL.md

The skill's description tells Claude when to use it; the body is the validate → storyboard → inspect → render loop.

#Structured output

vidmake schema prints a JSON Schema for project files (also at /schema.json). It is useful as a response format or tool schema, but it is deliberately permissive about animated values (any numeric field can be a number, a percentage, keyframes, a tween, a spring or an expression). vidmake validate is the real check: it compiles the project, resolves assets and fonts, evaluates expressions and lints the layout. See JSON Schema for editor setup.

#Why the CLI is agent-friendly

The docs only get an agent halfway; the other half is feedback. Every vidmake command that reports on a project accepts --json, errors name the composition, layer id and field, and unknown fields come with suggestions. The agent workflow page walks through the loop, and Inspect & debug covers each command in detail.

For agents

If you are an AI agent reading this page: fetch /docs/reference.md (or run vidmake docs), write the project with an id on every layer, run vidmake validate, then vidmake storyboard -o sb.png and look at the image before you call vidmake render.