By using this API, you can submit a video translation job. The following translation types are currently supported: subtitle-level translation (translating subtitles in the video into a specified language), voice-level translation (translating spoken audio content into a specified language), and face-level translation (lip-sync adaptation).
Operation description
-
For this API, the region in the OSS URL of all media assets must match the region in the OpenAPI endpoint.
-
This API supports 30 queries per second (QPS 30). When a large number of jobs are submitted, they are automatically queued and processed with dynamic scale-out, with no limit on the number of concurrent executions.
-
After submitting a video translation job, a JobId is returned. You can subsequently use this JobId to invoke the GetSmartHandleJob API to retrieve the job status and result information.
Important For detailed parameter descriptions and examples of this API, refer to the following document: Introduction and Examples of Video Translation Parameters
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitVideoTranslationJob |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InputConfig |
string |
No |
|
{"Type":"Video","Video":"1628ae20c36******8f6f7c77a6302"} |
| EditingConfig |
string |
No |
|
{"SourceLanguage":"zh","TargetLanguage":"en","DetextArea":"Auto"} |
| OutputConfig |
string |
No |
|
{"MediaURL": "https://your-bucket.oss-cn-shanghai.aliyuncs.com/your-object.mp4"} |
| Title |
string |
No |
|
Test Title |
| Description |
string |
No |
|
Test Description |
| UserData |
string |
No |
|
{"NotifyAddress":"http://xx.xx.xxx"} |
| ClientToken |
string |
No |
|
Test ClientToken |
| SignatureMehtod |
string |
No |
Automatically completed; no need to specify. |
Auto-complete, no need to write |
| SignatureType |
string |
No |
Automatically completed; no need to specify. |
Auto-complete, no need to write |
For detailed parameter descriptions and examples, see: Introduction and Examples of Video Translation Parameters
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
object |
The data returned. |
|
| JobId |
string |
The ID of the video translation job. |
****d718e2ff4f018ccf419a7b71**** |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"Success": true,
"Data": {
"JobId": "****d718e2ff4f018ccf419a7b71****"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.