查询异步生成配音结果
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | VideoEditorQueryAsyncGenDubbingResult | 要执行的操作,取值:VideoEditorQueryAsyncGenDubbingResult。 |
Version | String | 是 | 2021-05-21 | API的版本,取值:2021-05-21。 |
subtaskId | String | 是 | 12345 | 子任务ID |
segmentId | String | 是 | seg_001 | 字幕段落ID |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
status | Integer | 2 | 任务状态:0-等待中,1-处理中,2-成功,3-失败 |
tosUrlList | Array of String | ['https://tos.example.com/audio1.mp3'] | 配音文件TOS地址列表 |
tosUrl | String | https://tos.example.com/audio.mp3 | 配音文件TOS地址 |
GET /?Action=VideoEditorQueryAsyncGenDubbingResult&Version=2021-05-21&subtaskId=12345&segmentId=seg_001 HTTP/1.1 Host: open.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20260331T091125Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260331/cn-beijing/i18n_openapi/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f {}
{ "ResponseMetadata": { "RequestId": "2026033117112912311503601596D968", "Action": "VideoEditorQueryAsyncGenDubbingResult", "Version": "2021-05-21", "Service": "i18n_openapi", "Region": "cn-beijing" }, "Result": { "status": 2, "tosUrl": "https://tos.example.com/audio.mp3", "tosUrllist": ["https://tos.example.com/audio1.mp3"] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
400 | 1001 | 服务内部错误 |