Mengirimkan pekerjaan smart tag atau video DNA.
Deskripsi operasi
-
Before using this operation, ensure you understand the billing methods and pricing for ApsaraVideo VOD. Both smart tag and video DNA are paid features. For more information, see Video AI Billing.
-
The video DNA feature is available in the following regions: China (Beijing), China (Shanghai), and Singapore. The smart tag feature is available in China (Beijing) and China (Shanghai).
-
This is an asynchronous call. When you submit an AI job, the system returns a job ID and queues the job for background processing. To get the final results, we recommend you configure an event notification for the VideoAIComplete event. Alternatively, you can call the Get Job Details operation to query the job status.
-
To submit an AI job, you must first activate the video DNA or smart tag feature.
-
The first time you use the video DNA feature, you must submit a ticket with your account UID and desired region to create a free DNA fingerprint library. Otherwise, the feature may not function correctly. For instructions on submitting a ticket, see Contact us.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:SubmitAIJob |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
No |
ID video. Anda dapat memperoleh ID video dengan salah satu cara berikut:
|
3D3D12340d9401fab46a0b847**** |
| Types |
string |
No |
Tipe pekerjaan AI. Pisahkan beberapa tipe pekerjaan dengan koma (,). Nilai valid:
|
AIVideoTag |
| Config |
string |
No |
Konfigurasi pekerjaan AI, dalam bentuk string berformat JSON.
|
{"AIVideoTag": {"AnalyseTypes": "ASR"} } |
| UserData |
string |
No |
Pengaturan kustom dalam bentuk string berformat JSON. Untuk informasi selengkapnya tentang struktur parameter, lihat UserData. |
{"Extend":{"localId":"***","test":"www"}} |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
25818875-5F78-4A13-BEF6-D73936**** |
| AIJobList |
object |
A list of AI jobs. |
|
| AIJob |
array<object> |
A list of AI jobs. |
|
|
object |
The details of an 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**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25818875-5F78-4A13-BEF6-D73936****",
"AIJobList": {
"AIJob": [
{
"Type": "AIVideoTag",
"JobId": "9e82640c85114bf5af23edfaf****",
"MediaId": "3D3D12340d92c641401fab46a0b847****"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.