简体中文
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
成功响应
The response is of type object.
object