#BuildHybridAI · Firebase AI Logic + Chrome Nano#KiroweenHackathon26 · FrankensteinApache-2.0

How Motionpop actually works.

Drop in a raw video, a voiceover, or just an idea. Motionpop transcribes every word right in your browser, cuts out awkward pauses and bad takes automatically, directs animated visuals around what you say, checks its own work, and exports a video that matches your preview frame for frame. We wired 12 engines together so quick edits run free on your device (via Chrome Gemini Nano or your own Ollama / LM Studio models), while big creative lifts tap into Firebase AI Logic and cloud Gemini.

Free on-device AI tasks
11
Firebase products
7
Reel & graphic templates
21 + 9
Logged Kiro CLI runs
142
Written Kiro specs
49
Preview vs export diff
≤ 1.02%
Checking your browser AI…Online

Use Chrome 139+ for built-in Gemini Nano, connect Ollama / LM Studio in any browser, or let our cloud AI handle everything automatically.

01 · The 12 Engines

The Frankenstein Monster — 12 stitched organs.

Instead of one giant black-box prompt, Motionpop connects 12 focused tools that each do one job really well — from local speech recognition and sound synthesis to sandboxed animations and cloud rendering.

Diagram 01 · High-Level Architecture (The Frankenstein Stack)Desktop Chrome edge engines + 7 Firebase products + Vertex AI + Cloud Run + 6 open visual resolvers
Desktop Chrome 148+ · Local Edge Studio0 CREDITS · PRIVATE · WORKS OFFLINEPaper Editor & PipNext.js 16 · Zustand 200-undoChrome Gemini Nano11 tasks · JPEG + JSONWhisper + Auto-Cut DSPWebGPU · LCS retakes · prosodyHyperFrames Sandboxseek(tMs) · 21+9 templatesIndexedDB + Web Audio SFX + Ollama / LM Studio + BYOKLocal media · 14-take SFX · localhost:11434/1234 · localStorage keyFirebase AI Logic & Cloud Model OrchestraDEFAULT HYBRID SDK · AGENTPLATFORMBACKEND("GLOBAL")Gemini 4 Neonreel.direct · pip · filmFlash-Lite + TTS3.5-lite · 3.8-ttsNano Banana 2.11K art · #00FF00 keyVertex AI · lyria-002/api/reel/music · looped WAV4-Stage Code & Vision QAlintCustom · DOM · vision-criticFirebase Production Backbone (7 Products)APP HOSTING · AUTH · APP CHECK · FIRESTORE · STORAGE · REMOTE CONFIG · AI LOGICApp Check + AuthreCAPTCHA · limited-useCloud Firestoreledger · skills DB · logsRemote Configroutes · kill_switchCloud Storage + App HostingA-roll · B-roll · WAV · MP4 · /shareModular SKILL.md Engine8 recipes · 16 skills · GitHub syncParity Render Engine & 6-Source Open MediaCLOUD RUN PRODUCER + FFMPEG · ZERO HOTLINKING PROXYCloud Run · @hyperframes/producer + FFmpegSame compiled HTML · 30 fps · <= 1.02% diff -> 1080p MP4 / Alpha WebMPixabay · Pexels · Wikimedia/api/media/stock · 24h cacheOpenverse (CC0 / CC BY)/api/media/search · UUID proxySimple Icons + Chrome Shot/api/reel/logo · /screenshotNatural Earth + d3-geoOffline vector globe & pinsROUTERSAME HTML
BUILT-IN AI01

11 On-Device Chrome AI Tasks

Quick edits, circled frame notes, instant Pip commands, style auto-picking, and offline reel drafts run right inside Chrome via Gemini Nano — 0 credits, even with Wi-Fi off.

LOCAL SPEECH02

Private Browser Transcription

Whisper runs locally in your browser (using your GPU when available) to timestamp every word and hear where your voice emphasizes key points — your audio never has to leave your laptop.

AUTO CUTTER03

Automatic Retake & Pause Trimmer

Spots bad takes, repeated lines, stumbles, and awkward dead air automatically, then trims them cleanly without ever touching your original clip.

CLOUD MODELS04

Frontier Directing, Voices & Music

When you want full creative firepower, gemini-4-neon and gemini-3.5-flash-lite direct complex scenes, gemini-3.8-flash-tts generates 5 natural voices, gemini-nano-banana-2.1 paints transparent cutouts, and Vertex AI lyria-002 composes custom looping soundtracks.

DUAL ENGINES05

Talking-Head Reels & Custom Graphics

21 animated reel templates for vertical talking-head videos plus 9 responsive motion-graphic scenes and 11 studio looks — working seamlessly in 9:16, 16:9, and 1:1.

4-STAGE QA06

Self-Checking AI Visuals

Before any AI-generated scene lands on your timeline, we scan the code for safety, render it in a locked-down sandbox, check for clipped text or covered faces, and auto-fix issues.

AUDIO SYNTH07

Built-In Sound Effects & Ducking

No stock sound packs needed. Every whoosh, pop, tick, rise, and hit is generated live in your browser, synced to the exact moment graphics enter, with music automatically dipping while you speak.

6 MEDIA APIS08

Photos, Icons, Screenshots & Maps

Finds real, properly licensed visuals from Pixabay, Pexels, Wikimedia, and Openverse, pulls crisp brand icons, takes live website screenshots, and draws smooth offline vector maps.

SKILLS DB09

Open-Source Director Playbooks

Includes 8 built-in video recipes, 16 open-source community director skills, and 8 graphic skills — plus you can write your own plain Markdown playbooks or import them from GitHub.

7 FIREBASE10

7 Firebase Products Working Together

Powered end-to-end by Firebase AI Logic, App Check, Auth, Firestore (projects, skills, and credit ledger), Cloud Storage, Remote Config, and App Hosting.

LOCAL & BYOK11

Ollama, LM Studio & Your Own Key

Run all directing, edits, and notes on your own computer with Ollama or LM Studio (0 credits, works offline in any browser) — or paste your own Google AI Studio Gemini key right in Settings.

CLOUD RUN12

What You Preview Is What Exports

Cloud Run steps through the exact same HTML you see in the editor at 30 frames a second and mixes your video, animations, and audio into 1080p MP4 or transparent WebM (within 1.02% of preview).

Want the codebase breakdown? See how the 6 folders fit together
apps/web

Next.js 16 · React 19 · Tailwind 4

The editor, Pip chat, local Whisper worker, auto-cutter, local Ollama/LM Studio & BYOK settings, and signed APIs

packages/ai

Firebase AI Logic · Ollama/LM Studio · Zod

One clean AI router for 20+ tasks (11 Nano-ready), automatic repair loops, local OpenAI-compatible provider, Lyria 2 music, and BYOK

packages/motion

Pure TypeScript · HyperFrames · Web Audio

Frame-accurate animation core (zero GSAP), 21 reel templates, 9 scenes, 11 studio looks, built-in SFX synth, and layout checker

packages/schemas

Zod 4 · Strict TypeScript

Shared data contracts for projects, reels, director skills, timings in milliseconds, and credit pricing

services/render

Cloud Run · HyperFrames · FFmpeg

30 fps headless browser capture + video/audio mixing into 1080p MP4, transparent WebM, and thumbnails

skills/ & .kiro/

Kiro · Antigravity · Firebase Agent Skills

Open-source Markdown playbooks, 8 Firebase Agent Skills, 49 specs, 21 steering docs, 3 custom agents, and hooks

What we intentionally left out: No GSAP (incompatible licence for open no-code editors), no Remotion, no third-party voice APIs (we use Gemini TTS), and zero stock sound-effect MP3s (every SFX is synthesized live in your browser).

02 · Free Local & Hybrid AIBuilt-in Chrome AI · Ollama & LM Studio · Cloud Gemini

On-device Gemini Nano first. Cloud only when it counts.

Most video editors send every tiny click to an expensive cloud server. Motionpop flips that: small, fast jobs run right on your computer for 0 credits, and cloud AI only steps in for heavy directing, voices, or custom artwork — unless you connect your own local Ollama / LM Studio model to run everything locally too.

Diagram 02 · Hybrid AI Sequence (Frame Note & Pip Workflow)Firebase AI Logic router (packages/ai) · mint on-device chip never silently bills cloud credits
CreatorBrowser UIEditor / PipuseRoute + cropFirebase AI Logicfirebase/ai routerGemini NanoChrome · 0 crCloud GeminiGemini 4 NeonSandbox & LedgerZod + CreditsCircle frame + note (or Pip chat)Show route chip + JPEG crop (<=512px)run(reel.note.local | pip.quick)alt[Chrome Gemini Nano READY — ONLY_ON_DEVICE · 0 credits · works offline]Prompt + JPEG + responseConstraint JSONConstrained decode (~300ms){ action: "edit" | "escalate" }Zod + ReelSceneSchema check (0 credits)Instant undoable patch (inferenceSource: "on_device")alt[Complex graphic -> user clicks "Try in the cloud" (never silent) or non-Nano browser]App Check + atomic credit reservereel.note / reel.compose / pip.planloop[Max 2 repairs if lintCustom / DOM critic / Vision QA flags issues]Validate HTML/SVG in opaque sandboxVerified scene on timeline (or auto-refund on fail)CreatorBrowser UIEditor / PipuseRoute + cropFirebase AI Logicfirebase/ai routerGemini NanoChrome · 0 crCloud GeminiGemini 4 NeonSandbox & LedgerZod + Credits
11 Built-in Chrome AI Tasks (0 cr)
setup.recommendreel.note.localpip.quickreel.draftedit.patchnote.fixrecipe.resolvecomponent.fill (auto)slots.detect (≤400w)direct.planprompt.prefill

Circle a spot on a frame, ask Pip to tweak captions, or let Motionpop pick your best style from your transcript — it all runs privately inside Chrome with zero credits.

No Surprise Charges, Ever
  • • Built to fit small models: Every on-device prompt and response shape is kept lean and tested automatically so Chrome's built-in model gives clean, reliable answers.
  • • Free chips stay free: If a free on-device edit runs into something too complex, it never quietly charges you — it tells you why and lets you click Try in the cloud only if you want to.
  • • Right tool for speech: Local Whisper handles transcription in your browser; cloud gemini-3.8-flash-tts handles AI voiceovers.
Test It Offline in 30 Seconds
  1. In Desktop Chrome 139+, turn on chrome://flags/#prompt-api-for-gemini-nano-multimodal-input.
  2. Click Set up Gemini Nano above (or in Settings).
  3. Turn off your Wi-Fi (or toggle DevTools → Offline), circle something on your video, and ask for a fix — it still works right on your laptop at 0 credits.
Ollama & LM Studio · Full Local AIAny browser · 0 credits · Works offline

Already running models like qwen3:8b or gemma3:12b on your own computer? Connect Ollama (localhost:11434), LM Studio (localhost:1234), or any OpenAI-compatible local server. Your browser talks straight to your machine to run directing, edits, and notes locally — nothing leaves your laptop.

Auto-detects installed models + strips thinking tags + handles text-only models.Connect Ollama / LM Studio
Optional Bring Your Own KeyBrowser-only · 0 Motionpop credits

Prefer using your own Google AI Studio billing for cloud directing, AI voices, and cutout images? Paste your Gemini API key in Settings. It stays strictly in your browser (localStorage), goes straight to Google, and still runs Chrome Nano first whenever it can.

Never sent to Motionpop servers. Pick any Gemini model on your key.Settings → BYOK

Where Every Task Runs & What It Costs

With Ollama / LM Studio connected, every text & directing task runs locally on your machine for 0 credits.

What it doesRuns onEngine / ModelCostSafety net
Whisper + Auto-Cut
Transcribes every word with exact timing and trims awkward pauses, hiccups, and bad retakes
LOCAL BROWSERWhisper in your browser (GPU / WASM) + Web AudioFree · localNon-destructive cuts (undo anytime) + cloud transcription backup
setup.recommend
Reads your transcript or idea and automatically picks the best recipe, director skill, and look
ON-DEVICEChrome Gemini Nano (or your local Ollama / LM Studio)Free · on-deviceInstant offline fallback if Chrome AI is off; never overwrites your manual picks
reel.note.local
Fixes circled frame notes right on your talking-head reel (text, numbers, colors, layout, captions)
ON-DEVICEChrome Gemini Nano (Firebase AI Logic)Free · on-deviceNever bills cloud credits silently — asks before trying the cloud
pip.quick
Handles instant chat edits with Pip (change look, toggle captions, swap music, trim cuts)
ON-DEVICEChrome Gemini Nano (Firebase AI Logic)Free · on-deviceChecks every edit against your project before applying; 1-click undo
reel.draft
Directs a complete talking-head reel completely free and offline using 8 core visual templates
ON-DEVICEChrome Gemini Nano (Firebase AI Logic)Free · on-deviceClean scene timing check + instant built-in backup director
recipe.resolve
Turns plain English like "dark tech news vibe" into a matching recipe, color theme, and caption style
ON-DEVICEChrome Gemini Nano (Firebase AI Logic)Free · on-deviceStrict output check + fast keyword match backup
edit.patch / note.fix
Quick text edits and circled frame notes on explainer motion graphics
DEVICE FIRSTGemini Nano → gemini-3.5-flash-lite (or Ollama / LM Studio)Free / 1 crValidates every patch and auto-repairs once if anything looks off
component.fill (auto)
Background auto-fill of detected motion-graphic slots with structured scene params
ON-DEVICEChrome Gemini Nano (Firebase AI Logic)Free · on-deviceMeasures text so nothing clips or overlaps; deterministic defaults backup
slots.detect
Finds key spoken moments in transcripts (chunked ≤ 400 words on-device via Remote Config)
DEVICE FIRSTGemini Nano (≤400w chunks) → gemini-4-neonFree · on-deviceInstant local deterministic detector fallback when Nano is unavailable
direct.plan / prompt.prefill
Plans your video pacing arc and drafts starting prompts for each graphic slot
ON-DEVICEChrome Gemini Nano (Firebase AI Logic)Free · on-deviceAlways falls back cleanly to built-in pacing rules
reel.direct / reel.edit
Full 21-template talking-head director that watches 6 keyframes and double-checks retake cuts
CLOUD / LOCAL LLMgemini-4-neon · gemini-3.5-flash-lite (or 0 cr with Ollama / BYOK)3 cr / reelChecks every scene field; auto-refunds and falls back to Nano if cloud fails
reel.note / reel.compose
Big creative rewrites and one-off custom animated scenes built from scratch
CLOUD / LOCAL LLMgemini-4-neon (or 0 cr with Ollama / BYOK)1 cr / +3 crSafety scan + isolated sandbox preview check + auto-repair loop
pip.plan / media.index
Multi-step timeline plans from Pip chat plus smart indexing of your uploaded B-roll clips
CLOUD / LOCAL LLMgemini-4-neon (or 0 cr with Ollama / BYOK)2 cr + gensShows the full plan before applying; whole plan undoes in one click
component.fill (Generate)
Upgraded graphic generation guided by your chosen Markdown skill playbook
CLOUD / LOCAL LLMgemini-3.5-flash-lite (or 0 cr with Ollama / BYOK)3 crLayout check + up to 2 automatic repair rounds
film.direct / build / vision
Builds multi-beat custom motion sequences and inspects screenshots to catch visual bugs
CLOUD / LOCAL LLMgemini-4-neon / gemini-4-neon (or 0 cr with Ollama / BYOK)5 cr / 30sCode safety scan + layout check + visual screenshot review
tts.generate / images / music
5 natural AI voices, crisp transparent cutout art, and custom looping background music
CLOUD / LOCAL LLMgemini-3.8-flash-tts · gemini-nano-banana-2.1 · lyria-0022 cr/m · 2 crCaches repeated lines, retries rate limits, and auto-refunds on any failure
Export (1080p MP4 · Alpha WebM)
Turns your exact preview into a finished 1080p video or transparent overlay file
CLOUD / LOCAL LLMCloud Run · HyperFrames + FFmpegFreeRenders the exact same HTML as your preview (within 1.02% pixel match)
03 · Raw Clip to Finished Video

Raw footage to frame-exact MP4 — zero drift.

The moment you drop a clip in, Motionpop starts transcribing and finding retakes in the background while you pick your style. Every animation is driven by exact timestamps in milliseconds — so the video you export looks identical to the preview you edited.

Diagram 03 · End-to-End Pipeline Sequence (Raw Video to Frame-Exact MP4)Background JobsHost starts free local prep on /start/configure so zero seconds are wasted
Creator IntakeVideo · Voice · ScriptWhisper & Auto-Cut DSPLocal · WebGPU + Web AudioAI Directors & Skills DBFirestore SKILL.md + GeminiMedia & Audio Resolvers6 APIs · Lyria 2 · SFX SynthHyperFrames + RunPreview & FFmpeg MP4Drop MP4/MOV, record mic, or Gemini TTS scriptWhisper words + 10ms speech map + LCS retake/hiccup/dead-air EDL + prosodyCleaned timings + vocal stress + 6 JPEG keyframesalt[Dual Video Engines]• Talking-Head: reel.direct (21 tpl)• Free/Offline: reel.draft (Nano)• Voiceover/Film: 9 scenes + 11 looksTyped Project JSON + media/music briefspar[Parallel Asset & Audio Fetch]Pixabay · Pexels · Wikimedia · OpenverseLogos · Chrome Shot · Lyria 2 · 14 SFXCompile single deterministic seek(tMs) HTMLInstant 30 fps sandbox preview (edit & 200-step undo)Cloud Run + FFmpeg export -> 1080p MP4 / Alpha WebM (<=1.02% diff)Creator IntakeVideo · Voice · ScriptWhisper & Auto-Cut DSPLocal · WebGPU + Web AudioAI Directors & Skills DBFirestore SKILL.md + GeminiMedia & Audio Resolvers6 APIs · Lyria 2 · SFX SynthHyperFrames + RunPreview & FFmpeg MP4

Talking-Head Reel Engine

Vertical 9:16

Built for creators talking to camera. Mixes 21 visual templates (big headlines, lists, stat counters, charts, terminals, comparisons, quotes, logos, screenshots, and custom scenes) across 5 stage layouts, 8 recipes / 22 styles, and 5 kinetic caption styles.

Motion Graphics & Film Engine

16:9 · 9:16 · 1:1

Built for explainers, voiceovers, and standalone transparent overlays. Includes 9 responsive scenes (stats, timelines, maps, charts, versus cards, and photo callouts), 11 curated studio looks, 8 graphic skills, and a multi-beat Film Mode that reviews its own screenshots to catch layout bugs.

Diagram 04 · One Composition, Frame-Exact Parity & Verification LifecycleLeft: Opaque Sandbox & Cloud Run parity · Right: 4-Stage AI scene verification state machine
Deterministic Sandbox & ParityPARENT EDITOR WINDOW + COMPILERProject JSON (int ms)frame = round(ms*30/1000)HyperFrames Compilerpackages/motion -> index.htmlAudio Master Clock · hf-seek(t)Zero GSAP · Zero CSS keyframesOPAQUE SANDBOX IFRAME<hyperframes-player>sandbox-origin="opaque"Pure seek(tMs) DOM/SVGZero fetch · Zero timersCLOUD RUN · SERVICES/RENDER@hyperframes/producer30 fps headless ChromiumFFmpeg Parity Compositor<= 1.02% diff -> MP4/WebMpostMessageexact HTMLAI Scene Verification Lifecycle1. Draftingreel.compose / film.build2. Static LintlintCustom + @hyperframes/lint3. DOM & Vision QAoverflow · face-safe · contrastRepairing(max 2)all pass4. Verified SceneCommitted · 1-click undoexhaustedSafe FallbackAuto-refund · 0 lost cr
04 · Built for Judges

Seven Firebase products. Built for Desktop Chrome. Engineered with Kiro.

#BuildHybridAI · Firebase

Web (Desktop Chrome)
  • Firebase AI Logic: Powers our default hybrid setup — trying Chrome Gemini Nano on your device first and seamlessly reaching cloud Gemini when needed.
  • App Check: Protects our AI calls, database, storage, and API routes with reCAPTCHA Enterprise and short-lived tokens so bots stay out.
  • Authentication: Google Sign-In and Email/Password with verified server checks on every credit spend, music track, and video export.
  • Cloud Firestore: Stores your projects, 200-step undo history, shared and personal director skills, usage stats, and server-verified credit balance.
  • Cloud Storage: Safely holds your uploaded clips, cleaned voice tracks, B-roll, generated soundtracks, finished exports, and share links.
  • Remote Config: Lets us tune model routing, credit prices, and emergency pauses live without redeploying the app.
  • App Hosting: Runs our Next.js 16 web app in production right alongside Cloud Run video rendering and Secret Manager.
Why Desktop Chrome: Serious timeline editing belongs on a big screen — and Desktop Chrome 139+ lets us run local Whisper transcription, multimodal Gemini Nano, live audio synthesis, and 30 fps animations straight from a single URL with zero install. Built with Antigravity and 8 official Firebase Agent Skills.

Kiroween 2026 · Frankenstein

/.kiro Checked In
  • 142 Kiro CLI runs: Every run is logged honestly in KIRO_LOG.md by our automated hook — real spec-driven engineering from day one.
  • 49 EARS Specs & 21 Steering Docs: Clear requirements, designs, and task checklists in .kiro/specs/ backed by guardrails in .kiro/steering/ for motion, hybrid AI, and security.
  • 3 Custom Scoped Agents: Dedicated motionpop-builder, motion-qa, and spec-reviewer agents (.kiro/agents/) with tight file and command permissions.
  • 3 Automated Hooks: Loads context at session start, checks lint/types on edited files automatically, and logs finished work to KIRO_LOG.md.
  • 3 Live MCP Servers: Connected to context7 (live docs), chrome-devtools (visual frame checks), and firebase-tools (.kiro/settings/mcp.json).
  • Automated Quality Guards: 394 test files including 350 randomized Gemini Nano fuzz tests, strict schema guards, and credit-safety checks.
  • Antigravity + 8 Firebase Skills: Built with Antigravity plus 8 official Firebase Agent Skills and HyperFrames skills checked directly into the repo.
05 · Privacy & Safety

Private by default. Honest about every credit.

App Check protected

Every AI request, database write, and upload is verified by Firebase App Check so only the real app can call it.

Tamper-proof credits

Your credit balance is updated only by verified server code — never trusted from the browser.

Clear prices & auto refunds

You always see the cost before you click. Free local buttons never bill you, and any failed cloud run refunds itself automatically.

Zero-server BYOK safety

Both your optional Gemini key and your local Ollama / LM Studio address stay strictly in your browser — never sent to our servers.

Instant safety switches

Remote Config lets us adjust models, pricing, or pause cloud spending in seconds if anything unexpected happens.

See it in action.

Drop in a talking-head clip, connect Ollama or LM Studio on your laptop, try a sample project, or read every single line of code on GitHub.