/install coze-asr
Coze Automatic Speech Recognition (ASR)
Transcribe audio files to text using Coze API.
Setup
1. Get your API Key: Get a key from Coze Platform
2. Set it in your environment:
export COZE_API_KEY="your-key-here"
Supported Audio Formats
- MP3 - Recommended
- WAV - Supported
- OGG - Supported (包括 opus 编码)
Note: Coze API 原生支持 mp3、wav、ogg 格式,无需转换。
Usage
Basic Transcription
Transcribe an audio file:
bash scripts/speech_to_text.sh recording.mp3
Full Options
bash scripts/speech_to_text.sh \x3Caudio_file> [language]
Parameters:
audio_file(required): Path to audio filelanguage(optional): Language code (default: zh)
Output Format
The script outputs JSON with transcribed text.
Example output:
{
"text": "你好,这是转录的文本内容"
}
Troubleshooting
File Size Issues:
- Check Coze API documentation for file size limits
- Reduce sample rate or bit depth if needed
Poor Accuracy:
- Improve audio quality
- Ensure clear speech and minimal noise
- Use appropriate language code
Format Issues:
- Ensure file is not corrupted
- Verify audio can be played by standard players
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install coze-asr - 安装完成后,直接呼叫该 Skill 的名称或使用
/coze-asr触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Coze Asr 是什么?
Automatic Speech Recognition (ASR) using Coze API. Use when you need to transcribe audio files to text. Supports Chinese audio transcription via Coze's speec... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 216 次。
如何安装 Coze Asr?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install coze-asr」即可一键安装,无需额外配置。
Coze Asr 是免费的吗?
是的,Coze Asr 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Coze Asr 支持哪些平台?
Coze Asr 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Coze Asr?
由 xiaofei(@franklu0819-lang)开发并维护,当前版本 v1.0.0。