Submits an intelligent tagging or media fingerprint job.
Operation description
Before using this operation, make sure that you fully understand the billing methods and pricing of ApsaraVideo VOD. Intelligent tagging and media fingerprint are paid features. For billing details, see Video AI billing.
Regions supported by media fingerprint: China (Beijing), China (Shanghai), and Singapore. Regions supported by intelligent tagging: China (Beijing) and China (Shanghai).
This is an asynchronous operation. After you submit an AI job, the job ID is returned. The job is not yet complete at this point and enters a queue for asynchronous execution. We recommend that you configure the event notification feature and set the callback event to Video AI Processing Complete to obtain the final processing result. You can also call GetTaskDetail to query the job status.
You must activate the media fingerprint or intelligent tagging service before you can call this operation to submit AI jobs. For more information, see Video AI.
When you use media fingerprint for the first time, provide your UID and region information and submit a ticket to apply for free activation of the fingerprint library. Otherwise, the media fingerprint feature will not work properly. For more information about how to submit a ticket, see Contact us.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:SubmitAIJob |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
No |
The video ID. You can obtain the video ID by using one of the following methods:
|
3D3D12340d9401fab46a0b847**** |
| Types |
string |
No |
The AI job type. Separate multiple job types with commas (,). Valid values:
|
AIVideoTag |
| Config |
string |
No |
The AI job configuration in JSON format.
|
{"AIVideoTag": {"AnalyseTypes": "ASR"} } |
| UserData |
string |
No |
The custom settings in JSON format. For more information about the parameter structure, see UserData. |
{"Extend":{"localId":"***","test":"www"}} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
25818875-5F78-4A13-BEF6-D73936**** |
| AIJobList |
object |
||
| AIJob |
array<object> |
The list of AI jobs. |
|
|
object |
The details of the AI job. |
||
| Type |
string |
The type of the AI job. Valid values:
|
AIVideoTag |
| JobId |
string |
The ID of the AI job. |
9e82640c85114bf5af23edfaf**** |
| MediaId |
string |
The ID of the video. |
3D3D12340d92c641401fab46a0b847**** |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A13-BEF6-D73936****",
"AIJobList": {
"AIJob": [
{
"Type": "AIVideoTag",
"JobId": "9e82640c85114bf5af23edfaf****",
"MediaId": "3D3D12340d92c641401fab46a0b847****"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.