Galle, LK--:--5/6 sites live
Creator ToolsFeatured

CinePrompt & News Studio

Automated Video Production Engine

Sinhala-first automated video creation studio with Remotion programmatic rendering, Gemini AI narration, and typography layouts.

Read the deep dive Private repository
CinePrompt & News Studio

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. 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. 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. 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

  1. 1npm ci with workspace manifests first (layer cache)
  2. 2npx remotion browser ensure
  3. 3Build UI + pre-bundle Remotion project
  4. 4Run as non-root node user with /data volume + healthcheck
How I ship my projects

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

Fig 1 · Premium Sinhala story reel — rendered preview
Fig 2 · Content workspace with scene list and docked inspector
Fig 3 · Vertical quiz Short — question frame
Fig 4 · Guided story studio: Script → Photos → Voice → Export
Fig 5 · Template library with psychology and health reels
Fig 6 · Template studio canvas editing a single scene
Fig 7 · Caption timeline synced to narration
Fig 8 · Gemini text-to-speech narration panel
Fig 9 · Batch workspace queueing several renders
Fig 10 · Long-form studio for 16:9 videos
Fig 11 · Premium template redesign — animated frame and title card
Fig 12 · Sinhala typography rendered frame-exact by Remotion
Fig 13 · Professional Sinhala cover frame
Fig 14 · Heritage series cover — Sigiriya
Fig 15 · Landscape quiz — answer reveal
Fig 16 · Long-form landscape render frame

Related writing