HaD0Yun /CozyClay
Open source previs software in the browser: block a scene, pose characters, author camera moves and cuts, then take the same shots to an AI video model.
★ 1,895⑂ 212👁 20⑃ 786● 598▤ 37
-190
Daily
-128
Weekly
1,895
stars
212
forks
20
watchers
786
prs
598
issues
37
releases
README
English ·
한국어 ·
日本語 ·
简体中文 ·
繁體中文 ·
Español ·
Français ·
Deutsch ·
Português (BR) ·
Русский
Make the scene first. Then make it a video.
Open source previs in a browser tab: block the set, move the cast, cut the camera, hand the shot to an AI video model.
Try it in the browser ·
Quick start ·
Guide for AI agents ·
Docs ·
Changelog ·
Discord
Top: the greybox blocked in CozyClay. Bottom: the AI video made from it.
Same idea, a parkour jump: the blocking holds the timing and the camera.
Why
AI video costs money per take, and one miss means paying again. A text prompt cannot hold a
whole scene: where everyone stands, how they move, where the camera is, when it cuts.
CozyClay lets you make those decisions first, in 3D, where they are cheap to change. Then the video
model gets the shot as a first frame, a greybox reference clip and a prompt that describes the
real framing. It follows the blocking instead of guessing.
mermaid
flowchart LR
S["Stageset + cast"] -- M["Motionwritten + built"] -- C["Camerashots + cuts"] -- E["Exportframe · clip · prompt"] -- V["AI video model"]
Quick start
bash
npx cozyclay
That is the whole install. You need Node.js 22.19 or newer and a Chromium browser. You do not need
a GPU, Python or a model download. The studio opens at http://127.0.0.1:5180/app/.
Updating.
- npx cozyclay fetches the newest release on every run.
- After npm install -g cozyclay, the studio shows an Update chip in the top bar when a release is out. Update now installs it. Restart now starts the new version in the same terminal.
- On Windows the chip shows the command to copy instead. One-click update stays off there by design.
- cclay update does the same from the terminal.
- Turn the check off for one launch with --no-update-check or COZYCLAY_NO_UPDATE_CHECK=1. Turn it off for good with cclay update --off, and back on with cclay update --on.
Asking an AI agent to set it up? Give it this repository link. Its instructions are in
INSTALL_FOR_AGENTS.md.
What you can do
| | |
| --- | --- |
| Stage | Build the set from primitives and place point, spot and directional lights. Add rig characters, drawn as cube figures, or capsule stand-ins when nobody needs to move a limb. Fly the view like a 3D editor. |
| Move | Describe the action in the Agent panel. A second model, the motion writer, writes a motion spec, and a deterministic engine makes every frame and measures foot slide, contacts, balance and bodies inside props. The writer reads those numbers and contact sheets of the result before the take goes in. A motion can move props too. Runs and jumps follow captured human motion, sitting down, standing up and kneeling move the two legs apart, and a scene can hold a rope that is tied, draped, held and let go. It needs a model sign-in in the Agent panel. |
| Shoot | Put shots on a timeline, draw dolly rails in the Top-View, look through the lens. Turn a Top issues
#1386lowvis: standing poses can end off balance (opt-in balance assist)0 comments · 2026-11-27#1382Agent: turn Task mode off for everyone and hide its switch0 comments · 2026-11-27#1381Agent: Gemini (Google AI subscription) sign-in lane through the official antigravity-acp0 comments · 2026-11-27#1378The Studio agent can never export a shot video: every request is refused with CONFIRMATION_REQUIRED0 comments · 2026-11-27#1375Agent: test a key, server address or model the moment it is added, and say why it fails0 comments · 2026-11-27#1374agent: a failed ChatGPT sign-in refresh reads as upstream instead of asking to sign in again0 comments · 2026-11-27#1371Agent turns that changed nothing after refusals count as success0 comments · 2026-11-27#1370agent: split timeout, truncated and unknown out of the upstream failure code0 comments · 2026-11-27
Latest release
CozyClay v3.3.3 v3.3.3 2026-11-26Runs and jumps move like captured people, the two legs of a body fold apart, a scene can hold a rope, and a request to the Studio agent finishes sooner and costs less. Motion - A run follows captured runners of its speed: step rate, stride, the share of each cycle in the air, the pelvis path, the chest's turn and the arm swing come from gait curves by speed, the way a walk already works. A straight jog or run no longer dips the hips on single frames. (1361) - A body can leave the ground under gravity. launch, the word a prop already flies by, works for a body: a jump, a hop, a leap o