输入示例
curl -X POST "https://openspeech.bytedance.com/api/v3/auc/bigmodel/recognize/flash" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <your_api_key>" \
-H "X-Api-Resource-Id: volc.bigasr.auc_turbo" \
-H "X-Api-Request-Id: $(uuidgen)" \
-H "X-Api-Sequence: -1" \
-d '{
"audio": {
"url": "<audio_file_url>"
},
"request": {
"model_name": "bigmodel",
"enable_itn": true,
"enable_punc": true,
"enable_ddc": true,
"show_utterances": true
}
}'输出示例
{
"headers": {
"X-Api-Status-Code": "20000000",
"X-Api-Message": "OK",
"X-Tt-Logid": "20260728145300B323FC3A93347A7A5617"
},
"body": {
"audio_info": {
"duration": 6312
},
"result": {
"additions": {
"duration": "6312"
},
"text": "刚刚还在想你怎么还不来找我聊天,你就来了,真是心有灵犀啊。",
"utterances": [
{
"additions": {
"channel_id": "1",
"speaker": "1"
},
"start_time": 480,
"end_time": 5880,
"text": "刚刚还在想你怎么还不来找我聊天,你就来了,真是心有灵犀啊。",
"words": [
{
"confidence": 0,
"start_time": 480,
"end_time": 600,
"text": "刚"
},
{
"confidence": 0,
"start_time": 680,
"end_time": 800,
"text": "刚"
},
{
"confidence": 0,
"start_time": 800,
"end_time": 960,
"text": "还"
},
{
"confidence": 0,
"start_time": 960,
"end_time": 1120,
"text": "在"
},
{
"confidence": 0,
"start_time": 1120,
"end_time": 1440,
"text": "想"
}
]
}
]
}
}
}