简体中文
cURL
curl --request POST \ --url https://geekai.co/api/v2/audio/transcriptions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "doubao-transcribe", "audio": { "url": "https://example.com/audio.wav", "format": "mp3" }, "retries": 0 }'
{ "text": "<string>", "duration": 123 }
将音频文件转换为文字的接口,支持多种音频格式和转录选项。
JWT认证token
语音识别模型
音频文件信息
Show child attributes
自动重试次数,默认0,表示失败不重试
成功响应
转录文本
音频总时长(秒)