Skip to content
depak7Public

About

Kinetic Studio turns prompt into a motion-graphics video: script → look → frames → scene-by-scene animation → render. You approve each step, and you can change any scene in words (ask the AI), with sliders (its settings block), or in code.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Kinetic Studio

Code → video that looks designed, not generated.

Write a one-paragraph brief and Kinetic Studio turns it into a motion-graphics video: script → look → frames → scene-by-scene animation → render. You approve each step, and you can change any scene in words (ask the AI), with sliders (its settings block), or in code.

It's built on HyperFrames (HTML + GSAP → MP4) and the Claude Agent SDK. Rendering is a solved problem. Code-made video looks cheap because of weak scripts, no art direction, crammed pacing, and scenes animated in isolation, and that's the part this project works on.

What's in it

  • Studio web app (web/): a step-by-step flow with a live preview, a scene editor (Ask / Adjust / Code), music with beat-synced cuts, and "Make many" (batch videos from a table of data, downloaded as a zip).
  • Instant rough cut: a no-AI preview of your script in about 15 seconds, in any look.
  • Motion kit (kit/): eases that feel hand-tuned in a graph editor, masked line reveals, character cascades, odometer counters, trim paths, velocity-matched seams, grain and vignette.
  • Six curated looks (looks/) and two bundled examples (examples/), which you can open read-only or duplicate and edit.
  • director skill (.claude/skills/director): the same workflow for use straight from Claude Code, without the web app.

Run it locally

You need Node 22+ and FFmpeg. HyperFrames downloads its own headless Chrome.

cd web
npm install
npx hyperframes browser ensure       # one-time headless Chrome download
cp .env.example .env.local           # add your ANTHROPIC_API_KEY
npm run dev                          # http://localhost:3000

If ANTHROPIC_API_KEY isn't set, the agent falls back to this machine's Claude Code login. That only works in development. The app checks Claude, FFmpeg, Chrome and storage on startup and shows a banner explaining how to fix anything that's missing.

Projects are stored in ~/.kinetic-studio/projects/. Set ANIM_DATA to put them somewhere else. Every option is listed in web/.env.example.

Run it with Docker

docker build -t kinetic-studio .
docker run -p 3000:3000 -e ANTHROPIC_API_KEY=sk-ant-... -v kinetic-data:/data kinetic-studio

The image includes FFmpeg and headless Chrome, and it's linux/amd64 only because Chrome's headless shell has no arm64 Linux build. On Apple Silicon it runs under emulation, which is slower. Projects are written to the /data volume.

Use it from Claude Code (no web app)

claude                                   # in this folder
> make a 15s teaser for <thing>, dark and punchy

The director skill asks you to approve the script, the look, the frames, and each animated scene. To work by hand instead:

node scripts/new-video.mjs my-video      # scaffold videos/my-video
cd videos/my-video
npx hyperframes preview                  # Studio: scrub, edit settings
npx hyperframes check                    # lint + layout + motion + contrast
npx hyperframes render -q high -o renders/final.mp4

Costs

AI steps run on your Anthropic account. Rough costs per step with Opus at high effort: script ~$0.06, look ~$0.14, frames ~$1.4–2.0, each scene ~$0.3–1.6. You can lower KINETIC_EFFORT / KINETIC_SCENE_EFFORT or set a cheaper KINETIC_MODEL. Rough cuts, edits made with Adjust or Code, and renders don't use AI.

Security

Briefs are untrusted input. The agent has no shell, its file tools are restricted to the project folder, and its only other tools are a small set of studio tools. If you host this for other people, add authentication and rate limits first. Neither is built in yet.

Layout

Path What
web/src/lib/engine/ The engine: stages, agent runner, prompts, sync, music, batch, jobs
web/src/components/ Studio UI, one panel per step
kit/ Motion library copied into every project
looks/ Curated looks (palette, type, motion personality)
examples/ Bundled read-only example projects
.claude/skills/ director (ours) plus vendored HyperFrames skills
videos/showcase/ An early hand-built example

CLAUDE.md has the architecture notes and the hard-won rules. Read it before changing the engine.

License

MIT, see LICENSE. The vendored HyperFrames skills in .claude/skills/ are Apache-2.0, see .claude/skills/HYPERFRAMES-NOTICE.md.

About

Kinetic Studio turns prompt into a motion-graphics video: script → look → frames → scene-by-scene animation → render. You approve each step, and you can change any scene in words (ask the AI), with sliders (its settings block), or in code.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages