Volcengine STT
Use this skill to run speech-to-text through Volcengine.
Quick start
CODEBLOCK0
Default behavior:
- - Endpoint: INLINECODE0
- Model: INLINECODE1
- Auth header: INLINECODE2
- Output file: INLINECODE3
Required env
Optional:
- -
ARK_BASE_URL (default: https://ark.cn-beijing.volces.com/api/v3) - INLINECODE7 (default:
doubao-seed-asr-1-0)
Useful flags
CODEBLOCK1
Integration notes
- - For OpenClaw voice-message handling, call this script instead of Whisper script.
- Keep keys in machine-local config or env, never commit secrets.
- If your Volcengine account uses a different model name, pass
--model or set ARK_STT_MODEL.
Volcengine STT
使用此技能通过火山引擎运行语音转文字。
快速开始
bash
{baseDir}/scripts/transcribe.sh /path/to/audio.ogg
默认行为:
- - 端点:${ARKBASEURL:-https://ark.cn-beijing.volces.com/api/v3}/audio/transcriptions
- 模型:${ARKSTTMODEL:-doubao-seed-asr-1-0}
- 认证头:Authorization: Bearer $ARKAPIKEY
- 输出文件:<输入文件名>.txt
必需环境变量
可选:
- - ARKBASEURL(默认值:https://ark.cn-beijing.volces.com/api/v3)
- ARKSTTMODEL(默认值:doubao-seed-asr-1-0)
实用参数
bash
将纯文本保存到自定义路径
{baseDir}/scripts/transcribe.sh ./voice.ogg --out /tmp/voice.txt
强制指定模型
{baseDir}/scripts/transcribe.sh ./voice.ogg --model doubao-seed-asr-1-0
返回原始JSON(用于调试/集成)
{baseDir}/scripts/transcribe.sh ./voice.ogg --json --out /tmp/voice.json
按需提示语言/提示词
{baseDir}/scripts/transcribe.sh ./voice.ogg --language zh --prompt 中英混合,保留术语
集成说明
- - 对于OpenClaw语音消息处理,请调用此脚本而非Whisper脚本。
- 将密钥保存在机器本地配置或环境变量中,切勿提交密钥。
- 如果您的火山引擎账户使用不同的模型名称,请传递--model参数或设置ARKSTTMODEL。