
Karaoke Video Maker: AI vocal remover and word-synced lyrics for Claude Code, offline
Karaoke Video Maker is an open-source Claude Code skill that turns a song file into a karaoke video with word-by-word highlighted lyrics, an instrumental with the vocals removed, an LRC file, a printable lyric sheet and, for duets, "you sing this part" practice tracks, all offline on your own PC.
Give Claude a song and the words (yours, public domain, traditional, or pasted by you). It takes the singing out on your GPU (BS-RoFormer through python-audio-separator), listens to the isolated vocal with Whisper, force-aligns your lyrics to the audio so every word has a start and end, checks the timing by round trip, and renders a 1080p video where the current word fills with colour. It also writes the LRC files, an A4 lyric sheet PDF and, when two people sing, splits the singers by pitch and makes a track where your part is silent. No upload, no account, no per-song fee. MIT licensed.


Real output of this repo on a 24 s demo song: "Twinkle, Twinkle, Little Star" (public-domain words) in two synthetic text-to-speech voices over a backing track we synthesised in code. Teal = low voice, pink = high voice, detected from pitch. A TTS voice speaks the words rhythmically; it does not sing, so this tests the pipeline, not singing quality. Full video: media/demo.mp4.
Install in 1 minute
npx skills add 2boysfromtown/karaoke-video-maker-ai-vocal-remover-word-synced-lyrics-claude-code-offline --global --agent claude-code
Or as a Claude Code plugin:
claude plugin marketplace add 2boysfromtown/karaoke-video-maker-ai-vocal-remover-word-synced-lyrics-claude-code-offline
claude plugin install 2bft-karaoke-video-maker@2bft
Then the Python side (details and the model downloads in references/setup.md):
pip install torch torchaudio # pick the CUDA build for your driver from pytorch.org
pip install -r requirements.txt # audio-separator, faster-whisper, librosa, Pillow, soundfile
You also need ffmpeg (with libass) on PATH. Then tell Claude:
Make a karaoke video from C:\songs\my-song.mp3. The lyrics are public domain, here they are: ...
Make a karaoke track from the command line (without Claude)
The bundled demo runs end to end with these commands; every step is its own command if you want to stop and fix something:
KK=skills/karaoke-video-maker-vocal-remover-lyrics-sync/scripts
python -I $KK/kk.py init my-song --song song.mp3 --title "My Song" --language en # project.json + lyrics.tsv template
python -I $KK/kk.py separate my-song # take the singing out (GPU) -> work/stems/karaoke.wav, vocals.wav
python -I $KK/kk.py listen my-song # Whisper on the vocal -> work/whisper.txt, windows.txt (write lyrics.tsv from this)
python -I $KK/kk.py all my-song # everything: autopin, align, round-trip check, pitch, build, sheet, render
python -I $KK/karaoke.py song.mp3 --mp3 # or only the vocal remover, on any file
Run the bundled public-domain demo: python -I $KK/kk.py all examples/twinkle. Its real outputs are in examples/twinkle.
What you get
| File | What it is |
|---|
*_karaoke-video.mp4 | 1080p karaoke video: instrumental audio, current word fills with colour, next line preview, count-in dots, colour per singer, progress bar |
*_karaoke.ass | the karaoke subtitles (word timing as \kf); also plays over any instrumental in VLC or mpv |
*.lrc, *_word-timed.lrc, *_roman.lrc | synced lyrics for music apps: line-timed, per-word (enhanced LRC), and the Latin-letter version for two-script songs |
*_instrumental.wav / .mp3 | the music with all the singing removed |
*_guide-vocal.mp3 | instrumental plus the original singing, quiet, to practise with |
*_you-sing-<name>.mp3 | duets: that singer's lines are silent for you, the other singer's stay |
*_vocals-only.mp3 | the isolated singing |
*_lyric-sheet.pdf | printable A4 lyric sheet with times and who sings |
*_lyrics.txt | plain lyrics with times |
Results (measured on our PC, not estimated)