Coze ASR
Transcribe audio from a URL or local file using Coze ASR.
Quick start
node {skillDir}/scripts/asr.mjs --url "https://example.com/audio.mp3"
node {skillDir}/scripts/asr.mjs --file ./recording.mp3
Options
--url <url>,-u <url>remote audio URL--file <path>,-f <path>local audio file
Behavior
- One of
--urlor--fileis required. - If both
--urland--fileare provided, the local file input takes precedence. - Local files are read and uploaded as base64 audio content.
- Supported audio formats follow the SDK/API capability: WAV, MP3, OGG Opus, M4A.
- Recommended limits from the SDK docs: duration up to 2 hours, size up to 100MB.
- The CLI prints recognized
text, and may also printdurationandsegments. - The CLI does not print full
utterancesdetails or raw response payload. - This skill does not expose custom headers such as
--header,-H, or mock mode.
Notes
- The skill runtime requires
plugins.entries.coze-openclaw-plugin.config.apiKey. {skillDir}means the directory containing thisSKILL.md.- Local files are read and uploaded as base64 audio content.