CF

Audio-Driven Text-to-Video Studio

Cloudflare Pages • R2 (`text-to-video-assets`) • Workers AI (`@cf/openai/whisper`) • D1 (`text-to-video-db`) • Remotion

R2 Bucket: text-to-video-assetsD1 DB: text-to-video-db

1. Upload Narration Audio

Upload a Thai speech `.mp3` or `.wav` file to automatically transcribe, match stock video clips, and synchronize Thai subtitles.

Drag & drop your .mp3 or .wav file here

or click to browse from your computer

Pipeline StatusIDLE

Ready for audio upload (.mp3 or .wav)

1. R2 Upload
2. Whisper AI
3. Pixabay HD
4. D1 SQL

2. Interactive Remotion Timeline Player

Cuts Pixabay footage every 5 seconds and synchronizes Thai subtitles at 30 FPS (`useCurrentFrame() / fps`).

No Active Composition Loaded

Upload a Thai `.mp3` or `.wav` file on the left, or select a previously generated record from the Cloudflare D1 history table below.

3. Cloudflare D1 Generation History (`text-to-video-db`)

Click any row to load its R2 audio stream, word-level Thai timestamps, and Pixabay video sequence into the Remotion player.

StatusAudio File & R2 KeyThai TranscriptPixabay ThemeWords / ClipsCreated AtAction
Querying Cloudflare D1 (`text-to-video-db`)...