Queries an automated review job. After you submit an AI job, the job is processed asynchronously. You can call this operation to query job information in real time.
Operation description
This operation is supported only in the Singapore region.
Image resources in automated review job results are retained in the free storage provided by ApsaraVideo VOD for only two weeks. After two weeks, the images are automatically deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:GetAIMediaAuditJob |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The ID of the automated review job. |
bdbc266af6894*****943a70176d92e9 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
EAA3E96A-02E2-41*****85-08E1D568ED3A |
| MediaAuditJob |
object |
The automated review job information. |
|
| CreationTime |
string |
The time when the job started. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2017-01-11T12:00:00Z |
| Type |
string |
The job type. Only "automated review" is supported. |
AIMediaAudit |
| Status |
string |
The job status. Valid values:
|
success |
| CompleteTime |
string |
The time when the job ended. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2017-01-11T13:00:00Z |
| JobId |
string |
The job ID. |
bdbc266af6894*****943a70176d92e9 |
| Code |
string |
The error code of the job. This field is relevant when Status is fail. |
0 |
| Message |
string |
The error message of the job. This field is relevant when Status is fail. |
OK |
| MediaId |
string |
The video ID. |
fe028d09441d*****d1afffb138cd7e |
| Data |
object |
The job result data. |
|
| Suggestion |
string |
The review result suggestion. Valid values:
|
pass |
| AbnormalModules |
string |
The content that violates the moderation rules. Multiple values are separated by commas (,). Valid values:
|
video |
| Label |
string |
The category of the review result. Multiple values are separated by commas (,). Valid values:
|
normal |
| ImageResult |
array<object> |
The image review results. |
|
|
array<object> |
The image review result data. |
||
| Type |
string |
The image category. Valid values: cover (thumbnail). |
cover |
| Url |
string |
The URL of the image. |
http://www.test.com/****.jpg |
| Suggestion |
string |
The review result suggestion. Valid values:
|
pass |
| Label |
string |
The category of the image review result. Multiple values are separated by commas (,). Valid values:
|
normal |
| Result |
array<object> |
The details of the image review result. |
|
|
object |
|||
| Score |
string |
The score of the image that hits the label. Value range: |
0 |
| Suggestion |
string |
The review result suggestion. Valid values:
|
pass |
| Label |
string |
The category of the review result. When scene is porn, valid values:
When scene is terrorism, valid values:
When scene is ad, valid values:
When scene is live, valid values:
When scene is logo, valid values:
|
porn |
| Scene |
string |
The review scene. Valid values:
|
porn |
| TextResult |
array<object> |
The text review results. |
|
|
object |
|||
| Type |
string |
The text categorization. Valid values: title (title). |
title |
| Suggestion |
string |
The review result suggestion. Valid values:
|
pass |
| Score |
string |
The score of the image that hits the label. Value range: |
100 |
| Label |
string |
The category of the review result. Valid values:
|
ad |
| Content |
string |
The text content. |
Test |
| Scene |
string |
The review scene. Fixed value: antispam. |
antispam |
| AudioResult |
array<object> |
The audio review results. |
|
|
object |
|||
| Score |
string |
The result score. |
99.91 |
| Suggestion |
string |
The review result suggestion. Valid values:
|
pass |
| Label |
string |
The category of the review result:
|
normal |
| Scene |
string |
The review scene. Fixed value: antispam. |
antispam |
| VideoResult |
object |
The video review results. |
|
| Label |
string |
The category of the review result. Valid values:
|
normal |
| Suggestion |
string |
The video review result suggestion. Valid values:
|
pass |
| TerrorismResult |
object |
The terrorism and political sensitivity review result. |
|
| Suggestion |
string |
The terrorism and political sensitivity review suggestion. Valid values:
|
pass |
| AverageScore |
string |
The average score of video snapshots that hit the label. Value range: |
100 |
| Label |
string |
The terrorism and political sensitivity review result. Valid values:
|
normal |
| MaxScore |
string |
The highest score of video snapshots that hit the label. Value range: |
100 |
| CounterList |
array<object> |
The terrorism and political sensitivity result categories and the number of video snapshots for each category. |
|
|
object |
|||
| Label |
string |
The terrorism and political sensitivity review result. Valid values:
|
terrorism |
| Count |
integer |
The number of video snapshots. |
0 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores that hit the label. |
|
|
object |
|||
| Url |
string |
The URL of the video snapshot. |
http://ali*****.com/aivideocensor/yytysursrutyrxuq/****.jpg |
| Score |
string |
The score of the video snapshot that hits the label. Value range: |
100 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
5 |
| Label |
string |
The terrorism and political sensitivity review result. Valid values:
|
normal |
| PornResult |
object |
The pornography detection result. |
|
| Suggestion |
string |
The pornography detection suggestion. Valid values:
|
pass |
| AverageScore |
string |
The average score of video snapshots that hit the label. Value range: |
100 |
| Label |
string |
The pornography detection result. Valid values:
|
porn |
| MaxScore |
string |
The highest score of video snapshots that hit the label. Value range: |
100 |
| CounterList |
array<object> |
The review result categories and the number of video snapshots for each category. |
|
|
object |
|||
| Label |
string |
The pornography detection result. Valid values:
|
porn |
| Count |
integer |
The number of video snapshots. |
0 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores that hit the label. |
|
|
object |
|||
| Url |
string |
The URL of the video snapshot. |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
The score of the video snapshot that hits the label. Value range: |
100 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
3005 |
| Label |
string |
The pornography detection result. Valid values:
|
porn |
| AdResult |
object |
The advertisement review result. |
|
| Suggestion |
string |
The review result suggestion. Valid values:
|
block |
| AverageScore |
string |
The average score of the advertisement review result. |
100 |
| Label |
string |
The category of the advertisement review result. Valid values:
|
ad |
| MaxScore |
string |
The highest review score. |
100 |
| CounterList |
array<object> |
The review result categories and the number of video snapshots for each category. |
|
|
object |
|||
| Label |
string |
The category of the advertisement review result. Valid values:
|
ad |
| Count |
integer |
The number of video snapshots. |
10 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores that hit the label. |
|
|
object |
|||
| Url |
string |
The URL of the video snapshot. |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
The score of the video snapshot that hits the label. |
100 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
500 |
| Label |
string |
The category of the advertisement review result. Valid values:
|
ad |
| LiveResult |
object |
The review results for inappropriate content. |
|
| Suggestion |
string |
The review result suggestion. Valid values:
|
block |
| AverageScore |
string |
The average score of the review result. |
100 |
| Label |
string |
The category of the review result. Valid values:
|
smoking |
| MaxScore |
string |
The highest review score. |
100 |
| CounterList |
array<object> |
The categories of the review results and the number of video snapshots in each category. |
|
|
object |
|||
| Label |
string |
The category of the review result. Valid values:
|
smoking |
| Count |
integer |
The number of video snapshots. |
4 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores that hit the label. |
|
|
object |
|||
| Url |
string |
The URL of the video snapshot. |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
The score of the video snapshot that hits the label. |
100 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
500 |
| Label |
string |
The category of the review result. Valid values:
|
smoking |
| LogoResult |
object |
The logo review result. |
|
| Suggestion |
string |
The logo review suggestion. Valid values:
|
block |
| AverageScore |
string |
The average score of video snapshots that hit the label. |
100 |
| Label |
string |
The category of the logo review result. Valid values:
|
TV |
| MaxScore |
string |
The highest score of video snapshots that hit the label. |
100 |
| CounterList |
array<object> |
The categories of the review results and the number of video snapshots in each category. |
|
|
object |
|||
| Label |
string |
The category of the logo review result. Valid values:
|
TV |
| Count |
integer |
The number of video snapshots. |
2 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores that hit the label. |
|
|
object |
|||
| Url |
string |
The URL of the video snapshot. |
http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
| Score |
string |
The score of the video snapshot that hits the label. |
100 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
5000 |
| Label |
string |
The category of the logo review result. Valid values:
|
TV |
| GreenEnhancedResult |
object |
The GreenEnhanced review result. |
|
| Suggestion |
string |
The frame review conclusion mapped from frameResult.riskLevel: high→block, medium/low→review, none→pass. |
|
| Label |
string |
The union of hit Green native labels (comma-separated, such as pornographic_adultContent_tii). The value is normal if no label is hit. |
|
| MaxScore |
string |
The highest confidence score of hit frames. This field is not returned if no frame is hit. |
|
| AverageScore |
string |
The average confidence score of hit frames. This field is not returned if no frame is hit. |
|
| CounterList |
array<object> |
The violation label count aggregation: Label (Green label) / Count (number of hit frames for the label). |
|
|
object |
|||
| Label |
string |
The review result category. |
|
| Count |
integer |
The number of captured video frames for the corresponding label. |
|
| TopList |
array<object> |
The hit frame details (sorted by confidence in descending order). |
|
|
object |
|||
| Label |
string |
The review result category. |
|
| Score |
string |
The confidence score of the video snapshot that hit the label. |
|
| Timestamp |
string |
The position of the video snapshot in the video. |
|
| Url |
string |
The URL of the video snapshot. |
Examples
Success response
JSON format
{
"RequestId": "EAA3E96A-02E2-41*****85-08E1D568ED3A",
"MediaAuditJob": {
"CreationTime": "2017-01-11T12:00:00Z",
"Type": "AIMediaAudit",
"Status": "success",
"CompleteTime": "2017-01-11T13:00:00Z",
"JobId": "bdbc266af6894*****943a70176d92e9",
"Code": "0",
"Message": "OK",
"MediaId": "fe028d09441d*****d1afffb138cd7e",
"Data": {
"Suggestion": "pass",
"AbnormalModules": "video",
"Label": "normal",
"ImageResult": [
{
"Type": "cover",
"Url": "http://www.test.com/****.jpg",
"Suggestion": "pass",
"Label": "normal",
"Result": [
{
"Score": "0",
"Suggestion": "pass",
"Label": "porn",
"Scene": "porn"
}
]
}
],
"TextResult": [
{
"Type": "title",
"Suggestion": "pass",
"Score": "100",
"Label": "ad",
"Content": "Test",
"Scene": "antispam"
}
],
"AudioResult": [
{
"Score": "99.91",
"Suggestion": "pass",
"Label": "normal",
"Scene": "antispam"
}
],
"VideoResult": {
"Label": "normal",
"Suggestion": "pass",
"TerrorismResult": {
"Suggestion": "pass",
"AverageScore": "100",
"Label": "normal",
"MaxScore": "100",
"CounterList": [
{
"Label": "terrorism",
"Count": 0
}
],
"TopList": [
{
"Url": "http://ali*****.com/aivideocensor/yytysursrutyrxuq/****.jpg",
"Score": "100",
"Timestamp": "5",
"Label": "normal"
}
]
},
"PornResult": {
"Suggestion": "pass",
"AverageScore": "100",
"Label": "porn",
"MaxScore": "100",
"CounterList": [
{
"Label": "porn",
"Count": 0
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "3005",
"Label": "porn"
}
]
},
"AdResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "ad",
"MaxScore": "100",
"CounterList": [
{
"Label": "ad",
"Count": 10
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "500",
"Label": "ad"
}
]
},
"LiveResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "smoking",
"MaxScore": "100",
"CounterList": [
{
"Label": "smoking",
"Count": 4
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "500",
"Label": "smoking"
}
]
},
"LogoResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "TV",
"MaxScore": "100",
"CounterList": [
{
"Label": "TV",
"Count": 2
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "5000",
"Label": "TV"
}
]
},
"GreenEnhancedResult": {
"Suggestion": "",
"Label": "",
"MaxScore": "",
"AverageScore": "",
"CounterList": [
{
"Label": "",
"Count": 0
}
],
"TopList": [
{
"Label": "",
"Score": "",
"Timestamp": "",
"Url": ""
}
]
}
}
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.