SubmitVideoTranslationJob
Submits a video translation task. This operation supports subtitle-level translation (translating subtitles in a video into a specified language), voice-level translation (translating spoken content in audio into a specified language), and face-level translation (lip-sync adaptation).
Operation description
-
For this operation, the region in the OSS URL of all media assets must match the region of the OpenAPI endpoint.
-
This operation supports 30 queries per second (QPS). When a large number of tasks are submitted, they are automatically queued and processed with dynamic scaling. There is no limit on the number of concurrent executions.
-
This is an asynchronous operation. After a task is submitted, a task ID is returned. The task is not completed at this point and enters a background queue for asynchronous execution. The final result is sent through a callback notification. You can also call Get intelligent task results to proactively query the task status.
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 |
The input parameters for the video translation task.
|
{"Type":"Video","Video":"1628ae20c36******8f6f7c77a6302"} |
| EditingConfig |
string |
No |
The configuration parameters for the video translation task. Must be in JSON format. |
{"SourceLanguage":"zh","TargetLanguage":"en","DetextArea":"Auto"} |
| OutputConfig |
string |
No |
The output parameters for the video translation task. Supports video and subtitle file types as output. |
{"MediaURL": "https://your-bucket.oss-cn-shanghai.aliyuncs.com/your-object.mp4"} |
| Title |
string |
No |
The task title. |
Test Title |
| Description |
string |
No |
The task description. |
Test Description |
| UserData |
string |
No |
The custom information in JSON format. The maximum length is 512 bytes. |
{"NotifyAddress":"http://xx.xx.xxx"} |
| ClientToken |
string |
No |
Ensures the idempotence of the request. |
Test ClientToken |
| SignatureMehtod |
string |
No |
Automatically populated. You do not need to specify this parameter. |
Auto-complete, no need to write |
| SignatureType |
string |
No |
Automatically populated. You do not need to specify this parameter. |
Auto-complete, no need to write |
For detailed metric descriptions and examples, refer to Introduction and examples of video translation parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
| Data |
object |
The response data. |
|
| JobId |
string |
The ID of the video translation task. |
****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.