Install
openclaw skills install coze-asrAutomatic Speech Recognition (ASR) using Coze API. Use when you need to transcribe audio files to text. Supports Chinese audio transcription via Coze's speech-to-text API.
openclaw skills install coze-asrTranscribe audio files to text using Coze API.
1. Get your API Key: Get a key from Coze Platform
2. Set it in your environment:
export COZE_API_KEY="your-key-here"
Note: Coze API 原生支持 mp3、wav、ogg 格式,无需转换。
Transcribe an audio file:
bash scripts/speech_to_text.sh recording.mp3
bash scripts/speech_to_text.sh <audio_file> [language]
Parameters:
audio_file (required): Path to audio filelanguage (optional): Language code (default: zh)The script outputs JSON with transcribed text.
Example output:
{
"text": "你好,这是转录的文本内容"
}
File Size Issues:
Poor Accuracy:
Format Issues: