Skip to content

Marketing: AI video creation

VidGen Studio

AI short-form video

Beta testing62%33 of 53 launch items done

Next milestone: Payments switched on and the companion app's store records created

Tech stack & architecture

Built with

LayerTechnology
Web appReact 18 with TypeScript, built with Vite; React Router; Lucide icons
Phone appExpo SDK 58 (React Native 0.88, React 19) with Expo Router and TypeScript, one codebase for iPhone and Android
BackendFirebase Cloud Functions (Node.js 22), 94 server functions, with background task queues for long renders
Database and filesCloud Firestore and Cloud Storage
Sign-inFirebase Authentication: email and password, Google, Apple
Screen captureA Cloud Run job that drives a phone-sized headless browser
Video assemblyffmpeg on the server: joins shots, mixes voice and music, burns in captions and hooks
AIGoogle Gemini (scripts, website reading, judging, picture checks, voices), Gemini image model (stills), Veo (video shots, including talking presenters), Lyria (music), Speech-to-Text Chirp 3 (transcripts)
PaymentsStripe on the web; RevenueCat with Apple and Google in-app purchases in the phone app
HostingVercel for the website; Firebase for the backend; EAS (Expo) for phone builds

How it fits together

flowchart LR
  U[Person on web or phone] --> W[Web app<br/>vidgenstudio.app]
  U --> M[Companion phone app]
  W --> F[Cloud Functions]
  M --> F
  F --> DB[(Firestore + Storage)]
  F --> Q[Background render tasks]
  Q --> AI[Google AI models<br/>Gemini, Veo, Lyria, Speech-to-Text]
  Q --> FF[ffmpeg assembly]
  F --> C[Capture job<br/>headless phone browser]
  C --> APP[Customer's web app]
  F --> PAY[Stripe / RevenueCat]
  FF --> DB

The website and the phone app are two windows onto one account and one set of data. Neither does heavy work itself: they call server functions, which check credits, record the charge and hand the job to a background task. The task calls the AI models for the script, stills, video shots, voice and music, runs ffmpeg to assemble the finished clip, and saves it to storage, refunding the credits if a step fails. For SaaS and Trend Remix campaigns a separate capture job opens the customer's web app in a phone-sized browser and records its screens. Payments from Stripe and the app stores reach the server through webhooks, which grant plans and credits.

Services it uses

ServiceWhat it is for
Firebase (Google)Sign-in, database, file storage, server functions
Google Cloud Run and Cloud TasksThe screen-capture job and long-running render queues
Google Gemini, Veo, Lyria, Speech-to-TextWriting, images, video, music, voices and transcription
YouTube Data APIFinding popular short videos for Trend Remix research
Apple and Google Play public listingsReading an app's store description and screenshots
VercelHosting the website
StripeWeb subscriptions and credit packs
RevenueCatIn-app purchases in the phone app
Expo (EAS)Building the phone app in the cloud
Email provider (SMTP)Waitlist, verification and password emails

Quality

  • 2,561 automated server tests cover pricing, credits, scripts, rendering rules, clipping, Trend Remix and payments.
  • 122 end-to-end browser tests (Playwright) drive the real website against a local copy of the backend, with the AI models replaced by stand-ins.
  • Strict type checks and linting on the website, the server and the phone app, plus a check that prices shown on the website match the server's.
  • Real production runs: paid and demo clipping runs, SaaS posts and seven Trend Remix videos, each read frame by frame.
  • The phone app has been checked on an iPhone simulator, and an Android test build was made in the cloud.
  • A pre-commit check blocks credentials from being saved into the code.
  • Releases: the website deploys automatically from the main branch; server functions are deployed with the Firebase command line; phone builds are made with EAS.

Updated 2026-11-23