AI product Open source
motlab is a video-as-code engine and agent skill that builds editable canvas-scene videos from reference files and a brief. Each scene is an HTML canvas page with a `renderAt(t)` function; the viewer plays the real pages frame by frame, while headless Chrome uses WebCodecs to render the scenes to MP4 and ffmpeg joins the parts and adds audio. Users can annotate frames or time ranges in the viewer, with notes saved to `selection.json` for the agent to process, and can keep project versions side by side. It supports footage, transitions, music, voice, and exports from 720p through 4K; an accompanying `motlab-assets` skill creates reusable 2D and 3D asset kits. The CLI is distributed through npm and requires Node 24 or newer, Chrome or Chromium, and ffmpeg with ffprobe; it can install skills for several coding agents. The repository is licensed under MIT. motlab does not use AI image or video models: the agent writes the scene code and Chrome renders it.
1 use taken from transcripts — each links to the moment in the video.
A video engine that lets a coding agent turn screenshots, footage and a short brief into an editable video by writing each scene as code that draws to an HTML canvas, with box-and-note frame feedback and MP4 export with audio.
1 in the library.