Hack Brooklyn 2026 · 48 hours · 3rd Place

Short-form video retention engine. Turn viral Shorts into teaching templates.

Drop in any TikTok, Reel, or YouTube Short whose pacing hooks you. Pick a topic you want to teach. Reelize reverse-engineers the reference's retention structure (hook timing, beat grid, scene rhythm, voice cadence) and delivers a finished short on that blueprint. Not a script. A video.

Team
2 builders
When
Apr 17-19, 2026
Result
3rd Place
Code
GitHub

My roleI built the Expo app, the visual analysis (Gemini scene detection plus a keyframe refinement pass), script and voice generation, and the renderer.

Project Overview

Apr 2026

The problem

Short-form video is the most effective retention format ever invented. Creators on TikTok and YouTube Shorts have engineered pacing, hooks, and beat structures that hold viewers for 60 straight seconds.

Meanwhile educators, and anyone trying to explain a complex idea online, are still losing people in the first three seconds. The retention blueprints exist. They just aren't reusable.

What it does

Reelize lets you drop in any TikTok, Reel, or YouTube Short whose pacing hooks you, pick a topic you want to teach, and reverse-engineers the reference's retention structure: hook timing, beat grid, scene rhythm, voice cadence.

The output is a fully rendered short on that blueprint, delivered to your phone, ready to publish.

3rdPlace at Hack Brooklyn 2026
48hFrom idea to shipped
7AI services orchestrated
2Builders

Full mobile + web + backend shipped end to end.

The Pipeline

4 phases
Phase 1

Analyze

Demucs for audio stem separation, Whisper for transcription, Shazam for music ID, librosa for beat grid and energy envelope, pyannote for speaker diarization, and Gemini for scene detection with a keyframe refinement pass.

Phase 2

Extract

Hook timing, pacing curve, visual rhythm, and voice cadence assembled into a single shared manifest that every downstream stage reads from.

Phase 3

Generate

Gemini writes a script aligned to the reference's beat grid (beat grid and energy envelope fed directly into the prompt). ElevenLabs synthesizes the voiceover. Music and SFX matched to the original's energy curve.

Phase 4

Render

Remotion (a React-based video framework) composes the final video with layered voice, music, SFX, and footage timed to the original's beat grid at millisecond precision.

Tech Stack

Shipped in 48 hours

ClientExpo / React Native

iOS · Android · Web

Cross-platform app handling upload, preview, and download. Signed-URL flows to Cloudflare R2 to dodge platform-specific multipart upload quirks across iOS, Android, and web.

BackendFastAPI orchestration

Python · Serialized job queue

FastAPI orchestrates a serialized job queue so GPU-heavy analysis and render stages don't fight over memory. One job flows end to end before the next begins.

AI modelsSeven specialized services

Demucs · Whisper · Shazam · librosa · pyannote · Gemini · ElevenLabs

Each model specializes in one signal: stems, transcript, music ID, beat grid, diarization, scene detection, and voice synthesis. A shared manifest unifies their output.

RendererRemotion (React-based)

Millisecond-level composition

Remotion composes the final video deterministically: voice, music, SFX, and footage aligned to the reference's beat grid with millisecond precision.

InfrastructureSupabase + Cloudflare R2

Postgres · Object storage · Docker

Supabase Postgres tracks job state across the pipeline. Supabase Storage plus Cloudflare R2 hold media assets (source videos, stems, renders) behind signed URLs.

  • Python
  • TypeScript
  • React Native
  • Expo
  • FastAPI
  • Remotion
  • Google Gemini
  • ElevenLabs
  • Whisper
  • Demucs
  • librosa
  • pyannote
  • Shazam
  • Supabase
  • Cloudflare R2
  • Docker
  • PostgreSQL
  • FFmpeg

Built with Isaac SassonApril 17-19, 2026 · 48 hours

Challenges

What actually took the 48 hours

Systems & orchestration

  • Pipeline orchestration

    Seven specialized services producing data in different shapes and timing spaces. Half the 48 hours went into designing a single shared manifest with retries and partial-failure recovery. The AI models were commodities; the pipeline was the product.

  • GPU contention

    Running Demucs, Whisper, and pyannote at the same time on one machine melted GPU memory. Solved with a serialized job queue that processes one job end to end.

  • Beat-grid alignment

    Getting a generated script to land emphasis on the reference's existing beat drops meant feeding the beat grid and energy envelope directly into the LLM prompt, not just the transcript.

Signal & rendering

  • Scene detection accuracy

    Single-pass Gemini detection missed half-second cuts on fast-edited Shorts. Added a keyframe refinement pass that re-checks boundaries with pixel-level diffs.

  • Render determinism

    Aligning voice, music, and footage to the millisecond inside Remotion meant normalizing every timing source to a single clock before composition.

  • Cross-platform uploads

    Expo file handling differs across iOS, Android, and web. Replaced direct multipart API uploads with signed-URL flows to R2.

Coverage & Write-up

Next project
Philly 250 · Mar 2026

Hormuz Watch

An edge-first, cloud-independent maritime threat detection system for the Strait of Hormuz, built on an encrypted peer-to-peer mesh of Raspberry Pi 5s, ESP32 nodes and a Jetson Orin Nano, all for about $450.