网淘吧Visual Components、Flexsim 仿真技术博客 | Python、C#、Delphi xe 机器人编程教程 - 网淘吧

Openai Whisper Api技能使用说明

2026-03-24 新闻来源:网淘吧 围观:168
电脑广告
手机广告

OpenAI Whisper API (curl)

通过OpenAI的/v1/audio/transcriptions端点转录音频文件。

快速开始

{baseDir}/scripts/transcribe.sh /path/to/audio.m4a

默认设置:

  • 模型:whisper-1
  • 输出:<input>.txt

实用标志

{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

API密钥

设置OPENAI_API_KEY环境变量,或在~/.clawdbot/clawdbot.json文件中配置:

{
  skills: {
    "openai-whisper-api": {
      apiKey: "OPENAI_KEY_HERE"
    }
  }
}

天猫隐藏优惠券

网淘吧

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏

文章底部电脑广告
手机广告位-内容正文底部

相关文章

上网淘巴领天猫淘宝优惠券,一年省好几千。

广告  ×

您是本站第1075882名访客 今日有0篇新文章/评论