{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "modelscope-funasr--make-srt-subtitles-from-audio-with-funasr",
 "repo": "modelscope/FunASR",
 "repo_url": "https://github.com/modelscope/FunASR",
 "repo_slug": "modelscope-funasr",
 "title": "Make SRT subtitles from audio files",
 "page_title": "How to make SRT subtitles from audio files with FunASR",
 "summary": "Use the agent friendly funasr CLI to transcribe one file or a whole batch straight to SRT subtitle files.",
 "who": "A video creator or podcaster who needs captions.",
 "problem": "Captioning by hand is slow, and many tools handle Chinese and mixed language audio poorly.",
 "outcome": "An SRT file per audio file in an output folder.",
 "steps": [
  "Install with `pip install torch torchaudio` and then `pip install funasr`",
  "Transcribe one file with `funasr audio.wav` to check the output",
  "Write subtitles with `funasr audio.wav --output-format srt --output-dir ./subs`",
  "Batch a folder with `funasr *.wav --output-format srt --output-dir ./output`"
 ],
 "agent_prompt": "Using modelscope/FunASR, install it on CPU and run `funasr *.wav --output-format srt --output-dir ./output` in <my audio folder>, then show me the first subtitle file.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "The default CLI model is sensevoice; pick paraformer-en or fun-asr-nano with --model for other needs.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "",
 "requirements": [
  "Python >= 3.8 with PyTorch and torchaudio installed first, then `pip install funasr`",
  "A CPU is enough for SenseVoiceSmall; use device cuda only after confirming torch.cuda.is_available() prints True",
  "Python 3.11 plus fastapi, uvicorn and python-multipart for the local HTTP server"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/modelscope-funasr/make-srt-subtitles-from-audio-with-funasr/",
 "md": "https://dedupedai.com/use-cases/modelscope-funasr/make-srt-subtitles-from-audio-with-funasr/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/modelscope-funasr--make-srt-subtitles-from-audio-with-funasr.json",
 "api_version": "v1"
}
