创建画面翻译任务
Create a visual translation job for video on-screen text
授权
Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API Key. The token in the sample code is referring to this api_key as well.
请求体
Publicly accessible URL of the input video for the server to download. Maximum supported input duration is 20 minutes.
Source language code. Auto detection is not supported; pass a supported language code such as en-US or zh-CN.
^[a-z]{2,3}(-[A-Za-z0-9]+)*$Target language code. Locale is optional and may include regional variants, e.g. en, en-US, zh, zh-CN, zh-CN-GUANGXI. Only the language part is validated against the supported list.
^[a-z]{2,3}(-[A-Za-z0-9]+)*$List of glossary IDs from the product. Up to 3 glossaries can be applied during translation for consistent terminology.
3Optional prompt to guide visual text translation style.
Controls project creation behavior in the web dashboard. editable creates an editable visual translation project; none disables project creation.
none, editable Webhook callback URL for status changes.
响应
Job queued
ID of the visual translation task.