Superdirector Render Box
README.md
<h1 align="center">Superdirector Render Box</h1>
<p align="center">A render engine your AI agent can drive.<br>
Blender, FFmpeg, sound and vision models on your own machine, behind one HTTP and MCP service.</p>
<p align="center">
<a href="#the-films">Films</a> · <a href="#quick-start">Quick start</a> · <a href="docs/agents.md">Docs</a> ·
<a href="#skills">Skills</a> · <a href="#contributing">Contributing</a>
</p>
<a href="docs/films.md"><img src="docs/media/hero.webp" width="100%" alt="Moments from five of the films"></a>
We make films with agents at Superdirector. An agent can write a scene, but it needs somewhere to render it and a way
to check what came back, even the sound it cannot hear. Render Box is that place: run it on your laptop or a server,
connect Claude Code, Codex or Cursor, and every file comes back with a receipt of its SHA-256.
## The films
Each film is a script in [`examples/`](examples/README.md) to read, run and change with one edit. Nothing was filmed
or generated: the sets are Poly Haven's free scans, the animals move by code, and the music is free samples,
[credited here](THIRD_PARTY_NOTICES.md).
<table>
<tr>
<td width="50%" valign="top"><a href="examples/rain/README.md"><img src="docs/media/still-rain.webp" width="100%" alt="A raindrop crowns a rubber duck"></a><br><b>Rain</b><br>A rubber duck waits in a dry gutter for rain, and yellow boots reach the drain first.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/rain-720.mp4">Watch</a> · <a href="examples/rain/README.md">Tutorial</a></td>
<td width="50%" valign="top"><a href="examples/chain-reaction/README.md"><img src="docs/media/still-chain-reaction.webp" width="100%" alt="Two mice share the cheese by fallen dominoes"></a><br><b>The Chain Reaction</b><br>A mouse wants the cheese on a set trap, so it rolls a lime into eighty-five dominoes.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/chain-reaction-720.mp4">Watch</a> · <a href="examples/chain-reaction/README.md">Tutorial</a></td>
</tr>
<tr>
<td width="50%" valign="top"><a href="examples/the-iris/README.md"><img src="docs/media/still-the-iris.webp" width="100%" alt="A red balloon, an old camera and its photo"></a><br><b>The Iris</b><br>An old camera on a market stall wants somebody to look at it, and a lost balloon does.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/the-iris-720.mp4">Watch</a> · <a href="examples/the-iris/README.md">Tutorial</a></td>
<td width="50%" valign="top"><a href="examples/smoke-and-silk/README.md"><img src="docs/media/still-smoke-and-silk.webp" width="100%" alt="A moth flies at a candle as silk comes in"></a><br><b>Smoke and Silk</b><br>A moth leaps for a candle. Time slows forty times, and a silk curtain gets there first.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/smoke-and-silk-720.mp4">Watch</a> · <a href="examples/smoke-and-silk/README.md">Tutorial</a></td>
</tr>
<tr>
<td width="50%" valign="top"><a href="examples/courtyard-portal/README.md"><img src="docs/media/still-courtyard-portal.webp" width="100%" alt="A stone cat looks through a door at summer"></a><br><b>A Door Opens in the Courtyard</b><br>A stone cat on a winter step wants the warm light, and a door opens on summer.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/courtyard-portal-720.mp4">Watch</a> · <a href="examples/courtyard-portal/README.md">Tutorial</a></td>
<td width="50%" valign="top"><a href="examples/weather-in-a-jar/README.md"><img src="docs/media/still-weather-in-a-jar.webp" width="100%" alt="A small storm rains into a mouse's dish"></a><br><b>Weather in a Jar</b><br>A mouse wants a drink, and the only water in the house is a storm shut in a jar.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/weather-in-a-jar-720.mp4">Watch</a> · <a href="examples/weather-in-a-jar/README.md">Tutorial</a></td>
</tr>
<tr>
<td width="50%" valign="top"><a href="examples/hover-rally/README.md"><img src="docs/media/still-hover-rally.webp" width="100%" alt="One toy hovercraft pushes another up a dune"></a><br><b>Hover Rally</b><br>An old toy hovercraft stalls on a dune, and the new one that was winning turns back for it.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/hover-rally-720.mp4">Watch</a> · <a href="examples/hover-rally/README.md">Tutorial</a></td>
<td width="50%" valign="top"><a href="examples/one-day-of-tides/README.md"><img src="docs/media/still-one-day-of-tides.webp" width="100%" alt="A rowing boat afloat in a ship's wake"></a><br><b>One Day of Tides</b><br>A rowing boat is stranded on a mud bank until a passing ship's wake floats it.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/one-day-of-tides-720.mp4">Watch</a> · <a href="examples/one-day-of-tides/README.md">Tutorial</a></td>
</tr>
<tr>
<td width="50%" valign="top"><a href="examples/seed-world/README.md"><img src="docs/media/still-seed-world.webp" width="100%" alt="A dandelion clock lets its seeds go"></a><br><b>A World from a Seed</b><br>A dandelion seed sinks towards a puddle, and a gust puts it down where it can grow.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/seed-world-720.mp4">Watch</a> · <a href="examples/seed-world/README.md">Tutorial</a></td>
<td width="50%" valign="top"><a href="examples/the-last-train/README.md"><img src="docs/media/still-the-last-train.webp" width="100%" alt="A rat leaps the gap into an open train door"></a><br><b>The Last Train</b><br>A rat on a rainy platform waits where the doors always stop for the last train.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/the-last-train-720.mp4">Watch</a> · <a href="examples/the-last-train/README.md">Tutorial</a></td>
</tr>
<tr>
<td width="50%" valign="top"><a href="examples/storm-front/README.md"><img src="docs/media/still-storm-front.webp" width="100%" alt="A copper weathercock in a flash of lightning"></a><br><b>Storm Front</b><br>An old weathercock rusted fast to east, and the gust that breaks it free.<br><a href="https://github.com/enlightenanimation/render-box/releases/download/tutorial-films-2/storm-front-720.mp4">Watch</a> · <a href="examples/storm-front/README.md">Tutorial</a></td>
</tr>
</table>
[All the films and how to build them](docs/films.md)
## Quick start
There is no published image: build it from source. With Docker:
```bash
git clone https://github.com/enlightenanimation/render-box.git && cd render-box
docker build -f render/images/Dockerfile -t render-box:local render
docker run -d --name render --rm -p 127.0.0.1:8080:8080 --shm-size=2g \
-v render-data:/data render-box:local
export RENDER_KEY="$(docker exec render python3 -m render.cli key)"
```
The first build takes a while. Then open your agent in the repository and paste:
```text
Read docs/agents.md and docs/index/llms.txt.
Connect to Render Box at http://127.0.0.1:8080/render/mcp with the key in RENDER_KEY.
Make the poster from docs/first-render.md, and show me that its SHA-256 matches the receipt.
```
No Docker? [Run it from a Python checkout, or with pipx or uv](docs/first-render.md#install-the-engine);
[First render](docs/first-render.md) makes the same poster by hand.
## What it can do
43 operations: Blender, FFmpeg, Chromium, Typst, Manim, three.js and Godot for pictures and pages; SuperCollider,
Csound and FluidSynth for sound; whisper.cpp for speech; SAM 2.1, Grounding DINO and Depth Anything to see what is in
a shot. Every tool is pinned with its licence, and none bars commercial use. [The full list](docs/ml-models.md)
The models edit a shot you already have. These four frames come from Rain:
<table>
<tr>
<td width="50%" valign="top"><a href="skills/render-box-detect-track-depth/SKILL.md"><img src="docs/media/rain-cut.webp" width="100%" alt="A frame of Rain, the duck cut out, and its depth"></a><br>Type “rubber duck”: a matte for every frame, and the depth. Runs on a CPU.</td>
<td width="50%" valign="top"><a href="skills/render-box-cutout-inpaint/SKILL.md"><img src="docs/media/rain-fill.webp" width="100%" alt="A frame of Rain with the duck removed"></a><br>Take the duck and its reflection out; nothing outside the mask changes. Runs on a CPU.</td>
</tr>
<tr>
<td width="50%" valign="top"><a href="docs/ml-models.md"><img src="docs/media/rain-grade.webp" width="100%" alt="A frame of Rain, half graded to the last shot's look"></a><br>Show it a picture, get its look as a LUT. Hosted only.</td>
<td width="50%" valign="top"><a href="docs/ml-models.md"><img src="docs/media/rain-light.webp" width="100%" alt="A frame of Rain lit by a new warm lamp"></a><br>Add a lamp after the shoot, its light as a clip to mix. Hosted only.</td>
</tr>
</table>
Faces and voices too, with consent, each change handed back as its own file.
[The models and what their runs showed](docs/ml-models.md)
## What it can't do yet
- Directed voices, lip sync, grade matching, relighting, upscaling and smoother motion run only on the hosted
Render Box.
- Some of it is rough: lip sync follows a whisper weakly, a new lamp casts no shadows, upscaling invents detail,
and nobody has listened to the directed voices yet.
- Renders are deleted after 24 hours.
- Faces and voices need the documented consent of everyone whose face or voice is used or replaced; read the
[identity skill](skills/render-box-identity/SKILL.md) first.
## Skills
49 skills, one page each: when to use a tool, the exact calls, the traps, and how to check the result. Copy
`skills/` into your agent or point it at [`docs/index/llms.txt`](docs/index/llms.txt). Start with the
[premise skill](skills/render-studio-premise/SKILL.md).
An agent cannot hear, so the [sound skill](skills/render-box-audio/SKILL.md) draws a film's sound as a sheet it can
read. This is The Chain Reaction's: you can see the music stop as the last block rocks.
<img src="docs/media/sound-sheet.webp" width="100%" alt="The sound sheet of The Chain Reaction: cuts, beats, events, loudness and spectrum">
## How it works
Keys, worlds and renders live in one folder on your disk, and workers get signed links, never a key. A world is a
versioned set of files, so an edit redraws only what it reaches: change one number in Smoke and Silk and half the film
is reused, byte for byte. [How it works, and running it
safely](docs/self-hosting.md)
This repository is the open engine you run yourself, on a CPU. Our hosted Superdirector Cloud Render Box is a separate
service with its own tools, limits and price, used with a Superdirector account: it carries the heavier models, and
uses an NVIDIA L4 for Blender and some video and voice operations when one is free.
## Contributing
We would love a new operation, skill or film: [CONTRIBUTING.md](CONTRIBUTING.md) says how, and
[the first-render page](docs/first-render.md#when-something-goes-wrong) covers the usual snags and
[what it runs on](docs/first-render.md#what-it-runs-on). [Release notes](docs/release-notes.md)
## Licence
Render Box is under the [Apache License 2.0](LICENSE). Its files that run inside Blender use Blender's Python API, so
they are GPL-3.0-or-later and live in their own repository, [render-box-blender](https://github.com/enlightenanimation/render-box-blender); this one holds none of them.
`render setup --only blender`, the Docker build and `python3 render/blender_files.py examples` fetch them at a pinned
commit, each checked by SHA-256. The tools inside keep their own licences, listed in
[THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues