All projects

Arts, Entertainment & SportsMedia, Software & TelecomProfessional Services

Submagic

AI-powered short-form video editing platform

Built the AI editing pipeline (transcription, Smart Trim, LLM edit planning and Magic Clips) and the computer-vision and generative-media features behind Submagic's short-form video editing platform.

Submagic: AI-powered short-form video editing platform

1 / 5
Submagic: AI-powered short-form video editing platform

Submagic: AI-powered short-form video editing platform

1–3 min

1-hour podcast to editable transcript

70–85%

AI edits kept by creators at export

3–7%

Caption word error rate, clean English

~$0.03–0.08

Per exported short, no generative media

Stack

Next.js + Remotion PlayerRemotion LambdaNestJSPython / PydanticDeepgram Nova-3 + SpeechmaticsOpenAI GPT-4.1 modelsMediaPipe · ByteTrack · TalkNetSupabase PostgreSQL + pgvectorAmazon DynamoDBAWS Step Functions · SQS · LambdaECS GPU workers (NVIDIA L4)AWS CDK

Overview

Submagic is an AI-powered video editing platform that turns talking-head videos, podcasts and webinars into short-form content for TikTok, Instagram Reels, YouTube Shorts and LinkedIn. AI adds captions, cuts, B-roll, hooks and zooms as structured edits in a versioned timeline, so every edit stays editable and reversible.

The central idea: AI decides what to change, the timeline stores those decisions, and the rendering engine deterministically produces the final video.

The problem

Producing consistent short-form content from raw video takes several kinds of manual work, which is especially expensive for creators and teams that produce content at scale.

  • Transcription and cutting: transcribing speech, finding usable sections, and removing silences and mistakes.
  • Repurposing: cutting long-form content into shorter clips and reframing landscape footage for vertical platforms.
  • Polish: dynamic captions, relevant B-roll, zooms, audio cleanup, and hooks and descriptions.

My role

I worked at Submagic as an AI engineer and built two main areas of the product: the AI editing pipeline and the vision and generative-media features. Submagic's engineering is led by its co-founder and CTO, and I built these systems as part of that team.

What I built

AI editing pipeline

  • Transcription on Deepgram Nova-3 and Speechmatics, routed by language, producing a word-level transcript that is the coordinate system for transcript-based editing and captions.
  • Smart Trim: deterministic silence and filler-word removal, and bad-take detection that sends only rule-flagged regions to GPT-4.1 nano with Structured Outputs.
  • AI Auto Edit plans, AI Hook titles and descriptions, B-roll planning, and Magic Clips segmentation and ranking on GPT-4.1 models with schema-validated JSON, gated by promptfoo in CI.

Vision and generative media

  • Computer-vision workers: MediaPipe face tracking for 9:16 crop paths, and TalkNet active-speaker detection with diarization so the crop follows whoever is speaking.
  • AI Eye Contact on NVIDIA Maxine, run only when the creator turns it on.
  • Semantic B-roll search over pgvector, Sora 2 B-roll generation when retrieval fails, ElevenLabs dubbing, and HeyGen stock avatars for AI Actors Studio.

Results

My own measurements on the parts I built; transcription and caption figures come from my evaluation sets, the rest from production metrics and per-job cost metering.

  • Upload to editable transcript, 1-hour podcast (after the upload ends): 1–3 min at the median (p50); under 5 min at p95.
  • Caption word error rate (WER) on my evaluation sets: 3–7% on clean English; 5–10% on typical creator audio.
  • Word timing: median error 20–50 ms; at least 95% of words within ±100 ms.
  • AI edits kept by creators at export: 70–85% overall: silence and filler cuts 85–95%, bad-take cuts 70–85%, zooms 60–80%, B-roll 40–65%.
  • Magic Clips: 20–40% of suggested clips exported.
  • LLM cost: $0.005–0.015 per short clip.
  • Cost per exported short video, without generative media: about $0.03–0.08.

My evaluation sets contain more difficult audio than a typical upload, so these WER figures are a different measurement from Submagic's published accuracy on clear audio.

Tech stack

LayerTechnologies
FrontendNext.js, React, TypeScript, Tailwind CSS, shadcn/ui, Zustand, TanStack Query, Remotion Player
BackendNestJS, Python, Pydantic, REST, Server-Sent Events, Stripe
AIDeepgram Nova-3, Speechmatics, OpenAI GPT-4.1 / mini / nano, text-embedding-3-small, Sora 2, MediaPipe, ByteTrack, TalkNet, NVIDIA Maxine, ElevenLabs, HeyGen
VideoRemotion, Remotion Lambda, FFmpeg, FFprobe
DataSupabase PostgreSQL + pgvector, Amazon DynamoDB, ElastiCache Redis, Amazon S3
InfrastructureAWS CDK, Lambda, Step Functions, SQS, ECS Fargate, ECS GPU (NVIDIA L4), CloudFront, Vercel, GitHub Actions
ObservabilityHelicone, PostHog, Sentry, OpenTelemetry, CloudWatch

Related case studies