Marketing: AI video ad studio
HypeClip
UGC video ads for any app
Next milestone: Full test pass on a real iPhone
Tech stack & architecture
Built with
| Layer | Technology |
|---|---|
| Phone app | Expo (React Native) SDK 58, one codebase for iPhone and Android, Expo Router for screens, TypeScript |
| Camera and media | Expo Camera (recording), Expo Video (playback), Expo Media Library (save to Photos), Expo Image Picker |
| Look and feel | Inter typeface, Reanimated animations, dark theme shared with VidGen Studio |
| Data on the phone | Projects, scripts and takes are saved on the device (AsyncStorage and the app's files) |
| Backend | Firebase Cloud Functions (Node.js 22), eight functions |
| Sign-in | Firebase Authentication (email and password, with verification) |
| Database | Cloud Firestore (accounts, approval status, daily usage counters) |
| File storage | Firebase Storage (uploaded takes, AI clips, finished videos) |
| AI scripts and voice | Google Gemini (script writing with structured output; text-to-speech voices) |
| AI footage | Google Veo 3.1 Lite on Vertex AI (8-second vertical clips, no audio) |
| Video assembly | ffmpeg on the server: captions, screenshot cards, AI clips and end card into a 1080x1920 video |
| Store data | Apple's public iTunes Search API (App Store), a Google Play reader on the server, a web page reader for sites and TestFlight links |
How it fits together
flowchart LR U[You on the phone] --> A[HypeClip app] A -->|App Store search| I[Apple iTunes Search] A -->|sign in| AU[Firebase Auth] A -->|scripts, imports, clips, video| F[Cloud Functions] F --> G[Gemini: scripts and AI voice] F --> V[Veo on Vertex AI: AI footage] F --> P[Google Play and web page readers] F --> FF[ffmpeg: assemble the video] F <--> S[(Firebase Storage)] F <--> D[(Firestore: accounts and usage)] A <-->|upload take, download video| S
The phone app holds your apps, scripts and recordings. When it needs real AI or a finished video, it calls the cloud functions, which check that the account is signed in and approved before doing anything that costs money. The functions ask Gemini for scripts and voices, ask Veo for AI footage, and run ffmpeg to put the recording, clips, screenshots, captions and end card together. The finished video is stored in the cloud and downloaded to the phone. In sample mode the app uses built-in templates instead and never calls the cloud.
The screens only talk to one internal "backend" layer, and every request and response shape lives in a single contract file, so HypeClip can be moved into VidGen Studio later without a rewrite.
Services it uses
- Expo: the app framework and the Expo Go test app used today.
- Firebase (Google): sign-in, database, file storage and cloud functions.
- Google Gemini: writes the scripts and speaks the AI voice.
- Google Vertex AI (Veo): generates the AI B-roll footage.
- Apple iTunes Search API: looks up App Store listings (public, no key).
- Google Play: listing details read on the server.
Quality
- Automated tests: 141 tests for the cloud functions, all passing (November 2026).
- Video smoke tests: 11 test renders covering every caption style, Hybrid and AI videos and end cards, checked frame by frame.
- Content checks: a script validates the built-in hooks and frameworks and generates thousands of sample scripts to check timing and wording.
- Type checking and linting: TypeScript and Expo's lint rules, with zero warnings; Expo's health check passes.
- Reviews: three independent code reviews (screens, recording and composing, cloud functions and security rules); all findings fixed.
- Releases: the backend is deployed with the Firebase command line by the owner; the app runs through Expo Go. Store builds are not set up yet.
Updated 2026-11-23