Video is code.
Scenes are components with Flexbox, Grid and Tailwind. Edits are JSON with tracks, transitions and keyframes. Diff them, review them, regenerate them.
Agents write video as code. Valle checks it, shows them the frames, and renders it: programmatic video, natively, on your machine.
curl -fsSL https://openvalle.ai/install.sh | sh irm https://openvalle.ai/install.ps1 | iex Then give your agent the skill: npx skills add openvalle/valle · Other ways to install
Rendered by Valle from five source files. Click a frame to play it live.
Motion graphics are React-style components with Tailwind. Video edits are a JSON timeline. No editor to drive, no browser to screenshot. Just files an AI agent can write, check and render into an MP4.
export const composition = {
width: 1920, height: 1080, fps: 30, duration: 3,
};
export default function Title() {
const { seconds } = useCurrentTime();
const shown = interpolate(seconds, [0, 0.8], [0, 1], {
easing: "easeOutExpo",
});
return (
<View className="grid size-full place-items-center
bg-linear-to-br from-indigo-600 to-fuchsia-500">
<Text className="text-9xl font-black text-white"
style={{ opacity: shown }}>
Hello, Valle
</Text>
</View>
);
}
{
"canvas": { "width": 1920, "height": 1080, "fps": 30 },
"resources": {
"title": "title.motion.tsx",
"clip": "clip.mp4"
},
"tracks": {
"visual": [{
"items": [
{ "id": "title", "kind": "motion",
"component": "title", "duration": 2 },
{ "transition": "fade",
"inOffset": 0.4, "outOffset": 0.4 },
{ "id": "shot", "kind": "video", "src": "clip",
"trimStart": 0.5, "duration": 2.5 }
]
}]
}
} $ valle timeline check edit.timeline.json
135 frames, no problems
$ valle timeline render edit.timeline.json --storyboard -o sheet.png
12 frames drawn into sheet.png
$ valle timeline render edit.timeline.json -o edit.mp4
135 frames encoded into edit.mp4 in 1.5 s Scenes are components with Flexbox, Grid and Tailwind. Edits are JSON with tracks, transitions and keyframes. Diff them, review them, regenerate them.
An agent cannot watch a video, so Valle hands it frames: any frame as a PNG, or many on one storyboard. When something is wrong, check names the line and what to write instead.
$ valle motion check title.motion.tsx --json
{
"status": "error",
"message": "1 problem in 90 frames",
"problems": [{
"message": "title.motion.tsx:11:5: HTML tags are not supported: use <View> instead of <div>",
"first": 0, "count": 90
}]
} Valle's own engine, written in Rust, draws every frame on the GPU. No headless Chrome, no screenshots. The same input gives the same frame, every time.
The CLI, the renderer and Studio, an editor for people to watch and adjust the agent's work, in one executable. No cloud, no account.
Each one is a single source file of motion graphics code. Open them in your browser and Valle renders them live, the same engine compiled to WebAssembly.
One command. It downloads one executable, checks it and puts it on your PATH.
curl -fsSL https://openvalle.ai/install.sh | sh irm https://openvalle.ai/install.ps1 | iex Needed for video. Graphics and frames work without it.
brew install ffmpeg Linux and Windows → Then ask for a video. The agent writes the files, checks them, looks at the frames and renders.
npx skills add openvalle/valle “Make a 10-second launch video for our app.” Or download v0.1.4: macOS Apple silicon · macOS Intel · Linux x86_64 · Linux arm64 · Windows x86_64 · Windows arm64