Skip to content

Lemo-Opuscar Explained: 99 Film Styles for Claude Code in Pure Code

Deep dive into Lemo-Opuscar: 99 code-driven film styles for Claude Code using Canvas, WebGL2, Kokoro TTS, Whisper ASR checks, and FFmpeg -14 LUFS muxing.

Hoang Yell
Hoang Yell
12 min read
Tiếng Việt
Lemo-Opuscar Explained: 99 Film Styles for Claude Code in Pure Code

Ask a coding agent to build an animated explainer from scratch in bare HTML5 Canvas or React, and watch your hopes die on frame one. Even when the code compiles cleanly, the output looks like an awkward 2008 PowerPoint slide deck: stiff linear slides, deafening bass synth, captions flashing away before a human finishes the third word, and zero cohesive color grammar.

On the opposite side, generative diffusion video models like Sora, Kling, or Runway paint gorgeous textures, right up until you need to fix one misspelled product label or tweak a chart number. Re-rolling a single caption burns dollars in GPU (graphics processing unit) compute and randomly mutates the entire camera angle.

lemomo-ai/lemo-opuscar bridges that exact craft gap. Instead of inventing a new cloud video model or forcing you to write film-school instructions from zero, it hands Claude Code 99 battle-tested STYLE.md directing bibles paired with a deterministic rendering, audio DSP (digital signal processing), and broadcast mastering pipeline.

TL;DR

Fast Breakdown:

  • What is Lemo-Opuscar? An open-source film production toolbox and Claude Code plugin containing 99 programmatic film styles across 15 categories, where the agent directs, writes deterministic Canvas/Three.js code, synthesizes audio, verifies speech with Whisper, and masters MP4 video via FFmpeg.
  • Core Breakthrough: Replaces brittle prompt luck with strict cinematography specs (STYLE.md), reading-speed checks (readcheck.mjs), word-level ASR (automatic speech recognition) verification (asr_check.py), and two-pass -14 LUFS audio mastering (mux.sh).
  • Key Trade-Off: Producing one 30 to 60-second film burns 30 to 60 minutes of agent time at /effort high and demands Node 20+, Python 3.11+, and FFmpeg 7+.
  • Repository: lemomo-ai/lemo-opuscar on GitHub · MIT (Code) / CC BY-NC 4.0 (Docs) · 20,600+ Stars.

Visual Architecture (Mental Model)

Handing an LLM a blank HTML file for video production is like telling a solo developer to build an indie cinema studio out of raw lumber before filming scene one. Lemo-Opuscar hands the agent a pre-rigged soundstage: 99 physical lighting blueprints on the wall, a cue-locked foley workshop, an automated speech prompter that catches mumbled lines, and a ruthless mastering engineer guarding the exit door.


The Problem: Why Blank-Canvas AI Video Looks Like Slides

Developers already proved agents can render frames with code via frameworks like Remotion or HeyGen’s HyperFrames. Yet most first-time programmatic videos still look amateurish because rendering pixels deterministically is only 20% of filmmaking. The remaining 80% lives in pacing, camera grammar, sound foley, and typography hold times.

Lemo-Opuscar solves this by codifying taste into 99 dense STYLE.md engineering blueprints spanning 15 visual categories: from Watercolor Brush and Blueprint to LiDAR Survey, 80s Cel Anime, and CRT ASCII Terminal. Open styles/cel-anime-80s/STYLE.md and you will not find vague adjectives like “make it nostalgic.” You read hard implementation constraints: paint static backgrounds once at load with paired emissive glow plates, step character cels on twos (12 fps) and lip flaps on threes (8 fps) while keeping camera pans smooth at 24 fps, use colored ink outlines instead of pure black, and never draw gradients inside a cel shape.

Even more striking is DIRECTOR.md, the agent’s mandatory production playbook. Before writing a single canvas draw call, the agent must draft TREATMENT.md with three candidate story structures, a second-by-second beat sheet, a music cue map, and a foley table, explicitly before peeking at the reference DEMO.md source code so it never clones the demo’s plot.

This combination of pure code precision and pre-baked aesthetic taste explains why the repository exploded past 20,600 GitHub stars in two months across the Fable 5.2 and Opus 5.5 ecosystem:

X.com
I make a new animation every day now, these 18 GitHub repos are my secret this is f*cking gold for Fable 5.2 and Opus 5.5 users Launches. Explainers. Demos. Motion. VFX. Taste. huashu-motion → launch films that write their own music http://github.com/alchaincyf/huashu-motion anything2explainer → pick a topic, get a narrated explainer http://github.com/Vincentwei1021/anything2explainer OpenScreen → screen recordings that look like polished demos http://github.com/getopenscreen/openscreen onetake → the whole piece in one unbroken camera move http://github.com/feitangyuan/onetake Lemo-Opuscar → 99 film looks your agent can shoot in code http://github.com/lemomo-ai/lemo-opuscar EffectCraft → a full VFX toolkit you never pay for http://github.com/storytold/effectcraft GSAP → timelines that make every move smooth http://github.com/greensock/GSAP Three.js → 3D shots straight from a web page http://github.com/mrdoob/three.js Blender MCP → Claude does the heavy 3D lifting in Blender http://github.com/ahujasid/mcp-for-blender ComfyUI → the AI image engine behind your shots http://github.com/Comfy-Org/ComfyUI HyperFrames → build in HTML, deliver as video http://github.com/heygen-com/hyperframes Remotion → videos you can edit like a web page http://github.com/remotion-dev/remotion Remotion Skills → your agent learns video the official way http://github.com/remotion-dev/skills Impeccable → a final polish pass on every frame http://github.com/pbakaus/impeccable Taste Skill → gives your agent a real sense of style http://github.com/Leonxlnx/taste-skill Hallmark → no AI look, ever http://github.com/Nutlope/hallmark Open Design → your own AI design studio, no subscription http://github.com/nexu-io/open-design FFmpeg → exports a clean MP4 every time http://github.com/FFmpeg/FFmpeg Topic → script → motion → score → export. Bookmark this, then the guide below shows how to make your first animation ↓

Under the Hood: Single-Timeline Engine and Self-Checking Audio

Strip away the 99 style folders and Lemo-Opuscar’s core engine in core/ is clean, opinionated, and refreshingly hackable. Instead of forcing React bundlers or heavy GUI timelines, every film lives in a self-contained folder with an index.html exposing five JavaScript globals:

window.DUR = 54.2;                    // Total duration in seconds
window.READY = true;                  // Flipped once fonts and assets load
window.EV = [{ t: 1.5, type: "click" }]; // Audio foley trigger timeline
window.TEXTS = (t) => [{ id: "h1", text: "Hello", x0: 80, y0: 90, x1: 420, y1: 150 }];
window.render = (t) => { /* Deterministic draw at second t (no Math.random/Date.now) */ };

Every subsystem reads from that exact contract:

  1. Multi-Worker Chromium Capture (core/render/video.mjs): Rather than burning time encoding uncompressed PNGs, video.mjs spawns up to 6 headless Chromium workers (playwright-core), calls window.render(f / FPS) on each slice, pipes quality: 95 JPEG screenshots directly into ffmpeg (libx264, -crf 14), and concatenates segments losslessly via -f concat -c copy. Film grain is explicitly banned inside Canvas because frame-by-frame random noise wrecks encoder bitrate; mux.sh applies deterministic grain during final encoding instead.
  2. Automated Reading-Speed Gate (core/render/readcheck.mjs): Agents love flashing text cards for 0.8 seconds. readcheck.mjs steps across window.DUR querying window.TEXTS(t) and fails with exit code 1 if any title disappears faster than (cjk / 4.5) + (latin / 15) + 1.5 seconds or clips outside viewport boundaries.
  3. Self-Verifying TTS & DSP Music (core/tts/asr_check.py, core/audio/): For narration, Lemo-Opuscar runs Kokoro ONNX offline for English (af_bella, am_michael) or Microsoft edge-tts online for Chinese. Then asr_check.py pads 0.6 seconds of silence around every .wav, runs faster-whisper, and fails if even one word drifts. In the 80s Cel Anime demo (City Lights, 1987), Whisper kept mishearing "Launch is at dawn", forcing the author to rewrite the script line to "The launch is at dawn" until asr_check.py exited 0. Meanwhile, sampler.py renders orchestral scores from CC0/CC-BY libraries (VSCO 2 CE, Salamander Grand Piano), pluck.py synthesizes folk strings via Numba-accelerated Karplus-Strong (physical string vibration synthesis), and sfx.py builds 48 kHz procedural foley mapped directly to window.EV.
  4. Broadcast Mastering (core/render/mux.sh): Runs a two-pass EBU R128 loudnorm filter targeting -14 LUFS (integrated broadcast loudness standard) followed by a 4x oversampled 192 kHz true-peak limiter at -1.6 dBFS. If lossy AAC encoding introduces inter-sample peaks above -1.0 dBTP, mux.sh lowers the limiter ceiling and re-encodes audio up to three times automatically.

Install the plugin directly in Claude Code or clone the toolkit in three lines:

# Install via Claude Code plugin marketplace
claude plugin marketplace add lemomo-ai/lemo-opuscar
claude plugin install lemo-opuscar@lemolab

# Inspect style dependencies & initialize local runtime (~350 MB core tier)
sh ~/.claude/plugins/cache/*/lemo-opuscar/scripts/setup.sh deps
10 GitHub repos that make motion designers optional for your next launch video (no After Effects needed): 1. lemo-opuscar: 59 film styles for Claude Code. Every demo is pure code from Opus 5.5. No video model (8.9k stars) http://github.com/lemomo-ai/lemo-opuscar 2. openfilm: ask Claude Code or Codex for a film. Then edit any shot in a local browser editor (3.3k stars) http://github.com/openfilm/openfilm 3. ffmpeg-skill: 42 FFmpeg tools for your agent. Cuts, captions, reframes. No cloud, no API keys (3.1k stars) http://github.com/kajisho5/ffmpeg-skill 4. anything2explainer: topic in, narrated explainer video out. Voiceover, subtitles and a chapter bar included (2.8k stars) http://github.com/Vincentwei1021/anything2explainer 5. FreeVideo: runs MiniMax H3 on the computer you already own. As little as 8 GB of VRAM (2.4k stars) http://github.com/FlashML-org/FreeVideo 6. manimgx: math and 3D animations for agents. Manim's Python API on a Rust GPU core (2.3k stars) http://github.com/academa-labs/manimgx 7. video-talkcraft: voiceover explainers synced word by word. 109 motion recipe cards (1.9k stars) http://github.com/Vincentwei1021/video-talkcraft 8. huashu-motion: one line in, a launch film out. It writes its own music. Point at the frame to change it (1.8k stars) http://github.com/alchaincyf/huashu-motion 9. motion-video-kit: motion rules from 28 launch films. A critic loop reviews the cut (1.2k stars) http://github.com/echris6/motion-video-kit 10. motionmaxxing: turns AI slop videos into films that look made by a motion designer (1.1k stars) http://github.com/Tejashmakwana/motionmaxxing

The Rough Edges: Traps Behind the 20K-Star Showcase

Watch the polished showcase films on GitHub Pages and Lemo-Opuscar feels effortless. Open the terminal and read the issue tracker, and four operational traps emerge immediately:

1. The Ubuntu 24.04 ffmpeg 6.1 Hard Rejection

If you run default Ubuntu 24.04 apt packages, setup.sh and mux.sh refuse to run. TECHNIQUE.md and mux.sh line 34 hard-check for FFmpeg 7+ because 6.x misreports audio duration through loudnorm, causing the strict truncation check to reject valid mixes. You must drop a static FFmpeg 7 or 8 binary onto your PATH before rendering.

2. The LEMO_COLOR=bt709 Washed-Out White Bug (Issue #62)

Setting LEMO_COLOR=bt709 to standardize television color tags exposes a real pipeline mismatch documented in GitHub Issue #62. video.mjs encodes JPEG screenshots with -pix_fmt yuv420p, producing limited-range (16-235) frames without a color_range tag. Yet mux.sh’s bt709 branch assumes full-range input (scale=in_range=pc:out_range=tv), squeezing whites a second time from 251 down to muddy grey 229. Leave LEMO_COLOR unset for web playback, or re-expand range beforehand:

# Pre-expand video.mjs output before running LEMO_COLOR=bt709 (Issue #62 workaround)
ffmpeg -v error -y -i out/video.mp4 -vf "scale=in_range=tv:out_range=pc,format=yuvj420p" -c:v libx264 -crf 10 out/video_pc.mp4
LEMO_COLOR=bt709 sh core/render/mux.sh out/video_pc.mp4 out/mix.wav out/final.mp4 24 0

3. Heavy Token Burn, Time Cost, and Image-Gen Dependencies

Generating one finished short is not instant. Lemomo’s own README warns plainly: one film burns 30 to 60 minutes of wall-clock time and substantial tokens with Claude Fable 5.2 or Opus 5.5 at /effort high. Running lesser models breaks complex multi-layer canvas geometry or loses STYLE.md consistency. Furthermore, three styles marked with a star (✦: Text Flash Cuts, Comic History Cartoon, Manga Panels) refuse to start unless you supply an external image generator (codex exec or your own API via core/image/gen_image.py).

4. The 4-Tier Hybrid License (MIT vs CC BY-NC 4.0)

Following third-party commercial repackaging of v1 prompts, Lemomo moved v2.0.0 onto a nuanced 4-tier LICENSE:

  • Engine & Demo Code: Pure MIT.
  • Guides & STYLE.md Prompts: CC BY-NC 4.0, plus an explicit Additional Permission granting creators and client teams commercial rights to produce and monetize their own films (confirmed in Issue #67). Selling the prompt library or embedding STYLE.md docs inside a paid SaaS product requires a commercial license from SecondFirst Pty Ltd (LemoLab).
  • Exclusions: Anthropic’s orange mascot (Clawd in Mascot Screencast and OPUSCAR 98) and six online TTS narration tracks (Edge TTS / Doubao TTS) are explicitly excluded from reuse.

Decision Matrix: Lemo-Opuscar vs HyperFrames vs Remotion

Code-driven video is no longer a one-horse race. Choose your tool based on how much creative direction versus reusable template infrastructure your project needs:

Dimension Lemo-Opuscar HeyGen HyperFrames Remotion
Primary Interface 99 STYLE.md bibles + DIRECTOR.md skill Plain HTML/CSS + data-start clips React JSX components + Vite/Webpack
Audio & Foley Pipeline Built-in Kokoro TTS, Whisper ASR, DSP & -14 LUFS mux Manual audio placement + FFmpeg @remotion/media-utils / external
Target Operator Claude Code (Fable 5.2 / Opus 5.5 /effort high) Any coding agent or web developer Frontend engineering teams
First-Render Speed Slow (30-60 min agent session) Fast (1-5 min HTML synthesis) Fast once templates exist
Sweet Spot Bespoke narrative shorts & stylized explainers Clean UI product demos & PR videos High-volume parameterized SaaS batches

Adopt Lemo-Opuscar if: You want Claude Code to direct cohesive stylized short films with synchronized music, foley, and broadcast loudness without assembling a media stack yourself.

Skip Lemo-Opuscar if: You need instant 18-variant SaaS ad batches driven by JSON manifests (use Remotion), lightweight HTML/GSAP UI walkthroughs on budget tokens (use HyperFrames), or realistic human talking-head footage.


Final Take

Lemo-Opuscar proves that the secret to agentic filmmaking was never waiting for a smarter video diffusion model. It is forcing the coding agent to obey strict cinematography constraints, deterministic clocks, reading-speed gates, and broadcast audio checks before a single frame hits disk. Strip out the romanticism around “AI cinema” and what remains is disciplined systems engineering applied to storytelling.

Hands-On Challenge (15-Minute Test)

Test Lemo-Opuscar’s core deterministic verification loop locally without spending a single LLM token:

  1. Check your host binaries: verify node -v (>=20), python3 --version (>=3.11), and ffmpeg -version (>=7.0).
  2. Clone the repo using sparse checkout (sh plugin/skills/lemo-opuscar/scripts/setup.sh) so you avoid downloading 200 MB of gallery assets, then install the core dependencies (... setup.sh deps).
  3. Create a minimal folder test-clip/index.html defining window.DUR = 4, window.READY = true, window.render = (t) => ... drawing a moving progress bar on <canvas>, and window.TEXTS = (t) => ... returning a headline bounding box that disappears at t = 1.0s.
  4. Run node core/render/readcheck.mjs test-clip and watch it catch your unreadable headline with exit code 1, then bump the hold time past 3.0s until both readcheck.mjs and node core/render/video.mjs test-clip --fps 24 pass cleanly.

Frequently Asked Questions (FAQ)

1. Can I monetize YouTube or TikTok videos made with Lemo-Opuscar under CC BY-NC 4.0?

Yes. In LICENSE and GitHub Issue #67, LemoLab explicitly confirms that films you produce with the style library belong to you, including monetized creator channels and paid client deliverables, with zero required watermark or credit. The CC BY-NC 4.0 restriction targets commercial redistribution, reselling the STYLE.md prompt packs, or wrapping the docs into a commercial SaaS product.

2. Does Lemo-Opuscar require an expensive GPU or paid video API keys?

No for 96 of the 99 styles. Most scenes render 2D Canvas or WebGL2 through headless Chromium on CPU (or integrated laptop GPUs), use offline Kokoro ONNX voices, synthesize foley in NumPy/SciPy, and download free CC0/CC-BY instrument libraries. Only the three styles marked ✦ require an external image generator (codex exec or your own tool), and Chinese online voices use Microsoft edge-tts.

3. Why does Lemo-Opuscar insist on Claude Fable 5.2 or Opus 5.5 instead of smaller models?

Each STYLE.md combines multi-layer canvas compositing, seeded world-to-screen transforms, strict reading-speed invariants, and synchronized score cue tables across thousands of lines of code. Smaller or low-effort models frequently break deterministic frame math (Date.now() leaks), misalign lip-sync tracks, or fall back into generic flat slides.

4. Can I customize a style without overwriting upstream library updates?

Yes. Follow MY-STYLES.md to create modified or blank-page styles saved inside ~/lemo-my-styles/<slug>/. Library updates and claude plugin update commands leave ~/lemo-my-styles/ untouched and remind you once when an upstream base STYLE.md improves.

Related posts

yell@hoangyell:~ %

>hoangyell --status

Busy hanging out with family, cafe & AI ☕🤖

Did someone yell? Want to chat code or collab? Reach me on Instagram:

📸Open Instagram↗ esc to close