← 开源

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.

ApplicationsContent creationJavaScript
增长势头
+4624 小时新增 Star+2.3%
2.02k
Star
204
Fork
+290
本周
13
贡献者
创建于 2026-07-28 · 更新于 2026-11-19 · 今日第 407 名
主要开发者
README

English · 한국어 · 日本語 · 简体中文 · 繁體中文 · Español · Français · Deutsch · Português (BR) · Русский

Block the shot in 3D, then generate it

Free, open source previs. Tell the agent the scene, set the camera and cuts,
then export a reference the AI video model follows.

Install CozyClay · cozyclay.org · Discord · Changelog


Left: CozyClay 3.3 previs. Right: the Seedance 2.5 take made from it.

Stepping stones Wheelbarrow ramp Subway breakdance

Top: previs. Bottom: the take. Full clips on cozyclay.org.

Why: a text prompt cannot hold a whole scene

AI video costs money per take, and one miss means paying again.

Make those decisions first, in 3D, where they are cheap to change. The video model then gets the shot as a reference video and a prompt read from the scene. It follows your blocking instead of guessing.

What a prompt cannot say Where you set it
Where everyone stands Stage
How they move Move
Where the camera is Shoot
When it cuts Shoot

How it works: stage, move, shoot, export

One scene, start to finish, the order a film crew works in: build the place, act it out, put the camera on it, then hand it to the video model.


1. Stage
Build the place and the cast. Tell the agent what is there, or put the blocks down yourself: buildings, props, lights and cube-figure actors.

2. Move
Say what happens, in a sentence. The agent turns it into motion, checks that feet stay planted and hands stay on what they hold, and puts it on the timeline. Props move with the actors.

3. Shoot
Decide what the audience sees. Add shots on the timeline, lay a rail for the camera to ride or follow an actor, and look through the lens to frame each one.

4. Export. Hand the shot to the video model. File › Export gives three files. Hold Alt (⌥ Option on Mac) for the keyframe pack, depth and normal stills, a storyboard sheet and an OTIO cut list.

Export What you get
AI video reference A mosaic-and-blur reference video and a prompt with each shot's action, in one zip
Depth The whole timeline as a depth video, smoke and glass included
Video The whole timeline as an mp4

New in 3.3: your camera and cuts, a person's own motion

A video model copies whatever the reference shows, stiff cube-figure poses included. The AI video reference export hides the figure and keeps the camera, the cuts and the blocking, so the model acts the scene in its own natural motion.


Previs staged, moved and shot in CozyClay · AI video reference one light mosaic frame in four, a moving blur between · Seedance 2.5 take same camera, same cuts, a person instead of a mannequin

  • AI video reference (zip). The reference video, a prompt.txt with each shot's camera move and cuts, and the scene as data. The agent that built the scene writes what happens in each shot and when.
  • Written by a model, built by an engine. Describe the action. A motion writer plans it, a deterministic engine makes every frame and checks foot slide, contacts and balance. Runs follow captured runners; jumps follow gravity.
  • Cube figures in a toon look. Characters are cube figures, drawn flat with black lines. The Studio opens on the stage with the agent beside it, and you bring your own ChatGPT, Claude or API key.
  • Undo anything. Every edit, including each change the agent makes, is one undo step.

Everything in 3.3 is in the changelog.

Direct it with AI: your agent builds the scene while you watch

The same scene can be driven from three places, live in the viewport. Bring ChatGPT, Anthropic, OpenAI, Gemini, MiniMax, OpenRouter or CLIProxyAPI.

Surface Start For
Agent panel Cmd/Ctrl+B in the studio Chat beside the viewport and watch each change land. Sign in with ChatGPT or use your own key; body motion runs on the same sign-in.
MCP server npx -y cozyclay mcp Claude Desktop, Claude Code, Cursor or any MCP client. The agent edits the scene in the studio you have open.
Terminal cclay live status --wait Coding agents that drive a running studio from the shell, JSON in and out.
{ "mcpServers": { "cozyclay": { "command": "npx", "args": ["-y", "cozyclay", "mcp"] } } }

Quick start

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/.

Never used a terminal? Download the app instead. The first start downloads CozyClay and can take a few minutes.

Asking an AI agent to set it up? Give it this repository link. Its instructions are in INSTALL_FOR_AGENTS.md.

Updating
  • When a release is out, the terminal prints one line and the studio shows an Update chip in the top bar (a source clone gets the line only). They name the step that fits how you installed and started CozyClay:

    Installed with Step
    npx cozyclay Quit it and run npx cozyclay@latest
    npm install -g cozyclay Update now in the chip, or npm install -g cozyclay@latest
    npm install cozyclay in a project npm update cozyclay in that project
    the installer or the desktop app Close CozyClay and open it again
    the store package Update it in the store
    a source clone git pull
    anything else Start it again the way you installed it, with cozyclay@latest
  • After npm install -g cozyclay, Update now asks the registry for the newest release and installs it. Restart now starts the new version in the same terminal. If CozyClay cannot restart from the studio, the chip says so and names the command.

  • On Windows the chip shows the command to copy instead. One-click update stays off there by design.

  • cclay update installs the newest release globally 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.

From source
git clone https://github.com/HaD0Yun/CozyClay.git && cd CozyClay
npm install
npm run dev     # http://127.0.0.1:5180/app/
npm test

Contribution rules are in AGENTS.md. Open pull requests against main. First-time contributors sign the CLA by commenting on their pull request.

Guides

Read For
Greybox to AI video Why a grey blockout is the most reliable input for a video model, and the block-then-generate loop
Seedance 2.5 camera control Getting the same camera on every take with a reference clip
Previs software compared Free, open source and browser-based previs tools side by side
Camera control for AI video Why camera prompts drift and what the models actually accept

Docs

Read For
INSTALL_FOR_AGENTS.md Install, run and connect, written for AI agents
docs/agent-cli.md cclay live, model providers, sessions
mcp/README.md MCP tools and the live protocol
docs/studio-ui-ia.md Every control and where it lives
docs/motion3-agent-guide.md The old motion engine (MCP, cclay live, COZYCLAY_MOTION_ENGINE=old): motion specs, compile and QA
docs/privacy.md Anonymous telemetry and how to turn it off (cclay telemetry off)
AGENTS.md Contribution rules

Agent skills

This repo ships an agent-agnostic plugin marketplace under .agents/plugins/: skills for browser previs (blocking, posing, cameras, cuts) and for driving the CozyClay MCP from a coding agent, plus a bundled .mcp.json that runs npx -y cozyclay mcp.

In agents that support .agents/plugins, add this repository as a marketplace and install the cozyclay plugin from it. The same plugin lives in plugins/cozyclay for hosts that read Claude Code or Codex manifests (for example /plugin install cozyclay --marketplace HaD0Yun/CozyClay). Deep install and run notes for any agent remain in INSTALL_FOR_AGENTS.md.

Block your first shot

Free, open source, and running in your browser in under a minute: npx cozyclay. Questions and takes go in the Discord. Found a bug or want a feature? Open an issue.

License

AGPL-3.0-or-later. See LICENSE, LICENSING.md and THIRD_PARTY_NOTICES.md. Made by Doyun at NomaDamas.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载