{
  "name": "vtc",
  "display_name": "视频转译",
  "description": "视频转译",
  "domain": "other",
  "api_version": "2024-02-23",
  "endpoint": "vtc.tencentcloudapi.com",
  "actions": [
    {
      "name": "ConfirmVideoTranslateJob",
      "description": "确认视频转译结果",
      "status": "online",
      "parameters": [
        {
          "name": "JobId",
          "type": "string",
          "required": true,
          "description": "视频翻译任务 ID",
          "example": "vlSYvQkMM0KwPuoakawm0tPrREwc2p7c"
        },
        {
          "name": "TranslateResults",
          "type": "array",
          "required": true,
          "description": "待确认文本",
          "example": "无",
          "item_type": "object",
          "children": [
            {
              "name": "SourceText",
              "type": "string",
              "required": true,
              "description": "原文本",
              "example": "无"
            },
            {
              "name": "TargetText",
              "type": "string",
              "required": true,
              "description": "目标文本",
              "example": "无"
            }
          ]
        }
      ],
      "required": [
        "JobId",
        "TranslateResults"
      ]
    },
    {
      "name": "DescribeVideoTranslateJob",
      "description": "查询视频转译任务",
      "status": "online",
      "parameters": [
        {
          "name": "JobId",
          "type": "string",
          "required": true,
          "description": "JobId。",
          "example": "vlSYvQkIM0KwPuoakawm0tPrREwc2p7c"
        }
      ],
      "required": [
        "JobId"
      ]
    },
    {
      "name": "SubmitVideoTranslateJob",
      "description": "###### 支持音色种别列表 | 音色名称 | 性别 | 目标语言 | 音色ID | | ------------------------ | ---- | ---------------- | ------ | | Florian Multilingual | 男 | 德语(德国) | 701001 | | Seraphina | 女 | 德语(德国) | 701002 | | Ada Multilingual | 女 | 英语(英国) | 701003 | | Ollie Multilingual | 男 | 英语(英国) | 701004 | | Ava Multilingual | 女 | 英语(美国) | 701005 | | Andrew Multilingual | 男 | 英语(美国) | 701006 | | Emma Multilingual | 女 | 英\ufffd...",
      "status": "online",
      "parameters": [
        {
          "name": "VideoUrl",
          "type": "string",
          "required": true,
          "description": "视频地址URL。 格式要求：支持 mp4、mov 。 时长要求：【10-300】秒。 fps 要求：【15-60】fps 分辨率要求：单边像素要求在 【540~1920】 之间。",
          "example": "http://xxx/video.mp4"
        },
        {
          "name": "SrcLang",
          "type": "string",
          "required": true,
          "description": "源语言：zh(中文), en(英文)",
          "example": "zh"
        },
        {
          "name": "DstLang",
          "type": "string",
          "required": true,
          "description": "目标语种： zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语) 示例值：ar(阿拉伯语)",
          "example": "en"
        },
        {
          "name": "AudioUrl",
          "type": "string",
          "required": false,
          "description": "当音频 URL 不为空时，默认以音频驱动视频任务口型。 格式要求：支持 mp3、m4a、acc、wav 格式。 时长要求：【10~300】秒 大小要求：不超过 100M。 示例值：http://xxx/audio.mp3",
          "example": "http://xxx/audio.mp3"
        },
        {
          "name": "RemoveVocal",
          "type": "integer",
          "required": false,
          "description": "是否需要去除VideoUrl或AudioUrl中背景音，取值范围：0-不需要，1-需要，默认0 。",
          "example": "0"
        },
        {
          "name": "Confirm",
          "type": "integer",
          "required": false,
          "description": "是否需要确认翻译结果0：不需要，1：需要",
          "example": "1"
        },
        {
          "name": "LipSync",
          "type": "integer",
          "required": false,
          "description": "是否开启口型驱动，0：不开启，1：开启。默认开启。",
          "example": "1"
        },
        {
          "name": "VoiceType",
          "type": "string",
          "required": false,
          "description": "音色种别：一种音色种别对应一种不同区域的音色 1）目标语种为小语种(非zh,en)时，该项为必填 2）目标语种为zh,en时，该项为非必填，若填入，则对应填入的音色 具体音色包含请见“支持音色种别列表”",
          "example": "701001"
        }
      ],
      "required": [
        "VideoUrl",
        "SrcLang",
        "DstLang"
      ]
    }
  ]
}