
Anime Lyrics Visualizer App
Category:
Coding Projects
Company:
Self
Anime Lyrics Visualizer
Vision
This app started as a side quest during a hackathon focused around another idea I had for enriching song data with lyrics analysis. As I was wrapping up the main project a day ahead of schedule, I kept SZA's "SOS" lyrics visualizers playing on my secondary screen. After watching them loop for the 50th time, I thought to myself: "I wonder how hard it would be to build this."
This project became my "what if" experiment - a Go app that takes in an artist name and track title and transforms it into a fully-produced anime-style music video with sync'd, stylized lyrics and 90s VHS effects on a CRT screen. I only had one day to build this before demoing it alongside my main hackathon project.
Multi-API Orchestration
Spotify API for searching tracks based on a given artist name and track title which returned track metadata
Lyrics API for fetching lyrics based on a given artist name and track title
OpenAI API for generating a sequence of scenes based on a pre-defined prompt
DALL-E for creating images from the given scene descriptions
Prompt Engineering
One of the interesting problems for this projects was teaching GPT-4o to think like a 90s anime director.
Video Processing with FFmpeg
The heart of this project is a series of 7 FFmpeg video processing operations wrapped in Go to turn high-res static images into a grainy VHS-like video.
Concurrent Image to Video Conversion
Each zoom-pan operation is independent, so I was able to leverage the worker pool pattern.
Results
$ go run ./cmd/app/lyricsvisualizer/main.go -artist="khalid" -track="talk"
The system programmatically generates lyrics visualizers in less than 10 minutes. A sequence of 7 unique AI-generated scenes, sync'd animated lyrics, and a 90s VHS aesthetic with dynamically programmatic glitch effects.
The one-day constraint meant that I didn't get to implement all the features I wanted to, but maybe one day I'll dust this one off, deploy it, and use it to build my own lyrics visualizer YouTube channel like the ones that have inspired me.

