调用 GetAITranslationProject 接口获取 AI 翻译项目的详细信息,包括项目基本信息和附加信息(说话者信息、源语言对话文本和目标语言对话文本等)。
请求地址:https://vod.volcengineapi.com?Action=GetAITranslationProject&Version=2025-01-01
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共请求参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | GetAITranslationProject | 接口名称。当前 API 的名称为 GetAITranslationProject。 |
Version | String | 是 | 2025-01-01 | 接口版本。当前 API 的版本为 2025-01-01。 |
SpaceName | String | 是 | test | |
ProjectId | String | 是 | 684038d6b71***05b266fefe | 项目 ID。您可通过以下方式获取项目 ID:
|
Additions | String | 否 | Speakers,SourceUtterances,TargetClips | 指定需要返回的附加信息类型,多个类型用逗号分隔。不传此参数时仅返回项目基本信息。支持的附加信息类型如下:
|
下表仅列出本接口特有的返回参数。更多信息请见公共返回参数。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
ProjectInfo | Object | - | 项目信息 |
ProjectId | String | 684038d6***c9005b266fefe | 项目 ID |
ProjectVersion | String | 01c4fa5da***48a588a46f81e282b100 | 项目版本 |
WorkflowId | String | 684038d6***c9005b266fefd | 工作流 ID |
CreatedAt | String | 1749039318 | 项目创建时间,Unix 时间戳,精度为秒。 |
UpdatedAt | String | 1749039973 | 项目更新时间,Unix 时间戳,精度为秒。 |
Status | String | ProcessSucceed | 项目状态,取值如下:
|
InputVideoTitle | String | example.mp4 | 输入视频名称 |
TranslationTypeList | String[] | ["SubtitleTranslation","VoiceTranslation", "FacialTranslation"] | 执行的翻译类型组合,支持以下选项:
说明 翻译类型详细介绍请见声影智译。 |
BackgroundAudio | Object | - | 背景音频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
ForegroundAudio | Object | - | 前景音频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
InputVideo | Object | - | 输入视频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
PreviewVideo | Object | - | 预览视频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
PreviewVideoMuted | Object | - | 预览视频无音频 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
OutputVideo | Object | - | 输出视频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
VoiceTranslationVideo | Object | - | 语音翻译视频 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
FacialTranslationVideo | Object | - | 面容翻译视频 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
Speakers | Object[] | - | 说话人信息,仅当请求参数 Additions 中包含 Speakers时返回。 |
Id | String | 68403b65e***4cc4835c80f4 | 说话人 ID |
Name | String | Speaker 1 | 说话人名称 |
Voice | String | zh_female_***_bigtts | 说话人初始音色 |
ProjectId | String | 684038d***1c9005b266fefe | 项目 ID |
CurrentVoice | String | zh_male_***_bigtts | 说话人当前音色 |
SourceUtterances | Object[] | - | 源语言句段信息。仅当请求参数 Additions 中包含 SourceUtterances时返回。 |
Id | String | 68403b65***64cc4835c8141 | 句段 ID |
SpeakerId | String | 68403b65***64cc4835c80f4 | 说话人 ID |
BlueprintId | String | 684038d6***c9005b266feff | 蓝图 ID |
ClipId | String | 68403b65***64cc4835c8104 | 片段 ID |
Text | String | 文本内容 | 文本内容 |
ProjectId | String | 684038d6***c9005b266fefe | 项目 ID |
IsFacialTranslation | Boolean | false | 是否为面容翻译 |
TranslationType | String | source | 文本翻译类别,取值如下:
|
Status | String | online | 文本状态,取值如下:
|
SourceId | String | 68d144a***e8202f52f29b0 | 源语言句段 ID。仅当 TranslationType 为 target 时生效,用于提示该目标语言句段所对应的源语言句段。 |
TargetUtterances | Object[] | - | 目标语言句段信息。仅当请求参数 Additions 中包含 TargetUtterances时返回。 |
Id | String | 68403b65***64cc4835c8141 | 句段 ID |
SpeakerId | String | 68403b65***64cc4835c80f4 | 说话人 ID |
BlueprintId | String | 684038d6***c9005b266feff | 蓝图 ID |
ClipId | String | 68403b65***64cc4835c8104 | 片段 ID |
Text | String | 文本内容 | 文本内容 |
ProjectId | String | 684038d6***c9005b266fefe | 项目 ID |
IsFacialTranslation | Boolean | false | 是否为面容翻译 |
TranslationType | String | source | 文本翻译类别,取值如下:
|
Status | String | online | 文本状态,取值如下:
|
SourceId | String | 68d144a***e8202f52f29b0 | 源语言句段 ID。仅当 TranslationType 为 target 时生效,用于提示该目标语言句段所对应的源语言句段。 |
SourceTracks | Object[] | - | 源轨道信息,仅当请求参数 Additions 中包含 SourceTracks时返回。 |
Id | String | 68403b65ef364cc4835c80f9 | 轨道 ID |
BlueprintId | String | 684038d6b71c9005b266feff | 蓝图 ID |
SpeakerId | String | 68403b65ef364cc4835c80f4 | 说话者 ID |
TranslationType | String | source | 轨道翻译类型,取值如下:
|
TargetTracks | Object[] | - | 目标轨道信息,仅当请求参数 Additions 中包含 TargetTracks时返回。 |
Id | String | 68403b65ef364cc4835c80f9 | 轨道 ID |
BlueprintId | String | 684038d6b71c9005b266feff | 蓝图 ID |
SpeakerId | String | 68403b65ef364cc4835c80f4 | 说话者 ID |
TranslationType | String | source | 轨道翻译类型,取值如下:
|
SourceBlueprints | Object[] | - | 源语言蓝图 |
Id | String | 684038d6b71c9005b266feff | 蓝图 ID |
Language | String | zh | 语言,取值如下:
|
ProjectId | String | 684038d6b71c9005b266fefe | 项目 ID |
TranslationType | String | source | 翻译类型,取值如下:
|
TargetBlueprints | Object[] | - | 目标语言蓝图 |
Id | String | 684038d6b71c9005b266feff | 蓝图 ID |
Language | String | zh | 语言,取值如下:
|
ProjectId | String | 684038d6b71c9005b266fefe | 项目 ID |
TranslationType | String | source | 翻译类型,取值如下:
|
SourceClips | Object[] | - | 源语言片段信息,仅当请求参数 Additions 中包含 SourceClips时返回。 |
Id | String | 68403b65ef3***c4835c810b | 片段 ID |
Trim | Object | - | 片段时间信息 |
Start | Integer | 200 | 开始时间,单位为毫秒 |
End | Integer | 1100 | 结束时间,单位为毫秒 |
Volume | Integer | 100 | 音量,取值范围为 0-100 |
ClipAudio | Object | - | 片段音频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
ClipVideo | Object | - | 片段视频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
TranslationType | String | source | 片段翻译类型,取值如下:
|
TrackId | String | 68403****364cc4835c80fa | 轨道 ID |
TargetClips | Object[] | - | 目标语言片段,仅当请求参数 Additions 中包含 TargetClips时返回。 |
Id | String | 68403b65ef3***c4835c810b | 片段 ID |
Trim | Object | - | 片段时间信息 |
Start | Integer | 200 | 开始时间,单位为毫秒 |
End | Integer | 1100 | 结束时间,单位为毫秒 |
Volume | Integer | 100 | 音量,取值范围为 0-100 |
ClipAudio | Object | - | 片段音频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
ClipVideo | Object | - | 片段视频信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
TranslationType | String | source | 片段翻译类型,取值如下:
|
TrackId | String | 68403****364cc4835c80fa | 轨道 ID |
BackgroundClip | Object | - | 背景片段信息,仅当请求参数 Additions 中包含 BackgroundClip时返回。 |
Id | String | 684038d6b71c9005b266feff | 蓝图 ID |
Language | String | zh | 语言,取值如下:
|
ProjectId | String | 684038d6b71c9005b266fefe | 项目 ID |
TranslationType | String | source | 翻译类型,取值如下:
|
OperatorConfig | Object | - | 操作配置 |
SubtitleRecognitionConfig | Object | - | 字幕识别配置。字幕来源默认为 OCR。 |
RecognitionType | String | OCR | 字幕来源,取值如下:
说明 使用您自行提供的字幕文件作为来源时,您必须:
|
SourceSubtitleFileName | String | source_subtitle.vtt | 源语言字幕文件的 FileName。当 RecognitionType 为 SourceSubtitleFile 或 SourceAndTargetSubtitleFile 时必填。 |
TargetSubtitleFileName | String | target_subtitle.vtt | 目标语言字幕文件的 FileName。当 RecognitionType 为 SourceAndTargetSubtitleFile 时必填。 |
BilingualSubtitleFileName | String | dual_subtitle.vtt | 双语字幕文件的 FileName。当 RecognitionType 为 BilingualSubtitleFile 时必填。 |
SubtitleFileName | String | subtitle.vtt | (已废弃)字幕文件的 FileName。当字幕来源 注意 此参数已被 |
IsVision | Boolean | true | 是否开启视频理解。开启后,系统将综合理解视频画面和语音内容来生成字幕,识别结果更精准但耗时较长。默认值为 false。此模式需提交工单联系火山引擎技术支持团队申请加入白名单后方可使用。 |
VoiceCloneConfig | Object | - | 声音克隆与合成配置。当翻译类型 TranslationTypeList 包含 VoiceTranslation 时,您可以通过此参数对最终合成的音频进行精细化控制。 |
BackgroundVolume | Integer | 100 | 背景音音量。用于调节最终合成视频中背景音的音量大小。默认值为 100,表示保持原始背景音音量不变。取值范围为 [0, 100]。设置为 0 表示背景音完全静音。 |
ErrorMsg | String | ErrorMsg | 错误信息 |
ErrorCode | Integer | 0 | 错误码:
|
ErasedSubtitleVideo | Object | - | 已擦除字幕的视频信息,仅当提交 AI 翻译任务时开启擦除视频中的原有字幕时返回。 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
InputSubtitle | Object | - | 源语言的字幕文件信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
OutputSubtitle | Object | - | 目标语言的字幕文件信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
BilingualSubtitle | Object | - | 双语的字幕文件信息 |
IsAudio | Boolean | true | 是否为音频 |
Uri | String | tos-vod-cn-v-f724fac40***19c6/example.mp4 | 文件存储路径 |
Vid | String | v0299fg***4d103gsqljht10tatbreg | 文件 Vid。仅在 InputVideo 和 OutputVideo 结构中此字段有值。 |
DurationSecond | Double | 159.104 | 文件时长,单位为秒 |
Url | String | https://example.volcvideo.com/example.mp4 | 文件访问 URL |
FileName | String | video.mp4 | 文件路径,可用于拼接访问地址。 |
https://vod.volcengineapi.com?Action=GetAITranslationProject&Version=2025-01-01&SpaceName=video-edit-space&ProjectId=684038d6b71c***5b266fefe&Additions=Speakers,SourceUtterances,SourceTracks,SourceClips,TargetUtterances,TargetTracks,TargetClips,BackgroundClip
{ "ResponseMetadata": { "RequestId": "20230604110420****100232280022D31", "Action": "GetAITranslationProject", "Version": "2025-01-01", "Service": "vod", "Region": "cn-north-1" }, "Result": { "ProjectInfo": { "ProjectId": "684038d6***c9005b266fefe", "ProjectVersion": "01c4fa5da***48a588a46f81e282b100", "WorkflowId": "684038d6***c9005b266fefd", "CreatedAt": "1749039318", "UpdatedAt": "1749039973", "Status": "ProcessSucceed", "InputVideoTitle": "example.mp4", "TranslationTypeList": [ "SubtitleTranslation", "VoiceTranslation", "FacialTranslation" ], "BackgroundAudio": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "ForegroundAudio": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "InputVideo": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "PreviewVideo": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "PreviewVideoMuted": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "OutputVideo": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "VoiceTranslationVideo": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "FacialTranslationVideo": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "Speakers": [ { "Id": "68403b65e***4cc4835c80f4", "Name": "Speaker 1", "Voice": "zh_female_***_bigtts", "ProjectId": "684038d***1c9005b266fefe", "CurrentVoice": "zh_male_***_bigtts" } ], "SourceUtterances": [ { "Id": "68403b65***64cc4835c8141", "Text": "文本内容", "ClipId": "68403b65ef364cc4835c8104", "Status": "online", "SourceId": "000000000000000000000000", "ProjectId": "684038d6b71c9005b266fefe", "SpeakerId": "68403b65***64cc4835c80f4", "BlueprintId": "684038d6b71c9005b266feff", "TranslationType": "source", "IsFacialTranslation": true } ], "TargetUtterances": [ { "Id": "68403b65***64cc4835c8141", "Text": "文本内容", "ClipId": "68403b65ef364cc4835c8104", "Status": "online", "SourceId": "000000000000000000000000", "ProjectId": "684038d6b71c9005b266fefe", "SpeakerId": "68403b65***64cc4835c80f4", "BlueprintId": "684038d6b71c9005b266feff", "TranslationType": "target", "IsFacialTranslation": true } ], "SourceTracks": [ { "Id": "68403b65ef364cc4835c80f9", "SpeakerId": "68403b65ef364cc4835c80f4", "BlueprintId": "684038d6b71c9005b266feff", "TranslationType": "source" } ], "TargetTracks": [ { "Id": "68403b65ef364cc4835c80f9", "SpeakerId": "68403b65ef364cc4835c80f4", "BlueprintId": "684038d6b71c9005b266feff", "TranslationType": "target" } ], "SourceBlueprints": [ { "Id": "684038d6b71c9005b266feff", "Language": "zh", "ProjectId": "684038d6b71c9005b266fefe", "TranslationType": "source" } ], "TargetBlueprints": [ { "Id": "684038d6b71c9005b266feff", "Language": "zh", "ProjectId": "684038d6b71c9005b266fefe", "TranslationType": "target" } ], "SourceClips": [ { "Id": "68403b65ef364cc4835c810b", "Trim": { "End": 1100, "Start": 200 }, "Volume": 100, "TrackId": "68403b65ef364cc4835c80fa", "ClipAudio": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "ClipVideo": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "TranslationType": "source" } ], "TargetClips": [ { "Id": "68403b65ef364cc4835c810b", "Trim": { "End": 1100, "Start": 200 }, "Volume": 100, "TrackId": "68403b65ef364cc4835c80fa", "ClipAudio": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "ClipVideo": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "TranslationType": "target" } ], "BackgroundClip": { "Id": "684038d6b71c9005b266feff", "Language": "zh", "ProjectId": "684038d6b71c9005b266fefe", "TranslationType": "source" }, "OperatorConfig": { "SubtitleRecognitionConfig": { "RecognitionType": "OCR" } }, "ErrorMsg": "ErrorMsg", "ErrorCode": 0, "ErasedSubtitleVideo": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "InputSubtitle": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 }, "OutputSubtitle": { "Uri": "tos-vod-cn-v-f724fac40***19c6/败给月光1.mp4", "Url": "https://example.volcvideo.com/%E8%B4%A5%E7%BB%99%E6%9C%88%E5%85%891.mp4", "Vid": "v0299fg***4d103gsqljht10tatbreg", "IsAudio": true, "FileName": "video.mp4", "DurationSecond": 159.104 } } } }
当 ErrorCode 非 0 时,请先记录 ProjectId、WorkflowId、ErrorCode 和 ErrorMsg,再结合错误发生阶段排查。以下为通用排查建议,不代表已确定的故障原因:
500200:核对当前项目状态及 ErrorMsg,向技术支持提供工作流 ID,以排查回调状态缺失的原因。500100、500210:向技术支持提供上述信息,排查工作流内部或后处理阶段的错误。500110、500120、500130、500140:分别对应背景音分离、字幕文本翻译、语音翻译、面容翻译阶段。结合 ErrorMsg 核对该阶段的输入和配置;若无法定位,向技术支持提供项目及工作流信息。本接口无特有的错误码。更多信息请见公共错误码。