01 / Problem
Start with the dance.
A rehearsal or freestyle already has its own rhythm. Starting a music generator from a text prompt makes the creator translate the movement by hand.
The insight
Treat the video as the prompt. Represent the movement and energy in a structured intermediate form before asking a music model to compose.
02 / Architecture
How the system works.
A FastAPI backend accepts the video and invokes a deployed agent runtime. Gemini analyzes movement, then turns the analysis and the creator’s preferences into timestamp-aware musical direction. Lyria generates audio and FFmpeg joins it to the original video.
- 01Read the movement
- 02Plan musical direction
- 03Generate a score
- 04Mux the final video
Built with: Python · Cloud Run · Gemini · Lyria · FFmpeg
03 / Decisions
What I contributed.
I built the workflow around the creator’s video, including the handoff from structured movement analysis to musical direction and back to a downloadable result.
The trade-off
Timestamps guide the composition; they do not guarantee beat-accurate synchronization. Keeping that distinction visible sets the right expectation for the preview.
04 / Evidence
What you can inspect.
Status and limits
The hosted application entry responded during this review. No video was uploaded and no new paid generation was run for the portfolio.
