Aideos turns markdown scripts into narrated explainer videos as data, rendering 16:9 landscape films and 9:16 vertical reels with Remotion and TypeScript.
Aideos is an autonomous explainer video engine that turns structured screenplays into complete, high-production animated videos. Rather than treating video as opaque video clips on a manual timeline, Aideos represents every explainer video as pure, serializable data: a continuous 2D spatial canvas, a mathematically derived camera trajectory, declarative SVG vector animations, and an audio-first timing clock.
From a single script, Aideos produces two synchronized deliverables:
- 16:9 Landscape Film (1920x1080 @ 30 FPS): High-resolution explainer for YouTube, desktop monitors, documentation, and technical courses.
- 9:16 Vertical Companion Reel (1080x1920 @ 30 FPS): Concise companion cut for mobile feeds, YouTube Shorts, TikTok, and Instagram Reels.
Both formats share the same visual canvas, scene motion, and typography, reframed cleanly with format-safe zones. Every render appends the configured like-and-subscribe end card (6 seconds for Long and 3 seconds for Reel); its copy, handle, and timing are set in aideos.config.json. The end card is compulsory and cannot be turned off for a film, and every video also needs music and sound effects: delivery is refused with a plain message until it has all three (see Compulsory finishing steps).
Traditional video editors (Premiere, DaVinci Resolve, Final Cut Pro) are built for manual clipping and keyframing. For technical explainers, this workflow creates serious friction:
- Timeline Drift: If you revise a technical explanation by adding two words, every subsequent cut, title, transition, and caption on your timeline slips out of sync.
- Dual-Format Overhead: Reformatting a 16:9 landscape video into a 9:16 vertical reel usually requires a separate editing project, manual repositioning of graphic cards, and manual re-timing of subtitles.
- Opaque Project Files: Binary project files cannot be inspected by language models, diffed in Git, or validated against design rules.
Aideos solves this with Video as Pure Data:
- Audio-First Timing: Speech synthesis locks the master timeline. Every shot duration, camera move, and visual transition is pegged to the exact millisecond timestamps of the spoken narration.
- Derived Camera Motion: Viewport centers, zoom factors, and bounding boxes are solved from coordinates on a continuous spatial canvas. No manual panning keyframes.
- Dual Deliverables from One Manifest: The companion reel reframes the identical scene stage, maintaining continuity and legibility across both formats.
- Programmatic Validation: Every film is validated by strict schemas, pacing rules (maximum hold durations, breather intervals), and deterministic quality review rubrics before export.
- Technical Educators & Engineers: Create deep-dive explainers for algorithms, distributed systems, neural networks, and cloud architectures with clean typography and technical diagrams.
- Developer Advocates & Open Source Maintainers: Keep documentation videos version-controlled, up to date with product releases, and reproducible directly from code.
- Content Creators: Produce paired widescreen YouTube explainers and mobile vertical reels from a single source of truth without double editing.
- AI Engineers & Autonomous Workflows: Integrate script-to-video pipelines via CLI or Model Context Protocol (MCP) server endpoints.
- Audio-First Master Clock: Narration is the single source of truth for time. Pluggable speech backends (My voice via the local
vcdvoice-clone service is the voice of choice and the default; offline Kokoro-82M ONNX, Google Cloud TTS and macOS say exist only for the captain's explicit choice) synthesize narration per shot. Silence trimming and sample-domain assembly guarantee that visual transitions align to speech within +-50ms. - Word-Level Kinetic Subtitles: Phrase-locked captions reveal words in sync with voiceover audio, using active semantic theme tokens. Caption placement can be repositioned and locked per format in the Studio preview.
- Aideos Studio Web Editor: Interactive web app (React 19 + Tailwind CSS + Remotion Player) running locally. Features 4 dedicated stages: Words (script) authoring, Look styling with Ask, Non-linear multi-track Cut (edit) with caption words, and Check (gates, fix list and Export). When it detects a concurrent film change, it offers the choice to keep the open version or use the newer version.
- Non-Linear Timeline Geometry: OpenShot-grade timeline with transaction-grouped edits, magnetic ripple editing (toggle via
Rkey), sticky boundary snapping, audio waveforms, and atomic undo/redo (Cmd + Z). - Soundtrack Mixing & Voice Activity Ducking: Multi-track audio mixer uses a shared voice activity timeline for music ducking and review measurements. Audio assets and sound effects are cached and hash-locked (
aideos audio fetch,aideos audio verify). See soundtrack mixing. - Configurable End Cards: Automatically appends a branded like-and-subscribe card (6 seconds on Long, 3 seconds on Reel; handles and copy set in
aideos.config.json). The end card is compulsory and cannot be turned off for a film. - Condensed Reel Cut Delivery: When long-form narration exceeds the 179-second vertical delivery limit, Aideos builds a condensed narration cut with kept shots, locked phrases, and motion floors (
aideos reel brief,aideos reel check,aideos reel build). - Automated Quality Review: Deterministic video review measuring cuts, stillness, caption coverage, contrast, and layout persistence (
npm run review), paired with optional Gemini 3.8 Flash multimodal review (aideos gemini-review) and automated repair loops (aideos all-check). - Local Stable & Updating Channels: Independent local checkouts keep stable production separate from active development, as documented in docs/RELEASES.md.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1. SCREENPLAY INTAKE β
β β’ Natural language topic -> LLM director drafts structured Claude script β
β β’ Or your own story as plain paragraphs (#Start, #Conclusion markers ok) β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β Script Markdown
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 2. AUDIO-FIRST TIMING ENGINE β
β β’ Synthesizes speech per segment via My voice (vcd), the voice of choice β
β β’ Normalizes audio (-16 LUFS) and aligns word timestamps β
β β’ Writes voiceover.wav, captions.vtt, and voiceover_words.json β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β Master Timing Spine
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 3. SEMANTIC VISUAL SELECTION & SPATIAL CANVAS β
β β’ Selects visual blocks (LayerStack, MatrixGrid, StatCounter, TokenStrip) β
β β’ Computes continuous 2D coordinates (x, y, w, h) and directed graph edges β
β β’ Derives smooth camera trajectories and enforces pacing rules β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β Authoritative film.json
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 4. REMOTION RENDER ENGINE & STUDIO β
β β’ Real-time interactive preview in Aideos Studio (localhost:3001) β
β β’ Headless render: 16:9 Long (1920x1080) & 9:16 Vertical Reel (1080x1920) β
β β’ Audio loudness mastering, contact sheets, and deterministic review β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Node.js: v22.5 or higher (required for
node:sqlite) - FFmpeg: Required for audio normalization, waveform extraction, and video mastering
- Operating System: Linux or macOS
Clone the repository and install root and editor dependencies:
git clone https://github.com/Mani212005/aideos.git
cd aideos
npm installThe repository skips onnxruntime-node's Linux CUDA download because Aideos runs Kokoro on the CPU. To opt in during installation, set npm_config_onnxruntime_node_install_cuda=true.
Start the interactive web editor:
npm run editorOpen http://localhost:3001 in your browser. The editor lets you inspect scenes, scrub the timeline, reposition captions, and review films.
Films are narrated with your cloned voice (the voice of choice). Start the local vcd voice service with vcd serve (it listens on 127.0.0.1:8740 only), or, from another machine, open an SSH tunnel to the Linux service: ssh -N -L 8740:127.0.0.1:8740 <the Linux machine>. If the service is not reachable a run fails with a plain reason and never switches voice; no one may switch to another voice without the captain's word. Tests need no service: they use a deterministic fake that reports the same voice. See Voice of choice.
Render the active video package to MP4:
# Render 16:9 landscape explainer film (videos/<slug>/renders/long.mp4)
npm run render
# Render 9:16 vertical companion reel (videos/<slug>/renders/reel.mp4)
npm run render:reelIn the studio, clicking Export opens the export dialog (Start, real frame progress, Cancel, and an explicit Download button).
To use the aideos command globally from any directory:
./scripts/install_aideos.shThis symlinks bin/aideos to ~/.local/bin/aideos. Ensure ~/.local/bin is in your PATH.
Let the autonomous director draft a screenplay, synthesize audio, layout scenes, and render both formats end to end:
aideos direct "Why attention scales quadratically in transformers" --broll --formats long,reel --final-exportIf you have written a script in videos/<slug>/script.md:
npm run backend -- film \
--script-file videos/my-video/script.md \
--title "My Video Title" \
--slug my-video \
--broll --formats long,reel --final-exportWithout --final-export, aideos film and aideos direct stop after the assemble stage with a draft film you can preview in the studio.
Populate background music and sound effects in the shared audio cache:
aideos audio fetch
aideos audio verifyRun deterministic quality checks against the Good Video rubric:
# Deterministic rubric review (checks persistence, contrast, pacing, captions)
npm run review -- my-video
# Multimodal video evaluation with Gemini 3.8 Flash (9.0+ quality bar)
aideos gemini-review videos/my-video/renders/long.mp4The Aideos Studio (editor/) is a web application built with React 19, Tailwind CSS, and @remotion/player:
| Stage | Name | Key Functionality |
|---|---|---|
| 1 | Words | Story-first paragraph authoring, collapsible visual notes, visible change list, per-line TTS voiceover, and terminal agent auto-prompting. |
| 2 | Look | Look planning inspection (design/look.json), the shots with their artwork, the film accent and background, and Ask: one box under the shot picture that sends a change to the agent. |
| 3 | Cut | Non-linear multi-track timeline, magnetic ripple editing, linked audio-video trimming, movable captions, and caption word editing in the clip panel. |
| 4 | Check | The 6 hard gates and the 9.0 bar from acceptance.json, a fix list, and Export (Start, Cancel, Download). |
Aideos is currently an early pre-release (version 0.5 planned). The engine, rendering pipeline, and Studio editor are fully functional and actively used, but data schemas, APIs, and CLI commands may evolve before version 1.0.0.
Aideos supports a dual-channel release architecture to protect valuable production projects:
- Dev Channel (
aideos-dev): Runs from your active Git checkout on branchmain(default port 3001). This channel receives daily features, experimental flags, and fixes. - Stable Channel (
aideos/aideos-stable): Runs from a separate, clean clone pinned to an approved release tag (default port 3002). Stable has its own isolatedvideos/folder and dependencies, preventing development changes from touching existing projects.
To promote a release from dev into stable, run:
npm run release -- 0.5.0 --acceptance /path/to/prepared-filmPromotion requires passing full CI, dual-format production, measured rubric reviews, Gemini evaluation, and an interactive human watch confirmation. See docs/RELEASES.md for detailed setup and rollback workflows.
- Film Schema & Data Types: Authoritative Zod schemas and TypeScript types (
Film,Shot,Block,Soundtrack). - Web Editor Architecture: Studio frontend design system, timeline drag machine, and stage specifications.
- Production Pipeline Reference: Stages from intake to render, resume behavior, and MCP tools.
- Video Production Workflow: Design axioms, 7-rule pacing gate, and complete CLI command table.
- Local Release Channels: Setting up stable clones, release promotion, and rollback.
- Director Screenplay Guide: Screenplay authoring rules, tags, and LLM director prompts.
- Video Review & Rubric: 12-criterion Good Video rubric, measured facts, and Gemini evaluation.
- Reference Study:
aideos study, numbers-only reference measurement with two-method agreement and a look seed proposal. - Reference Compare:
aideos compare, a labelled REF vs OURS contact sheet and a metric diff of agreed deltas, numbers only. - Audio Library & Soundtrack: Soundtrack mixing, dynamic music ducking, and cache verification.
- Video Design System: Token palettes, contrast requirements, and motion easing specs.
- Vector Scene Engine: Declarative SVG animation clips, scene stages, and continuous camera tracks.
- Verification Skill: Reusable verification workflow (E2E, property, differential, protected suites, independent review, and evidence logs) backed by the Feature Map.
- Decision Log: One file per owner or agent decision with its context, reasons, rejected alternatives and pull requests.
Traditional video editors store video as static media slices on a timeline. Aideos treats video as code and structured data: an infinite 2D canvas with continuous camera paths, declarative SVG animations, and audio-first synchronization. When you revise your script, Aideos recalculates timeline durations and subtitle alignments automatically.
No. The 9:16 Vertical Reel is compiled from the same canvas, camera, and visual scene data as the 16:9 Landscape Film. If the film is under 179 seconds, it reuses the long narration directly. If longer, Aideos condenses the script to fit mobile limits while preserving key hooks, numbers, and decisive visual moments.
Yes. Speech synthesis defaults to your local cloned voice (vcd on 127.0.0.1:8740, supporting English and Hindi/Hinglish), which is the voice of choice for every film. Offline Kokoro-82M ONNX and macOS say exist only as explicit choices that need the captain's word. Screenplays can be authored by hand in markdown, and rendering uses local Remotion and FFmpeg. Paid API keys (Google Gemini, Claude) are only required when using autonomous LLM director drafting or automated multimodal video reviews.
The synthesized narration audio track serves as the master clock for the film. Total shot durations must sum to the voiceover length within +-50ms. When dialogue changes, narration is stored per line by content fingerprint (voiceover_lines/) so only changed lines are re-recorded. The synthesizer updates the audio spine, measures exact word boundaries, and retimes all camera transitions and subtitle reveals accordingly.
Yes. Launch npm run editor to open Aideos Studio. You can drag concept nodes on the 2D spatial canvas, reposition caption cards directly in the video preview, scrub and trim clips on the multi-track timeline, adjust themes, and check the 6 hard gates and export in the browser.
This project is licensed under the MIT License: see the LICENSE file for details.
