Obtain detailed information about batch Intelligent One-Click Video Editing jobs, including the input parameters, job status, and the IDs and URLs of the generated media assets. This API supports querying job data from the past year only.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetBatchMediaProducingJob |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
The ID of the quick video production job. |
****b4549d46c88681030f6e**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
****36-3C1E-4417-BDB2-1E034F**** |
| EditingBatchJob |
object |
The information about the quick video production job. |
|
| JobId |
string |
The job ID. |
****b6b2750d4308892ac3330238**** |
| InputConfig |
string |
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 |
The editing configurations. For more information, see EditingConfig. |
{ "MediaConfig": { "Volume": 0 }, "SpeechConfig": { "Volume": 1 }, "BackgroundMusicConfig": { "Volume": 0.3 } } |
| OutputConfig |
string |
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} } |
| Status |
string |
The job state. Valid values: Init: The job is initialized. Processing: The job is in progress. Finished: The job is complete. |
Finished |
| UserData |
string |
The user-defined data, including the business and callback configurations. For more information, see UserData. |
{"NotifyAddress":"http://xx.xx.xxx"} |
| Extend |
string |
The extended information. This parameter contains the following fields: ErrorCode: the error code of the main job. ErrorMessage: the error message of the main job. |
{ "ErrorCode": "InvalidMaterial.NotFound", "ErrorMessage": "The specified clips id not found:[\"****30d0b5e871eebb2ff7f6c75a****\"]" } |
| CreateTime |
string |
The time when the job was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2024-06-13T08:47:07Z |
| ModifiedTime |
string |
The time when the job was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2024-06-13T08:57:07Z |
| CompleteTime |
string |
The time when the job was complete. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2024-06-13T08:57:07Z |
| JobType |
string |
Task Type:
|
Script |
| SubJobList |
array<object> |
The quick video production subjobs. |
|
|
object |
The information about the quick video production subjob. |
||
| MediaId |
string |
The ID of the output media asset. |
****1470b11171ee9d19e7e6c66a**** |
| JobId |
string |
The subjob ID. |
****8e81933d44e3ae69e2f81485**** |
| MediaURL |
string |
The URL of the output file. |
http:/xxx.oss-cn-shanghai.aliyuncs.com/xxx_0.mp4 |
| Status |
string |
The subjob state. Valid values: Init: The subjob is initialized. Processing: The subjob is in progress. Success: The subjob is successful. Failed: The subjob failed. |
Success |
| ErrorCode |
string |
The error code that is returned if the subjob failed. This parameter is not returned if the subjob is successful. |
InvalidMaterial.NotFound |
| ErrorMessage |
string |
The error message that is returned if the subjob failed. This parameter is not returned if the subjob is successful. |
The specified clips id not found:["****30d0b5e871eebb2ff7f6c75a****"] |
| ProjectId |
string |
The ID of the online editing project. |
****7cc47fe04eaa81bd853acb6a**** |
| Duration |
number |
The duration of the output video, in seconds (s). |
24.5 |
| ExtendInput |
string |
Additional input.
|
["****7cc47fe04eaa81bd853acb6a****", "****04eaa7cc47fe81bd853acb6a****"] |
| ExtendOutput |
string |
Additional outputs.
|
{ "textMatchMediaOutputList": [{ "textMatchMediaSentenceOutputList": [{ "duration": 3.366667, "matchClipList": [{ "clipId": "null-2", "endTime": 11.16, "mediaId": "****a0900f5071efbf1ce7e6c66a****", "score": -0.253, "startTime": 8.04 }], "text": "A new Hema Fresh store has opened in the nearby shopping mall", "textId": "0" }, { "duration": 1.566667, "matchClipList": [{ "clipId": "null-1", "endTime": 1.54, "mediaId": "****a0900f5071efbf1ce7e6c66a****", "score": -0.2326, "startTime": 0 }], "text": "Today is the first day of opening", "textId": "0" } ] }] } |
Examples
Success response
JSON format
{
"RequestId": "****36-3C1E-4417-BDB2-1E034F****",
"EditingBatchJob": {
"JobId": "****b6b2750d4308892ac3330238****",
"InputConfig": "{\n \"MediaGroupArray\": [{\n \"GroupName\": \"MediaGroup1\",\n \"MediaArray\": [\n \"****9d46c886b45481030f6e****\",\n \"****6c886b4549d481030f6e****\" ]\n }, {\n \"GroupName\": \"MediaGroup2\",\n \"MediaArray\": [\n \"****d46c886810b454930f6e****\",\n \"****4549d886810b46c30f6e****\" ]\n }],\n \"TitleArray\": [\n \"Huilongguan Hema Fresh has opened\",\n \"Hema Fresh has opened\" ],\n \"SpeechTextArray\": [\n \"A new Hema Fresh store has opened in the nearby shopping mall,Today is the first day of opening\"\n \"There are quite a few people in the mall,Snacks,drinks are relatively cheap. Everyone come and check it out\" ]\n}",
"EditingConfig": "{\n \"MediaConfig\": {\n \"Volume\": 0\n },\n \"SpeechConfig\": {\n \"Volume\": 1\n },\n \"BackgroundMusicConfig\": {\n \"Volume\": 0.3\n }\n}",
"OutputConfig": "{\n \"MediaURL\": \"http://xxx.oss-cn-shanghai.aliyuncs.com/xxx_{index}.mp4\",\n \"Count\": 20,\n \"MaxDuration\": 15,\n \"Width\": 1080,\n \"Height\": 1920,\n \"Video\": {\"Crf\": 27}\n}",
"Status": "Finished",
"UserData": "{\"NotifyAddress\":\"http://xx.xx.xxx\"}",
"Extend": "{\n\t\"ErrorCode\": \"InvalidMaterial.NotFound\",\n\t\"ErrorMessage\": \"The specified clips id not found:[\\\"****30d0b5e871eebb2ff7f6c75a****\\\"]\"\n}",
"CreateTime": "2024-06-13T08:47:07Z",
"ModifiedTime": "2024-06-13T08:57:07Z\n",
"CompleteTime": "2024-06-13T08:57:07Z\n",
"JobType": "Script",
"SubJobList": [
{
"MediaId": "****1470b11171ee9d19e7e6c66a****",
"JobId": "****8e81933d44e3ae69e2f81485****",
"MediaURL": "http:/xxx.oss-cn-shanghai.aliyuncs.com/xxx_0.mp4",
"Status": "Success",
"ErrorCode": "InvalidMaterial.NotFound",
"ErrorMessage": "The specified clips id not found:[\"****30d0b5e871eebb2ff7f6c75a****\"]",
"ProjectId": "****7cc47fe04eaa81bd853acb6a****",
"Duration": 24.5
}
],
"ExtendInput": "[\"****7cc47fe04eaa81bd853acb6a****\", \"****04eaa7cc47fe81bd853acb6a****\"]",
"ExtendOutput": "{\n\t\"textMatchMediaOutputList\": [{\n\t\t\"textMatchMediaSentenceOutputList\": [{\n\t\t\t\t\"duration\": 3.366667,\n\t\t\t\t\"matchClipList\": [{\n\t\t\t\t\t\"clipId\": \"null-2\",\n\t\t\t\t\t\"endTime\": 11.16,\n\t\t\t\t\t\"mediaId\": \"****a0900f5071efbf1ce7e6c66a****\",\n\t\t\t\t\t\"score\": -0.253,\n\t\t\t\t\t\"startTime\": 8.04\n\t\t\t\t}],\n\t\t\t\t\"text\": \"A new Hema Fresh store has opened in the nearby shopping mall\",\n\t\t\t\t\"textId\": \"0\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"duration\": 1.566667,\n\t\t\t\t\"matchClipList\": [{\n\t\t\t\t\t\"clipId\": \"null-1\",\n\t\t\t\t\t\"endTime\": 1.54,\n\t\t\t\t\t\"mediaId\": \"****a0900f5071efbf1ce7e6c66a****\",\n\t\t\t\t\t\"score\": -0.2326,\n\t\t\t\t\t\"startTime\": 0\n\t\t\t\t}],\n\t\t\t\t\"text\": \"Today is the first day of opening\",\n\t\t\t\t\"textId\": \"0\"\n\t\t\t}\n\t\t]\n\t}]\n}"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.