Make and edit videos with ultrafast, a GPU video engine where a video is a JSON document. Covers social clips, explainers, titles, captions, lower thirds, charts and data videos, promos, motion graphics, 3D and shader looks, and edits of existing footage, exported as MP4, ProRes or WebM (transparent where needed), GIF, PNG or EXR sequences or sound alone, at any size from 720p to 4K. Use when someone asks for a video, an animation, motion graphics, captions burned into a clip, a GIF, a transp...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ultrafast?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ultrafastmov-ultrafast)
---
name: ultrafast
description: Make and edit videos with ultrafast, a GPU video engine where a video is a JSON document. Covers social clips, explainers, titles, captions, lower thirds, charts and data videos, promos, motion graphics, 3D and shader looks, and edits of existing footage, exported as MP4, ProRes or WebM (transparent where needed), GIF, PNG or EXR sequences or sound alone, at any size from 720p to 4K. Use when someone asks for a video, an animation, motion graphics, captions burned into a clip, a GIF, a transparent overlay or an MP4/MOV/WebM export, or when you are changing an ultrafast document (a .json with "version", "format", "nodes" and "output"). Works through the ultrafast MCP tools (names start with ultrafast_) or the `uf` command line.
license: Apache-2.0 OR MIT
compatibility: Needs the ultrafast MCP server (local `uf mcp`, or a remote one over HTTP) or the `uf` CLI on a machine with a Metal or Vulkan GPU.
metadata:
homepage: https://ultrafast.mov
docs: https://ultrafast.mov/docs/
version: "0.3.0"
---
# ultrafast
ultrafast renders video on the GPU from a JSON document: a `format` (size,
fps, duration), `nodes` (each an op with params, inputs and timing) and the
`output` node. You write the document, check it, look at its frames, fix
what `review` finds, then export. Never describe a video you have not
looked at.
## Pick the surface
1. **MCP tools** (`ultrafast_new`, `ultrafast_check`, `ultrafast_sheet`, ...)
are available: use them, even with a shell at hand. A sandboxed shell
(Codex's, for one) may not see the GPU, and `uf` there renders on the
CPU, many times slower.
- Local server (`uf mcp`): tools take a document `path` on this machine.
Absolute paths are safest; a relative one resolves against your project
folder. Results name files by absolute path: tell the person those.
Edit with `ultrafast_edit` or by writing the file; the server reloads it.
- Remote server (HTTP): tools take the whole `document` inline, and it
renders on that server. Unless the person asked for that server, tell
them before the first call that sends their document there, and wait
for their yes. Pass the document `ultrafast_edit` returns to the next
call. Media inside it are `asset://` ids or https URLs, never local
paths. `ultrafast_export` returns a download link.
2. **No tools, but a shell**: run `uf --version`. If it prints a version, use
the CLI (`uf` and `ultrafast` are the same command).
3. **Neither**: tell the person how to install or connect ultrafast
([setup](references/setup.md)). Don't pretend to render.
## The loop
| step | MCP | CLI |
|---|---|---|
| start | `ultrafast_new` (`vertical`, `title`, `square`, `promo`, `explainer`, `product`, `illustrated`) or write the JSON | `uf new promo film.json` |
| vocabulary | `ultrafast_ops` (every op on one line), `ultrafast_ops {"ops": ["text", "captions"]}` for their params, `ultrafast_ops {"pack": "illustrated"}` for illustrated films, `{"pack": "NAME"}` for a pack of finished drawings | `uf ops --index`, `uf ops text captions`, `uf ops --pack illustrated` |
| check and look | `ultrafast_look` (a frame of every shot; `shot`, `at`, `motion`, `part` for closer; `changed` after every edit) | `uf look film.json`, `--shot`, `--at`, `--motion`, `--part`, `--changed` |
| | on a remote server: `ultrafast_check`, then `ultrafast_sheet` and `ultrafast_frame` | |
| find | `ultrafast_inspect` (what is on screen at `t`, and which node) | `uf inspect film.json --at 2.5` |
| change | `ultrafast_edit` (atomic edit batch; `look: true` shows what changed, before and after) | edit the file, or `uf edit film.json edits.json`, then `uf look film.json --changed` |
| review | `ultrafast_review` (`safe: "social"` for vertical video) | `uf review film.json --safe social` |
| cost | `ultrafast_estimate` with the export settings (rendered minutes, GPU seconds) | `uf estimate film.json --size 4k` (`--memory`: GPU memory and the workers that fit) |
| watch it whole | `ultrafast_export` with `preview: true` | `uf preview film.json` |
| export, once | `ultrafast_export` (settings below) | `uf export film.json film.mp4 --quality high` (long: `--background`, then `uf wait film.mp4`) |
| many versions | `ultrafast_batch` (one video per row of data) | `uf batch film.json --data rows.csv --out 'out/{name}.mp4'` |
Rules:
- **Read the op before you use it.** Params are exact: look up any op you
haven't used in this session with `ultrafast_ops` (`ops: [...]`, several
in one call).
- **Check until clean.** Fix every error and warning a look (or `check`)
reports.
- **Look before you speak.** Look at the whole film after the first draft, and
at what changed after every edit (`changed`: before and after, side by
side). Compare it with what was asked: words, timing, framing, contrast,
nothing cut off or empty.
- **Don't render the final film to find out what is wrong with it.** Looks and
the preview show the same frames for a fraction of the time. Make every
change first, then export once. If something does need fixing afterwards,
run the same export again: only what changed is rendered.
- **Don't sit and wait.** `ultrafast_export` returns after 200 seconds with how
far it is; call it again to go on waiting (`uf wait film.mp4` does the same).
You can look at other frames meanwhile.
- **Review before export.** Fix every finding and review again until it
reports none. Each finding names a node, a time span and a fix. If you
keep one deliberately, say which one and why.
- **Report what you made**: the file or link, size, duration and the review
result. Show a frame or the sheet when the person can see images.
- **A refused export stops the job.** When a tool call is refused (an
approval policy, or the person said no), say which one and why, and stop.
Don't make the video some other way (FFmpeg, a script): it skips check and
review, and it isn't what was asked for.
- **Many variants** (a name, a price, a language per file): make one
document, review it, then batch it with one row per video, instead of
writing many documents. Each row sets `node.param` keys (and
`format.width`, `format.height` for another shape); every row is checked
before anything renders. Another *resolution* of the same shape is an
export setting (`size`), not another document.
## Export
The format follows the output's extension; the settings are the same in
`ultrafast_export`, `uf export` flags (`--quality high`) and the HTTP API.
| want | settings |
|---|---|
| the whole film to watch, quickly | `preview: true` (`uf preview film.json`) |
| the deliverable | the defaults: H.264 MP4, `quality: "standard"` |
| an upload that gets re-encoded (YouTube, social) | `quality: "high"`, and `size: "4k"` when it should be 4K |
| a master for editing or archiving | `.mov` with `codec: "prores"` (`prores_profile: "hq"` by default), `quality: "master"` |
| a transparent overlay for an editor | `.mov`, `codec: "prores"`, `alpha: true` (ProRes 4444) |
| a transparent video for a web page | `.webm`, `alpha: true` (VP9) |
| compositing (Nuke, After Effects) | a PNG or EXR sequence: `out` a folder (`frames/`) or `frames/{frame:05}.exr`, `alpha: true`; the sound lands beside it as `audio.wav` |
| a GIF | `.gif` with `size: "480p"` and `fps: 15` (it gets large fast); `loops: 0` plays once |
| a smaller modern file | `codec: "hevc"`, or `codec: "av1"` (MP4 or WebM) |
| the sound alone | `.wav`, `.mp3`, `.m4a`, `.flac` or `.opus` |
- `size` (`720p`, `1080p`, `1440p`, `4k`, or `WxH` of the same shape) renders
at that size, sharp; it is not an upscale. `720p` means the short side, so
a vertical film stays vertical. `scale: 2` doubles it.
- `fps` changes the frame rate; the film plays at the same speed.
- Transparency needs a document without a full-frame background: drop the
`bg` node (or make it transparent), and check a frame with `alpha: true`
(`uf render --alpha`): frames are otherwise shown as the MP4 shows them,
black wherever nothing is drawn.
- Settings that don't go together (alpha in an MP4, ProRes in an MP4, a GIF
at 60 fps) are refused before anything renders, with the fix in the
message.
- Estimate with the same settings first when the render is big:
`ultrafast_estimate {"size": "4k", "quality": "high"}`.
## The document
```json
{
"version": 1,
"format": { "width": 1080, "height": 1920, "fps": 30, "duration": 8,
"motion_blur": { "samples": 6, "shutter": 0.5 } },
"nodes": {
"bg": { "op": "gradient", "params": { "kind": "radial", "a": "#2b2250", "b": "#0b0a12" } },
"title": { "op": "block", "params": { "kind": "title", "kicker": "SATURDAYS", "title": "Learn the wheel" },
"timing": { "offset": 0.3 } },
"comp": { "op": "over", "inputs": ["bg", "title"] },
"finish": { "op": "grain", "inputs": { "source": "comp" }, "params": { "amount": 0.06 } }
},
"output": "finish"
}
```
- `nodes` is a map of id to node. A node is `op`, `params`, `inputs` (other
node ids on named ports) and optional `timing`. `output` names the last
node.
- Composite with `over`: its `inputs` are the layers, bottom first, each
over the ones before it (`["bg", "title", "logo"]`: one node for the
whole stack). The templates chain two-layer overs,
`{"fg": "title", "bg": "bg"}`, the only form before ultrafast 0.3.0.
Effects take a `source`; cut between shots with `transition` (`a`, `b`,
`at`, `duration`, `kind`).
- Any param can be animated. A key is `[t, v]` or `[t, v, ease]`
(the templates write `{"t", "v", "ease"}`, which reads the same):
`{"keys": [[0, 0, "out_expo"], [0.8, 1]]}`,
`{"wiggle": ...}`, `{"oscillate": ...}`, `{"audio": ...}` or
`{"expr": "0.5 + 0.5 * sin(t * 3)"}`.
- `timing`: `in`/`out` (when it shows), `offset` (when its own keys start),
`speed`, `loop`. Outside its window a node costs nothing. A clock reaches
inside a component, but not into a plain node's inputs.
- Times are seconds; positions and sizes are pixels in the frame; colours
are hex (`#rrggbb` or `#rrggbbaa`).
- Files (footage, images, fonts, audio, SVG) are relative to the document.
Details: [references/document.md](references/document.md).
## Making it look good
- **Blocks first.** `block` gives a finished, animated `title`,
`lower_third`, `quote`, `stat`, `chapter`, `end_card`, `bar_chart`,
`line_chart` or `donut` in one node. Place it in time with
`timing.offset`, and restyle it with `ink`, `accent`, `display_font` and
`scale`.
- **Lay out with `stack`**, not hand-computed positions. It measures what it
holds.
- **Type**: any Google Font by family name; `*word*` in `text` takes the
`em_` params (colour, font) for accent words. Variable fonts animate their
axes.
- **Cuts**: `transition` nodes (crossfade, dip, wipe, push, slide, iris,
zoom, dissolve, glitch, blur), and land them on the beat (`ultrafast_beats`).
- **Finish**: `grain` (0.05 to 0.09) on almost everything; often `bloom`
and `vignette`; `grade` for footage.
- **Motion**: ease arrivals with `out_expo` or `{"bezier": [0.16, 1, 0.3, 1]}`;
use `spring` or `out_back` for things that land with weight. Turn on
`motion_blur` in the format for anything that moves fast.
More patterns, each one checked and reviewed:
[references/recipes.md](references/recipes.md). Whole documents to start
from: [examples/](examples/).
## Footage, sound and captions
- `video` plays footage (`src`, `fit: "cover"`, `start`, `speed`, `rect`);
`image` shows stills and sequences; `svg` and `lottie` stay vector (put
translucent SVG art on the film with an `over` in `srgb` space to match
a browser).
- `clip_camera` turns a landscape talking-head clip into a framed vertical
one: it tracks faces in the footage and follows the speaker with eased
pans and cuts (`src`, `start`, `duration`).
- `audio` mixes sound into the export (`src`, `start`, `gain`, `from`).
Footage plays silent unless an `audio` node uses the same file.
- `captions` animates word timings (`src`: Whisper-style JSON, `.srt` or
`.vtt`; or inline `words` as lines of `start end word`). Use `style`
karaoke, pop, reveal or plain. They stay clear of the social apps' buttons
on vertical frames by default (`safe: "auto"`).
Over footage, give captions a `background` (e.g. `#000000b0`) or a
`stroke_outline`, or review will flag them as unreadable.
- `ultrafast_voiceover` speaks a script to WAV and writes word timings for
`audio` + `captions` (local server).
## Mistakes to avoid
- Blocks use light type by default. On light backgrounds set `ink` (and
`accent`), or they vanish.
- Long values in a `stat` block, or long labels, run off a vertical frame.
Keep them short; review catches it.
- Generators (`solid`, `gradient`, `noise`, shaders) fill the whole frame.
Crop or transform them to make panels.
- On 9:16, keep text out of the bottom 20% and right 12% (the apps'
buttons). `review` with `safe: "social"` checks this.
- Don't invent params: unknown or misspelled ones are reported by `check`,
with suggestions.
- Node ids are unique; an edit batch applies all or nothing.
## References
- [references/document.md](references/document.md): the document format in full.
- [references/illustrated.md](references/illustrated.md): drawn films (people who act, lit scenes, weather, cameras with depth). Read it before you start one.
- [references/recipes.md](references/recipes.md): tested patterns (vertical promo, captions over footage, explainer with a chart, beat cuts, voiceover).
- [references/setup.md](references/setup.md): install `uf` and connect Claude Code, Claude Desktop, Codex, Cursor, Antigravity CLI, Gemini CLI or a remote server.
- The op list comes from `ultrafast_ops` or `uf ops --index`, and every
param of every op from `uf ops --markdown`. The JSON Schema comes from `uf schema` and is published at https://ultrafast.mov/schema/v1.json.