SuperAPI AI 工具集

openai-whisper

办公与效率

查看项目

更新于 10-16 04:31

技能介绍

用途:使用 Whisper 命令行工具在本地对音频进行语音转文字,无需 API key。

主要能力:支持转写音频,也支持翻译任务(--task translate),可指定输出格式与输出目录,例如 txt、srt。

用法示例: whisper /path/audio.mp3 --model medium --output_format txt --output_dir . whisper /path/audio.m4a --task translate --output_format srt

说明与限制:首次运行会把模型下载到 ~/.cache/whisper;在该安装中 --model 默认值为 turbo;模型越小速度越快,模型越大准确度越高。