You need to enable JavaScript to run this app.
文档中心
机器翻译

机器翻译

复制全文
下载 pdf
视频管理
VideoEditorListSubtitles - 获取字幕列表
复制全文
下载 pdf
VideoEditorListSubtitles - 获取字幕列表

获取指定子任务(单集任务)的字幕列表

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。

参数
类型
是否必填
示例值
描述
Action
String
是

VideoEditorListSubtitles

要执行的操作,取值:VideoEditorListSubtitles。

Version
String
是

2021-05-21

API的版本,取值:2021-05-21。

subtaskId
String
是

"675969"

子任务id

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构。

参数
类型
示例值
描述
data
Array of Object

[
{
"startTime": "12540",
"endTime": "13340",
"status": "2",
"createTime": "1766723905",
"updateTime": "1774962160",
"id": "490837103",
"speakerId": "32421401090",
"aiVoiceId": "32421401858",
"segmentId": "5c156e99-1f4d",
"operator": "pipeline",
"source": {
"text": "刘少"
},
"target": {
"text": "منصور الصغير"
},
"sourceStyle": "",
"targetStyle": "",
"effectType": 0,
"sourceLqaData": "",
"targetLqaData": "",
"voiceTosUrl": "https://sf1-cdn-tos.huoshanstatic.com/obj/ies.fe.starling/seg_32403403778_490837103_2_1774962159_dba057d0.mp3?duration=3892&end_time=978&index=0&match_score=94&speed_factor=1.14&start_time=0&total=3",
"relatedSegmentId": "47220e04-9631-47f7-b45f-2293c091abcb"
}

]

字幕列表

请求示例

GET /?Action=VideoEditorListSubtitles&Version=2021-05-21&subTaskId=15557560
HOST:open.volcengineapi.com
ServiceName:i18n_openapi

返回示例

{
  "data": [
    {
      "segmentId": "seg_1",
      "operator": "demo_user",
      "startTime": 0,
      "endTime": 1800,
      "source": {
        "text": "hello",
      },
      "target": {
        "text": "你好",
      },
      "status": 0,
      

      "createTime": 1710000000000,
      "updateTime": 1710000000000,
      "sourceStyle": "",
      "targetStyle": "",
      "effectType": 0,
      "id": 1,
      "voiceTosUrl": "",
      "speakerId": 1001,
      "aiVoiceId": 2001,
    }
  ]
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
1001

Server Error

服务内部错误

最近更新时间:2026.08.21 14:04:55
这个页面对您有帮助吗?
有用
有用
无用
无用