Retrieves the results of smart tagging for a video.
Operation description
Currently, this operation is supported in the following regions: China (Beijing) and China (Shanghai).
Retrieves smart tagging results by video ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:GetAIVideoTagResult |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
Yes |
The media asset ID, which is the video ID. You can obtain the video ID by using the following methods:
|
595d020bad37421f37433451720**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
8829B4DB-AFD9-4FF6-12965DBFFA14**** |
| VideoTagResult |
object |
The result data. |
|
| Category |
array<object> |
The collection of video categories. |
|
|
object |
The details of the video category. |
||
| Tag |
string |
The tag string. |
Beauty |
| Person |
array<object> |
The collection of person tags. |
|
|
object |
The details of the person tag. |
||
| FaceUrl |
string |
The URL of the profile photo. Note
This parameter is returned only when a figure tag was used. |
http://example.com/aivideotag/8829B4DB-AFD9-4F*****F6-12965DBFFA14/Index_****.jpg |
| Tag |
string |
The tag string. |
Xiao Wang |
| Times |
array |
The points in time when the tags are displayed. Unit: milliseconds. |
|
|
string |
The point in time when the figure tag is displayed. Unit: milliseconds. |
["10760"] |
|
| Time |
array<object> |
The collection of time tags. |
|
|
object |
The details of the time tag. |
||
| Tag |
string |
The tag string. |
Millisecond |
| Times |
array |
The points in time when the tags are displayed. Unit: milliseconds. |
|
|
string |
The point in time when the time tag is displayed. Unit: milliseconds. |
["3260","4000","5000","8410","12000","13000","14000"] |
|
| Location |
array<object> |
The collection of location tags. |
|
|
object |
The details of the location tag. |
||
| Tag |
string |
The tag string. |
Asia |
| Times |
array |
The points in time when the tags are displayed. Unit: milliseconds. |
|
|
string |
The point in time when the location tag is displayed. Unit: milliseconds. |
["8410"] |
|
| Keyword |
array<object> |
The collection of keyword tags. |
|
|
object |
The details of the keyword tag. |
||
| Tag |
string |
The tag string. |
Cushion |
| Times |
array |
The points in time when the tags are displayed. Unit: milliseconds. |
|
|
string |
The point in time when the keyword tag is displayed. Unit: milliseconds. |
["3260","4000","5000","8410","12000","13000","14000"] |
Examples
Success response
JSON format
{
"RequestId": "8829B4DB-AFD9-4FF6-12965DBFFA14****",
"VideoTagResult": {
"Category": [
{
"Tag": "Beauty"
}
],
"Person": [
{
"FaceUrl": "http://example.com/aivideotag/8829B4DB-AFD9-4F*****F6-12965DBFFA14/Index_****.jpg",
"Tag": "Xiao Wang",
"Times": [
"[\"10760\"]"
]
}
],
"Time": [
{
"Tag": "Millisecond",
"Times": [
"[\"3260\",\"4000\",\"5000\",\"8410\",\"12000\",\"13000\",\"14000\"]"
]
}
],
"Location": [
{
"Tag": "Asia",
"Times": [
"[\"8410\"]"
]
}
],
"Keyword": [
{
"Tag": "Cushion",
"Times": [
"[\"3260\",\"4000\",\"5000\",\"8410\",\"12000\",\"13000\",\"14000\"]"
]
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.