
AI Music Video Generation Platform
An AI music-video production pipeline that moves from concept to generated media, post-production, and publishing. Celery workflows, provider integrations, FFmpeg, and status tracking manage long-running jobs.
An AI music-video production pipeline that moves from concept to generated media, post-production, and publishing. Celery workflows, provider integrations, FFmpeg, and status tracking manage long-running jobs.
What made this system difficult?
Long-running external generation jobs required robust orchestration, progress tracking, and retry handling without blocking UX.
How did the design respond?
Built domain-scoped FastAPI routers (projects/songs/videos/youtube/workflows) and a Celery app with retry/time-limit policies. Implemented provider-specific generation tasks, an FFmpeg-based editing service, and a YouTube upload service integrated into the async pipeline with DB-backed status tracking.
How responsibility moves through the system.
Music Generator
- — Lyrics/style-based generation
- — Auto-retry mechanism
- — Status tracking
Video Pipeline
- — Long-running task management
- — Audio-video sync
- — Effects pipeline
Overview
- Solo-built music video generation platform automating generation → post-processing → upload workflows.
Purpose & User Flow
Purpose
- Productize a production pipeline from an idea to a publishable artifact.
User Flow
- Create a project → generate music → generate video → compose/edit (subtitles/overlays) → upload, tracked as step-level statuses.
Key Components
- FastAPI API for job creation/status tracking
- Celery + Redis for long-running generation/post-processing/upload tasks
- FFmpeg/MoviePy for audio/video composition and subtitle/post-processing
Operational Focus
- Failure-first design: status tracking, retries, and idempotency safeguards.
