CinePrompt & News Studio
Automated Video Production Engine
Sinhala-first automated video creation studio with Remotion programmatic rendering, Gemini AI narration, and typography layouts.

Overview
CinePrompt and News Studio represent a state-of-the-art programmatic video generation suite tailored for YouTube Shorts, TikTok, and news broadcast channels. The platform allows creators to start with a story blueprint, auto-generate Sinhala narration using Gemini AI, synchronize typography and audio waveforms, and render 60fps vertical and horizontal broadcast videos entirely in the cloud or local Docker containers.
Design decisions
The choices that shaped the system, and why.
- 1
Why Remotion instead of Adobe After Effects / Python MoviePy?
Traditional video editors require manual human intervention, while MoviePy lacks modern typography and layout primitives. Remotion enables composing videos using standard React components, CSS flexbox, and SVG animations, guaranteeing 60fps frame-exact programmatic rendering.
- 2
Sinhala Unicode Typography Engine
Standard video renderers frequently break complex Sinhala ligatures (kombuwa, ispilla). Implemented custom CSS font-face rendering pipelines and canvas text shaping to guarantee flawless Sinhala text rendering on vertical shorts.
- 3
Automated Audio Waveform Ducking
Built an audio analysis module in Web Audio API that dynamically ducks background music volume whenever Gemini AI voiceover narration is active.
Architecture
Remotion Video Rendering Pipeline
React components are mapped directly to video canvas frames, rendering complex motion graphics, text animations, and transitions with frame-level accuracy.
Gemini Content Engine
Automates scriptwriting, psychology quote generation, quiz card authoring, and phonetic Sinhala speech synthesis.
Multi-Track Audio Engine
Audio waveform visualization, automatic background music ducking, and sound effects (SFX) triggering.
Template Registry
Modular design templates for breaking news, literary quotes, viral quiz shorts, and educational lessons.
DevOps & deployment
Containerized with Docker Compose; easily deployed to AWS Lambda via Remotion Lambda for distributed parallel rendering of 60-second shorts in under 15 seconds.
How it ships · Single Docker image: Vite UI + Express API + Remotion renderer + ffmpeg
- 1npm ci with workspace manifests first (layer cache)
- 2npx remotion browser ensure
- 3Build UI + pre-bundle Remotion project
- 4Run as non-root node user with /data volume + healthcheck
Features
- Fully automated pipeline from text prompt to finished MP4 video render.
- Sinhala Unicode typography engine with specialized font rendering and word-level karaoke subtitle highlighting.
- Interactive timeline editor in Vite allowing real-time preview before rendering.
- Pre-packaged Dockerized production engine for headless rendering on cloud GPUs.
Screenshots
Related writing
More in Media & Creator Tools

Creator Tools
Transcript Maker
Flask and yt-dlp speech-to-text transcript alignment, SRT timing editor, and Sinhala translation suite.

Creator Tools
TuitionStudio & Sinhala Prompter Pro
High-performance browser teleprompter and video lecture production workspace engineered for Sinhala educators and creators.