Traditional video editing often demands repetitive hours spent aligning cuts, captions, and audio timelines for clips lasting less than a minute. To eliminate this tedious overhead, developer Maham Sultana has released PolyCast, an open-source tool designed to treat video creation as a data-driven rendering problem rather than a manual timeline chore.
Automating Podcast Production with Data
PolyCast functions by transforming a script into structured data, allowing creators to define dialogue, speaker identities, and camera cues entirely through JSON files and configuration blocks. According to project documentation, the tool generates low-poly 3D podcast scenes featuring characters in a studio setting, complete with synchronized voices, dynamic camera cuts, burned-in captions, and custom screenshots displayed on virtual studio monitors. Released under the MIT license, the project aims to simplify the production of product launches, feature explainers, developer logs, and short-form content without requiring animation skills or traditional video editing software.
Inside the Rendering and Voice Pipeline
The rendering pipeline executes in a specific order, beginning with the script definition in a lines.json file. For audio generation, the tool integrates with Cartesia for studio-quality output, but automatically falls back to the computer's free built-in system voices if no API key is provided, enabling zero-cost operation. Once audio files are generated, the system maps word timings to drive realistic lip-syncing where character mouth movements follow the actual speech. The final visual assembly relies on Three.js running inside headless Chrome, capturing the scene frame by frame before muxing everything together with ffmpeg.
Claude Code Integration and Technical Prerequisites
A notable workflow feature is PolyCast's native support as a Claude Code skill. By cloning the repository into the local Claude skills directory, users can describe desired video concepts in plain language. Claude then manages setup checks, script generation, voice synthesis, scene direction, and final MP4 export. Operating the tool locally requires specific environment dependencies, including Node.js version 18 or higher, ffmpeg, and Google Chromium, Edge, or Google Chrome, with a built-in doctor script available to check and troubleshoot missing dependencies.
Analysis: The Shift Toward Deterministic Video Generation
The introduction of PolyCast highlights a broader trend toward programmatic media generation, where developers leverage existing web graphics libraries and browser automation to bypass heavy desktop applications. By choosing a frame-by-frame capture approach over real-time screen recording, the tool avoids common technical pitfalls like stuttering frames or timing drift caused by hardware performance fluctuations during capture. This guarantees that a given script will always yield a deterministic, identical video output regardless of the host machine's immediate load, a critical requirement for automated CI/CD pipelines or independent developers generating content at scale.
However, this deterministic reliability introduces distinct operational tradeoffs. Generating videos frame-by-frame is computationally intensive and inherently slower than real-time recording, with a standard 50-second 1080p video taking approximately five to ten minutes to render on a typical laptop. For solo founders, educators, and developers, this render time is easily offset by the elimination of manual editing, yet it underscores that browser-based headless rendering remains resource-heavy. Furthermore, as creators experiment with programmatic video, open questions remain regarding user experience design—such as whether a JSON structure or Markdown format provides the most intuitive interface for authoring complex multi-character scripts and camera directions.
Cover: Creative Tools · CC BY 2.0 · Wikimedia Commons. Layout and headline text by Signal Titans.
Source: I render videos frame by frame with Three.js in headless Chrome. Here is why · GitHub – mahamsultana/polycast · GitHub

Leave a Reply