← All projects

applied ai / video pipeline · 2026

AI Video Editor

A pipeline that turns raw footage into Reels, TikTok and Shorts, with AI-generated edit decisions validated before rendering.

In development · runs locally

01

The problem

Editing the same video for three platforms takes time: cutting silences, captioning, reframing to 9:16 and writing titles and descriptions. AI Video Editor automates that flow end to end.

02

The solution

Python scripts orchestrate FFmpeg and the AI calls; the final composition is React with Remotion, fed by the EDL.

  • Ten-step pipeline that runs in sequence or step by step: ingest, metadata, audio, transcription, analysis, EDL, processing, rendering, quality control and publishing metadata.
  • Local transcription with Whisper.cpp or through the Gemini API.
  • Video analysis and edit decision list (EDL) generation with Gemini, from versioned prompts.
  • EDL typed and validated with Zod before it becomes Remotion layers: video, captions with highlighted words, zoom, sound and safe zone.
  • Separate renders for TikTok, Instagram and Shorts.

03

My role

Personal project: I built the application and maintain the repository.

04

Technical challenge

Treat the model output as a contract: Gemini proposes the edit as JSON, a Zod schema validates cuts, zooms and captions, and only then does Remotion render. An invalid response stops the pipeline instead of producing a broken video.

05

What I learned

Integrating an LLM into a real system takes data contracts, re-runnable steps and quality logs, not just a good prompt.

06

Links

Next project

Mapa dos Rolezinhos

There is always something happening in Belo Horizonte. The next outing starts on the map.