SuperAPI AI 工具集

openai-whisper

通用与其它

查看项目

更新于 10-16 05:54

技能介绍

用途:通过 whisper 命令行在本地把音频转成文字,无需 API key。

主要能力:支持转写与翻译任务,可选择不同模型,并用不同输出格式保存结果,例如 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;模型越小速度越快,越大准确率越高。其他参数、平台要求与性能数据暂未提供。