语音转文本启动作业
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v2/audio/speech_to_text_async
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v2/audio/speech_to_text_async' \
--header 'Authorization;' \
--header 'content-type: application/json' \
--data-raw '{
"show_original_response": false,
"speakers": 2,
"profanity_filter": false,
"convert_to_wav": false
}'
响应示例响应示例
{
"public_id": "48488bdc-1e86-413d-a80d-e3a305c6c645"
}
请求参数
Header 参数
content-type
string
必需
示例值:
application/json
Authorization
string
必需
默认值:
Bearer <your_key>
Body 参数application/json
返回响应
修改于 2024-04-10 07:50:35