Obtient des informations détaillées sur les tâches de montage vidéo intelligent en un clic par lot, y compris les paramètres d'entrée, l'état de la tâche, ainsi que les identifiants et les URL des ressources multimédias générées. Cette API prend uniquement en charge l'interrogation des données de tâches de l'année écoulée.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
ice:GetBatchMediaProducingJob |
get |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| JobId |
string |
Non |
L'identifiant de la tâche de production vidéo rapide. |
****b4549d46c88681030f6e**** |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
Les paramètres de réponse. |
||
| RequestId |
string |
L'identifiant de la requête. |
****36-3C1E-4417-BDB2-1E034F**** |
| EditingBatchJob |
object |
Les informations sur la tâche de production vidéo rapide. |
|
| JobId |
string |
L'identifiant de la tâche. |
****b6b2750d4308892ac3330238**** |
| InputConfig |
string |
Les configurations d'entrée. Pour plus d'informations, consultez InputConfig. |
{ "MediaGroupArray": [{ "GroupName": "MediaGroup1", "MediaArray": [ "****9d46c886b45481030f6e****", "****6c886b4549d481030f6e****" ] }, { "GroupName": "MediaGroup2", "MediaArray": [ "****d46c886810b454930f6e****", "****4549d886810b46c30f6e****" ] }], "TitleArray": [ "回龙观盒马鲜生开业啦", "盒马鲜生开业啦" ], "SpeechTextArray": [ "附近的商场新开了一家盒马鲜生,今天是第一天开业" "商场里的人不少,零食、酒水都比较便宜大家也快来看看呀" ] } |
| EditingConfig |
string |
Les configurations de montage. Pour plus d'informations, consultez EditingConfig. |
{ "MediaConfig": { "Volume": 0 }, "SpeechConfig": { "Volume": 1 }, "BackgroundMusicConfig": { "Volume": 0.3 } } |
| OutputConfig |
string |
Les configurations de sortie. Pour plus d'informations, consultez 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 |
L'état de la tâche. Valeurs valides : Init : la tâche est initialisée. Processing : la tâche est en cours. Finished : la tâche est terminée. |
Finished |
| UserData |
string |
Les données définies par l'utilisateur, y compris les configurations métier et de rappel. Pour plus d'informations, consultez UserData. |
{"NotifyAddress":"http://xx.xx.xxx"} |
| Extend |
string |
Les informations étendues. Ce paramètre contient les champs suivants : ErrorCode : le code d'erreur de la tâche principale. ErrorMessage : le message d'erreur de la tâche principale. |
{ "ErrorCode": "InvalidMaterial.NotFound", "ErrorMessage": "The specified clips id not found:[\"****30d0b5e871eebb2ff7f6c75a****\"]" } |
| CreateTime |
string |
L'heure de création de la tâche. L'heure suit la norme ISO 8601 au format yyyy-MM-ddTHH:mm:ssZ. L'heure est affichée en UTC. |
2024-06-13T08:47:07Z |
| ModifiedTime |
string |
L'heure de la dernière modification de la tâche. L'heure suit la norme ISO 8601 au format yyyy-MM-ddTHH:mm:ssZ. L'heure est affichée en UTC. |
2024-06-13T08:57:07Z |
| CompleteTime |
string |
L'heure de fin de la tâche. L'heure suit la norme ISO 8601 au format yyyy-MM-ddTHH:mm:ssZ. L'heure est affichée en UTC. |
2024-06-13T08:57:07Z |
| JobType |
string |
Type de tâche :
|
Script |
| SubJobList |
array<object> |
Les sous-tâches de production vidéo rapide. |
|
|
object |
Les informations sur la sous-tâche de production vidéo rapide. |
||
| 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 |
Entrée supplémentaire.
|
["****7cc47fe04eaa81bd853acb6a****", "****04eaa7cc47fe81bd853acb6a****"] |
| ExtendOutput |
string |
Sorties supplémentaires.
|
{ "textMatchMediaOutputList": [{ "textMatchMediaSentenceOutputList": [{ "duration": 3.366667, "matchClipList": [{ "clipId": "null-2", "endTime": 11.16, "mediaId": "****a0900f5071efbf1ce7e6c66a****", "score": -0.253, "startTime": 8.04 }], "text": "附近的商场新开了一家盒马鲜生", "textId": "0" }, { "duration": 1.566667, "matchClipList": [{ "clipId": "null-1", "endTime": 1.54, "mediaId": "****a0900f5071efbf1ce7e6c66a****", "score": -0.2326, "startTime": 0 }], "text": "今天是第一天开业", "textId": "0" } ] }] } |
Exemples
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 \"回龙观盒马鲜生开业啦\",\n \"盒马鲜生开业啦\" ],\n \"SpeechTextArray\": [\n \"附近的商场新开了一家盒马鲜生,今天是第一天开业\"\n \"商场里的人不少,零食、酒水都比较便宜大家也快来看看呀\" ]\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\"textMatchMediaOutputList\": [{\n\"textMatchMediaSentenceOutputList\": [{\n\"duration\": 3.366667,\n\"matchClipList\": [{\n\"clipId\": \"null-2\",\n\"endTime\": 11.16,\n\"mediaId\": \"****a0900f5071efbf1ce7e6c66a****\",\n\"score\": -0.253,\n\"startTime\": 8.04\n}],\n\"text\": \"A new Freshippo store just opened at the nearby mall.\",\n\"textId\": \"0\"\n},\n{\n\"duration\": 1.566667,\n\"matchClipList\": [{\n\"clipId\": \"null-1\",\n\"endTime\": 1.54,\n\"mediaId\": \"****a0900f5071efbf1ce7e6c66a****\",\n\"score\": -0.2326,\n\"startTime\": 0\n}],\n\"text\": \"today Yesfirst day of opening\",\n\"textId\": \"0\"\n}\n]\n}]\n}"
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.