SubmitBatchMediaProducingJob
Operation description
-
Intelligent One-click Video Production provides multiple Solutions, including [Script-based Automated Video Production], [Intelligent Text-to-Image Matching Video Production – General Scenario Edition], [Intelligent Text-to-Image Matching Video Production – Film and TV Highlights Edition], [Sporting Event Highlights Video Production], and [High-energy Mix-and-edit Video Production]. For feature details, see Intelligent One-click Video Production.
-
Script-based Automated Video Production and Intelligent Text-to-Image Matching Video Production share the same API for submitting jobs. For information on how to distinguish between them using parameters, see Parameter Differences for Intelligent One-click Video Production.
-
After submitting a batch Intelligent One-click Video Production job, you can invoke ListBatchMediaProducingJob to retrieve a list of all eligible one-click video production jobs. You can also invoke GetBatchMediaProducingJob to obtain detailed job information, including the job status, produced media asset IDs, and URLs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitBatchMediaProducingJob |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. |
****12e8864746a0a398**** |
| InputConfig |
string |
No |
The input configurations. For more information, see InputConfig. |
{ "MediaGroupArray": [{ "GroupName": "MediaGroup1", "MediaArray": [ "****9d46c886b45481030f6e****", "****6c886b4549d481030f6e****" ] }, { "GroupName": "MediaGroup2", "MediaArray": [ "****d46c886810b454930f6e****", "****4549d886810b46c30f6e****" ] }], "TitleArray": [ "Huilongguan Hema Fresh has opened", "Hema Fresh has opened" ], "SpeechTextArray": [ "A new Hema Fresh store has opened in the nearby shopping mall,Today is the first day of opening" "There are quite a few people in the mall,Snacks,drinks are relatively cheap. Everyone come and check it out" ] } |
| EditingConfig |
string |
No |
The editing configurations. For more information, see EditingConfig. |
{ "MediaConfig": { "Volume": 0 }, "SpeechConfig": { "Volume": 1 }, "BackgroundMusicConfig": { "Volume": 0.3 } } |
| OutputConfig |
string |
No |
The output configurations. For more information, see OutputConfig. |
{ "MediaURL": "http://xxx.oss-cn-shanghai.aliyuncs.com/xxx_{index}.mp4", "Count": 20, "MaxDuration": 15, "Width": 1080, "Height": 1920, "Video": {"Crf": 27} } |
| UserData |
string |
No |
The user-defined data, including the business and callback configurations. For more information, see UserData. |
{"NotifyAddress":"http://xx.xx.xxx"} or {"NotifyAddress":"https://xx.xx.xxx"} or {"NotifyAddress":"ice-callback-demo"} |
| TemplateConfig |
string |
No |
Template parameters. You can configure multiple one-click video production templates, and one will be randomly selected for application. For details, see TemplateConfig Parameter Guide. |
["****b4549d46c88681030f6e****","****549d46c88b4681030f6e****"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
****36-3C1E-4417-BDB2-1E034F**** |
| JobId |
string |
The ID of the quick video production job. |
****d80e4e4044975745c14b**** |
Examples
Success response
JSON format
{
"RequestId": "****36-3C1E-4417-BDB2-1E034F****",
"JobId": "****d80e4e4044975745c14b****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.