语音交互服务 SIS-http接口:响应示例

时间:2025-01-26 10:45:24

响应示例

状态码:200

成功响应示例

{  "trace_id": "567e8537-a89c-13c3-a882-826321939651",  "result":{    "text": "欢迎使用语音云服务。",    "score": 0.9,    "word_info": [            {                "start_time": 150,                "end_time": 570,                "word": "欢迎"            },            {                "start_time": 570,                "end_time": 990,                "word": "使用"            },            {                "start_time": 990,                "end_time": 1380,                "word": "语音"            },            {                "start_time": 1380,                "end_time": 1590,                "word": "云"            },            {                "start_time": 1590,                "end_time": 2070,                "word": "服务"            }        ]  }}

状态码:400

失败响应示例

{     "error_code":"SIS.0001",     "error_msg":"***" }
support.huaweicloud.com/api-sis/sis_03_0094.html