Skip to content

Text to vertical video in 100+ styles: AI codes each scene (HTML/SVG/WebGL), renders a 9:16 MP4 with music and English/Vietnamese voice. MCP, CLI and REST for AI agents.

README

LumReels: type your content, pick a style, AI codes the scene and renders a 9:16 video

English · Tiếng Việt

Browse the styles MIT Node 22+ MCP ready

LumReels turns a piece of text into a 1080×1920 vertical video in one of 100+ visual styles, with new styles added every week.
No stock footage and no drag-and-drop templates. The AI reads a written description of the style and codes a brand-new HTML/SVG/WebGL scene for your content. Then it renders an MP4 with music, sound effects and an English or Vietnamese voice-over.

Six videos made with LumReels: black hole, ten materials, risograph poster, nacre desert, PS1 low-poly game, long-exposure light trails
Black hole · Ten materials · Risograph poster · Nacre desert · PS1 low-poly game · Long-exposure light trails


What it does

🎬 100+ styles Faceless explainers, ads and mixed-media: cosmic shaders, low-poly 3D, paper cut-outs, 8-bit pixel art, risograph, terminal UIs… Each style is a text file (palette, fonts, layout, beat-by-beat timing), not a video.
✍️ AI writes the scene Claude writes a fresh scene for every piece of content, then checks its own preview frames and fixes what it sees. A Rewrite script button fits your text into the style's slots.
🔊 Sound included 6 music styles and ~30 sound effects, all synthesized and synced to the motion. English voices come from Kokoro and Vietnamese voices from VieNeu, both running locally with edge-tts as fallback. Mixed to −14 LUFS. Swap music or voice without re-rendering the picture.
🧩 Many styles at once Turn on Pick multiple, choose up to 12 styles, type your content once: one video per style (also POST /api/jobs/batch, --template 009,045, MCP templateIds).
🤖 Built for AI agents MCP server, CLI and REST. Claude, Codex or any agent can create a video, submit a scene, preview, render, schedule, and drop the MP4 into a Google Drive folder.
⏱️ 3 seconds to 10 minutes Type 90 or 1:30. Long videos are split into scenes, and every frame is a pure function of time, so renders are deterministic.
🔤 Typography that holds up 25 font families with full Vietnamese diacritics. Missing glyphs, overflowing text and tiny type are flagged before rendering.
✂️ Edit your own footage (beta) Drop in a talking-head clip you filmed and pick an edit style: LumReels transcribes it (Whisper large-v3, Vietnamese), lets Claude cut the pauses, false starts and retakes, then adds word-timed captions, punch-in zooms, a 9:16 reframe that follows your face, your music ducked under your voice and sound effects, mixed to −14 LUFS. Revise in plain words ("cut the first 3 seconds", "fewer zooms") without re-analysing. One-time setup: node edit/setup.mjs (Python 3.10–3.12, ~6 GB with the speech model). UI tab, node cli.mjs edit, REST /api/edits, MCP edit_video.

Style library

Grid of LumReels styles
Every style has been test-rendered with LumReels itself. Click to watch them with sound on reels.lumtek.net.

Install

Windows: one file, double-click

  1. Download LumReels-Setup.cmd (right-click, Save link as…) and double-click it.
  2. The installer checks for and installs what is missing through winget: Node 22+, ffmpeg, Google Chrome, Git (anything already there is skipped). It then fetches LumReels into %LOCALAPPDATA%\LumReels\app, runs npm install, adds a LumReels shortcut to the Desktop and Start Menu, and opens the app.
  3. On first launch the System check screen opens: paste an Anthropic key or sign in to Claude Code, then click Make your first video.

Or paste one command into PowerShell:

powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/lumtekvn/lumreels/main/install/windows/install.ps1 | iex"
  • No admin rights needed when a package has a per-user build (winget --scope user); Node and Chrome may ask for admin once.
  • The installer takes the latest release tag (v*); with no tag yet it uses main and prints a warning. Pin another version with -Ref v0.2.0 (tag, commit or branch).
  • Safe to re-run: an existing install only moves to that -Ref and runs npm install. Check only, install nothing: LumReels-Setup.cmd -DryRun.
  • Log: %LOCALAPPDATA%\LumReels\install.log. No winget on the machine: install App Installer from the Microsoft Store and run it again.
  • Uninstall: powershell -ExecutionPolicy Bypass -File "%LOCALAPPDATA%\LumReels\app\install\windows\uninstall.ps1". Rendered videos move to ~/.lumreels/backup-…; keys and voices in ~/.lumreels stay unless you add -Purge.

For maintainers: the installer only sees a new version once a v* tag exists on GitHub. To release: bump version in package.json, commit to main, then git tag -a v0.2.0 -m "LumReels 0.2.0" && git push origin v0.2.0. Use vX.Y.Z (the installer sorts by version, so v0.10.0 beats v0.9.0).

Manual install (macOS, Linux, or by hand on Windows)

You need Node 22+, ffmpeg and Google Chrome.

git clone https://github.com/lumtekvn/lumreels.git
cd lumreels
npm install      # copies three/gsap and 25 font families
npm start        # opens http://127.0.0.1:4400

npm start checks GitHub for a newer version first and offers to update (git pull + npm install when dependencies changed). The UI also shows a banner when an update is available. Skip with LUMREELS_SKIP_UPDATE=1, auto-accept with LUMREELS_AUTO_UPDATE=1.

Pick a style, type your content, choose length, music and voice, then hit Create video. The web UI is in Vietnamese for now; the API, CLI and MCP tools work with content in any language.

LumReels UI: style grid on the left; content, length and audio on the right

Which AI writes the scenes? LumReels picks the first one available:

  1. api: an Anthropic key (see below).
  2. claude: Claude Code installed and signed in (claude auth login).
  3. agent: neither, so the job waits for an outside agent to submit the scene over MCP/REST, then renders it.

If the Anthropic key is wrong or revoked (401/403) and Claude Code is available, an Auto job switches to Claude Code; otherwise the job fails with a plain message on how to fix it.

Anthropic key. Paste it in the app: System check → Paste your Anthropic key → Save and check (the app calls GET /v1/models, which costs no tokens, and tells you whether the key works). The key is stored in ~/.lumreels/credentials.json (move it with LUMREELS_HOME), readable only by your account (Windows icacls, macOS/Linux chmod 600), never written to the repo's .env, and never shown in logs or the UI beyond its last 4 characters. When several sources exist, LumReels uses:

  1. the key set in the app (~/.lumreels/credentials.json);
  2. the process environment variable ANTHROPIC_API_KEY;
  3. ANTHROPIC_API_KEY in the .env file in the LumReels folder.

Remove key from app falls back to 2 or 3 if present. Changing the key in the app takes effect immediately, no restart.

System check (GET /api/doctor) lists Node, ffmpeg, Chrome, free disk space, an AI scene writer (required) and the API key, Claude Code, voices, Git, Ollama (optional), each with a fix. It opens by itself on first launch when something required is missing; once everything required is there and you have no videos yet, a Make your first video card appears (template 009, vertical 9:16, 10 seconds, sample text included) that builds with one click.

Voice-over is optional. Music and sound effects need nothing extra.

pip install kokoro soundfile   # English voices, runs locally
pip install vieneu             # Vietnamese voices, runs locally
pip install edge-tts           # online fallback for both

Connect an AI agent

// claude_desktop_config.json, .mcp.json, or any MCP client config
{
  "mcpServers": {
    "lumreels": { "command": "node", "args": ["/path/to/lumreels/mcp/server.mjs"] }
  }
}

Tools include list_templates, rewrite_script, create_video, submit_scene, preview_job, render_job and set_audio. Try asking your agent: "Every morning at 7, take the latest news, make a 30-second video in style 009 and put it in my Drive."

node cli.mjs make --template 009 --content script.txt --duration 30 --at 2026-12-01T07:00
node cli.mjs make --template 009 --content script.txt --ratio 16:9   # 9:16 (default) · 16:9 · 4:3 · 3:4

How it works

content + style ──► PROMPT (style guidance + scene-authoring rules)
                     │
                     ▼
          AI writes scene/index.html ──► 16-frame preview + font check ──► AI fixes
                     │
                     ▼
   HyperFrames (headless Chrome) renders 1080×1920 @ 30fps ──► mix music · SFX · voice ──► out.mp4

Each scene is an HTML page that declares VideoScene.define({ duration, render(t) }). Every frame is a pure function of t, so DOM, SVG, Canvas, WebGL shaders and Three.js all render frame-exact.

Docs

The detailed docs are in Vietnamese for now. Machine translation handles them well, and the code and CLI flags are self-explanatory.

docs/CHI-TIET.md .env options, job lifecycle, full CLI/REST/MCP reference, folder layout, audio, adding a new style
docs/HUONG-DAN-KET-NOI-AGENT.md Connecting Claude, ChatGPT/Codex, scheduling, Google Drive export (with screenshots)
engine/AUTHORING.md Scene-authoring rules for the AI (or for you)
templates/GUIDANCE-SPEC.md The 12-section format for describing a style

License

MIT. Rendering by HyperFrames (Apache-2.0); fonts under OFL; English TTS by Kokoro (Apache-2.0). The repo ships no reference videos. Each style is only a written description, and all on-screen text comes from your content. Third-party licenses: THIRD_PARTY_NOTICES.md.

Made by Lumtek · Vietnam