ClipZ
Chat-to-video editing for short-form creators.
Created on 11th October 2026
•
ClipZ
Chat-to-video editing for short-form creators.
The problem ClipZ solves
ClipZ makes video editing accessible to creators who'd rather chat than click. Instead of spending hours in editing software, you describe what you want ("make it punchy," "add memes at the jokes," "style it like Varun Mayya"), and an AI agent edits your reel in real time.
The system: Built on Gemini (Director agent + Vision Critic), FastAPI (async WebSocket), TimescaleDB (telemetry + project data), and FFmpeg (deterministic rendering), ClipZ turns chat into structured edits on an immutable timeline JSON. Every tool call is validated by an LLM-as-Judge that checks whether the requested edit is correct and safe before execution, preventing hallucinated or malformed edits from corrupting the timeline.
What creators can do:
- Kotlin mobile app: A native Android app that makes the entire video editing process simple for end users. Users can upload footage, describe edits in natural language, and manage their projects through an intuitive mobile interface without dealing with complex editing software or technical workflows.
- Upload & ingest: Automatic proxy normalization (540p), speech-to-text (faster-whisper), scene detection (PySceneDetect), VAD silence mapping (Silero VAD), face tracking (OpenCV YuNet), and energy curves. All analysis is cached by content hash to avoid redundant processing.
- Chat to edit: Describe what you want, and the Gemini Director plans edits and calls typed Python tools. Raw FFmpeg strings never reach the shell. Each tool call is verified by an LLM Judge before the executor applies it.
- Cutting tools: trim, remove_silence, remove_fillers, cut_by_transcript
- Time tools: speed_ramp, freeze_frame
- Framing: reframe_9x16 (adaptive crop, blur, or face tracking via YuNet), zoom_punch_in on emphasis words
- Captions: Word-by-word captions with add_captions (ASS/libass rendering, color, size, position, and highlight mode), plus auto-translation
- Audio: Denoise, loudness normalization (-14 LUFS), ducking under voiceovers, and add_music from a local licensed library (40 tracks, 8 genres)
- Visuals: 140 stock images, 41 reaction GIFs, 92 memes, and 77 brand logo tiles. Assets are ranked by CLIP/SigLIP similarity and Gemini vision, then inserted with smart placement based on beat timing, density limits, and safe-area checks.
- Sound design: auto_sfx synced to cuts and inserts, plus ElevenLabs generate_sfx, add_voiceover, and dub_video. Generated assets are cached in
assets/generated/. - Style control: apply_style from presets or extract_style from your own reels, learning pacing, captions, zooms, and color grades from your edits.
- Critic loop: Gemini Vision samples the preview and scores it against a style checklist covering hook timing, caption legibility, pacing, insert density, and audio balance. It returns concrete fixes that the agent applies iteratively.
- Timeline immutability & undo/redo: Every edit creates a new version stored in TimescaleDB. Revert or branch at any time.
- Face tracking & adaptive framing: On portrait footage, split-view and face mode pan smoothly to keep speakers in frame, with headroom bias and a 0.04 jitter dead zone.
- Learn from your style:
GET /projects/{id}/style-promptanalyzes past edits using weighted median pacing, caption rules, music mood, and zoom frequency. It drafts a Director prompt that you can review and edit before sending. - Licensing & credits: Every asset carries verified metadata, including source, license, attribution requirements, and commercial-use permissions. Exports reject personal-use assets in monetized videos, and credits are automatically generated for CC BY content.
- Real-time progress: SSE progress events such as "transcribing 40%", "finding memes", and "rendering preview", alongside step-by-step WebSocket chat updates.
- Web studio (
/app): A vanilla JavaScript UI with no build step, featuring drag-and-drop uploads, brainstorm mode, live edit chat with plan cards, clickable subtitles, a results player, and downloads.
The goal: Cut editing time for a 60-second video from 4–6 hours to 15–20 minutes. With a native Kotlin Android app for a simple end-user experience, a conversational AI editing workflow, and an LLM Judge validating edits before execution, ClipZ makes professional-style video editing more accessible without requiring users to learn complicated editing tools.
Challenges we ran into
-
Timeline snapping without latency: The LLM can't write FFmpeg directly. It edits a structured JSON timeline. We built a deterministic executor that snaps edits to real word boundaries and hides millisecond timing from the agent entirely. An LLM-as-Judge validates every tool call before execution, ensuring the edit intent matches the request and preventing malformed timeline mutations. This took three iterations to get sound design, cut transitions, and face-tracking inserts anchored correctly while keeping latency under 2 seconds.
-
Licensing at scale: Memes and stock footage come with copyright restrictions. We built a license metadata layer for every asset, enforce
commercial_useflags, and refuse to export monetized videos with unverified or non-commercial assets. This required fetching from open APIs (Openverse, Imgflip, Google Noto Emoji), converting GIFs to MP4, content hashing for deduplication, and tracking source URLs and license terms in Git, all without shipping media files themselves. -
Provider fragmentation and API reliability: Without official Instagram Reels trend APIs, we pivoted from external APIs (Giphy, Pexels, stock music services) to local asset libraries containing 40 music tracks across 8 genres, 140 tagged images, 92 memes, and 41 reaction GIFs. We also switched from multi-LLM support (Claude + Gemini) to Gemini-only via a stateless Interactions API when the owner chose to simplify the stack and reduce vendor dependencies. This eliminated cold-start latency and API rate-limiting surprises.
-
Face tracking for adaptive framing: Centre-cropping cuts off heads in portrait footage shot on mobile. We vendored OpenCV's YuNet face detector (230 KB, MIT-licensed CNN) and built a smooth focus path that keeps speakers centred with headroom bias while falling back gracefully to centre framing when no face is detected. The tracker runs at render time and is cached by master hash, so existing projects benefit without re-analysis.
-
Agent quality and preventing hallucinated edits: A single-pass LLM planner can make bad choices, such as incorrect meme placement, too many visual inserts, or off-beat caption synchronization. We built a planner-executor-critic loop where Gemini's Vision model scores preview frames against a style checklist covering hook timing, caption legibility, pacing, insert density, and audio balance. The Critic returns structured, actionable fixes, such as "first cut at 2.4 s, target 1.5 s," that the Director applies in a second pass, capped at two iterations to keep chat latency low. The LLM Judge also validates each tool call before the executor modifies the timeline, catching intent mismatches early.
Tracks Applied (4)
Best Project use of ElevenLabs
ElevenLabs
Best Use of ElevenLabs
Major League Hacking
Best Use of Gemini API
Major League Hacking
Best Use of Tiger Data
Major League Hacking


