Transcribe audio via API Whisper with any compatible local servers.
通过OpenAI的/v1/audio/transcriptions端点转录音频文件。
bash
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a
默认配置:
bash
{baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model whisper-1 --out /tmp/transcript.txt
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --language en
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --prompt 说话人姓名:Peter, Daniel
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --json --out /tmp/transcript.json
设置WHISPERAPIKEY和WHISPERAPIHOST,或在~/.clawdbot/clawdbot.json中配置:
json5
{
skills: {
openai-whisper-api: {
apiKey: 在此处填写WHISPERAPIKEY,
apiHost: 在此处填写WHISPERAPIHOST
}
}
}
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 any-whisper-api-1776302307 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 any-whisper-api-1776302307 技能
skillhub install any-whisper-api-1776302307
文件大小: 2.11 KB | 发布时间: 2026-4-16 18:30