Warning
It only supports Mac as a deliberate design choice. This project is vibe coded, so the minimalistic scope is required to make sure AI models can actually make something decent.
Utilizes silero VAD for detecting when charaters are speaking, then uses whisper-ja-anime-v0.1 for generating "native" subtitles.
Features:
- Supports GPU acceleration trough MPS.
- Offline first. The models will be downloaded and cached in the
~/.cachefolder (~2GB-4GB in total). The script will then use those, instead of pinging the network.
ffmpeg needs to be installed.
git clone https://github.com/mintc2/anime-transcribe
cd anime-transcribe
uv syncTranscribe with the default output path:
uv run anime-transcribe /path/to/video/fileTranscribe to a user defined output dir:
anime-transcribe -o /path/where/to/output /path/to/video/fileDuring the first run, the script will downloaded the weights of the used models (~2GB). This might take a while depending on the internet connection quality.
Delete the cloned project
rm -rf /wherverer/its/installed/anime-transcribeClean the bulky uv cache and the installed models
rm -rfi ~/.cache/uv ~/.cache/huggingface ~/.cache/torch