Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Lingelov1.4.0In 1 marketplace
Turns a written brief into an MP4, WebM, GIF or MOV motion video, with synced sound effects, music, voice-over and subtitles. Renders frame by frame with a virtual clock, so output is reproducible. Setup installs Playwright and ffmpeg automatically on first run if missing. Voice-over uses local TTS engines.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
video-rendering, motion-design, animation, html-animation, voice-over, subtitles
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Motion design as code for Claude Code: Claude writes the video like a web page (HTML, CSS, SVG, Canvas 2D/WebGL, WAAPI, GSAP…), then a renderer films it frame by frame in headless Chromium and encodes it with ffmpeg, with sample-accurate synced sound (synthesized sound effects + analyzed music), voice-over and subtitles.
No real-time capture (Playwright's recordVideo = variable 25 fps, compressed WebM): time is
virtualized, each frame is computed exactly, the render is reproducible to the pixel.
{
"enabledPlugins": {
"motion-studio@dojo": true
}
}
Only prerequisite: Node ≥ 18 + npm. On the first /motion-video (or first render), scripts/setup.mjs
detects what exists and installs only what is missing into ${CLAUDE_PLUGIN_DATA}
(~/.claude/plugins/data/motion-studio-…, kept across updates, removed on uninstall):
| Need | Reused if present | Otherwise installed automatically |
|---|---|---|
| Browser automation | the project's or global playwright / playwright-core | playwright-core (npm, ~10 MB) |
| Browser | Playwright's Chromium (cache shared with the Playwright MCP), installed Chrome or Edge | Chrome Headless Shell (~100 MB) |
| Video/audio encoding | ffmpeg on the PATH, imageio-ffmpeg, FFMPEG_PATH | ffmpeg-static (static libx264/AAC/VP9/Opus binary, macOS/Linux/Windows, ~70 MB) |
First run on a clean machine: ~20 s. Then < 1 s (result remembered in env.json, revalidated on every
render).
node plugins/motion-studio/scripts/setup.mjs # install / repair
node plugins/motion-studio/scripts/setup.mjs --check # diagnosis only
| Variable | Role |
|---|---|
MOTION_STUDIO_HOME | dependency folder (default ${CLAUDE_PLUGIN_DATA}, or --home) |
MOTION_STUDIO_NO_INSTALL=1 | never install automatically |
MOTION_STUDIO_ISOLATED=1 | ignore system installations |
CHROMIUM_PATH | browser to use |
FFMPEG_PATH | ffmpeg to use |
PIPER_MODEL | Piper voice (.onnx) to use for the voice-over |
Only case that cannot be automated: Linux without Chromium's system libraries →
sudo npx playwright install-deps chromium (setup says so).
What about the Playwright MCP? It is not suited to rendering: each frame would be a tool call going through the model (1,920 calls for 8 s), with no init script for the virtual clock and no stream to ffmpeg. It stays useful to explore a page; and if it already downloaded Chromium,
setup.mjsreuses it.
/motion-video 6-second intro for our product, 16:9, dark background, orange accent, SVG logo provided
Workflow: brief → (voice-over) → storyboard (timed beats) → HTML composition → control stills read by Claude → quick draft → final render → frame check. Claude talks to you in your language; the texts in the video follow the language you ask for.
node plugins/motion-studio/scripts/render.mjs composition.html [options]
-o out.mp4 | .webm | .gif | .mov --fps 60 --duration 8
--motion-blur 4 --scale 2 --transparent --audio music.mp3
--stills 0.5,2,4 --sheet [cols] --from 2 --to 5 --jpeg --crf 16 --seed 42 --quality draft|standard|high
--beats beats.json --lufs -14 --cues cues.json --no-sfx
--voice voice.json --duck -9 --subs f.srt --captions bottom|karaoke|center|off --embed-subs
node plugins/motion-studio/scripts/sfx.mjs list | <sound> -o x.wav | bed --bpm 120 --duration 8
node plugins/motion-studio/scripts/audio.mjs analyze music.mp3 # tempo, beats, onsets
node plugins/motion-studio/scripts/voice-setup.mjs [install kokoro|piper|edge|espeak] [--lang en] # voice engines
node plugins/motion-studio/scripts/voice.mjs narration.json -o voice/ # voice-over + subtitles
node plugins/motion-studio/scripts/inspect.mjs out.mp4 [--frames 2.1,3.6 -o check/] # duration, fps, LUFS, frames
How it works, for each frame:
performance.now, Date, requestAnimationFrame,
setTimeout/setInterval and Math.random (seeded) with a virtual clock;t (due timers, then one rAF tick), window.__seek(t) is called if it exists;t − birth, SVG SMIL through
setCurrentTime, <video> through currentTime;Page.captureScreenshot → PNG pipe → ffmpeg (H.264 bt709 crf 16, VP9, palette GIF,
ProRes 4444);tmix), supersampling = deviceScaleFactor + Lanczos downscale.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub lingelo/dojo --plugin motion-studioPlugins from other owners that cover similar ground