用途:使用 Whisper 命令行工具在本地进行语音转文字,无需 API key。
主要能力:支持音频转写与翻译任务,可指定模型、输出格式和输出目录。示例:whisper /path/audio.mp3 --model medium --output_format txt --output_dir .;whisper /path/audio.m4a --task translate --output_format srt。
使用方式:在命令行中传入音频路径,按需设置 --model、--output_format、--output_dir、--task 等参数。模型首次运行时下载到 ~/.cache/whisper。该安装中 --model 默认值为 turbo。
适用场景:需要本地完成音频转写或翻译,且希望避免使用 API key 的场景。
限制:模型越大准确率越高但速度越慢,模型越小速度越快;未提供具体支持语言、硬件要求与准确率数据。