Retrieves the summary of automated review results.
Operation description
Usage notes
This operation is supported only in the Singapore region.
QPS limit
You can call this operation up to 20 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. For more information, see QPS limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:GetMediaAuditResult |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
Yes |
The ID of the video or image to query. |
93ab850b4f6f*****54b6e91d24d81d4 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
CB7D7232-1AB2-40FE-B8D5-**** |
| MediaAuditResult |
object |
The content moderation result. |
|
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
pass |
| AbnormalModules |
string |
The content types that contain violations. Multiple values are separated by commas (,). Valid values:
|
video |
| Label |
string |
The category of the moderation result. Multiple values are separated by commas (,). Valid values:
|
porn |
| AudioResult |
array<object> |
The audio moderation results. |
|
|
object |
|||
| Score |
string |
The score of the audio that matches the label. Value range: |
99.91 |
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
pass |
| Label |
string |
The category of the moderation result:
|
normal |
| Scene |
string |
The moderation scenario. Fixed value: antispam. |
antispam |
| ImageResult |
array<object> |
The image moderation results. |
|
|
array<object> |
|||
| Type |
string |
The image type. Valid values: cover (thumbnail). |
cover |
| Url |
string |
The URL of the image. |
http://www.test.com/****.jpg |
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
pass |
| Label |
string |
The category of the image moderation result. Multiple values are separated by commas (,). Valid values:
|
porn |
| Result |
array<object> |
The details of the image moderation result. |
|
|
object |
|||
| Score |
string |
The score of the image that matches the label. Value range: |
100.00000 |
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
pass |
| Label |
string |
The category of the moderation 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 moderation scenario. Valid values:
|
porn |
| TextResult |
array<object> |
The text moderation results. |
|
|
object |
|||
| Type |
string |
The text categorization. Valid values: title (title). |
title |
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
pass |
| Score |
string |
The score of the text that matches the label. Value range: |
100.00000 |
| Label |
string |
The category of the moderation result. Valid values:
|
ad |
| Content |
string |
The text content that was moderated. |
Hotline 123**** |
| Scene |
string |
The moderation scenario. Fixed value: antispam. |
antispam |
| VideoResult |
object |
The video moderation result. |
|
| Label |
string |
The category of the moderation result. Valid values:
|
porn |
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
pass |
| PornResult |
object |
The pornography detection result. |
|
| Suggestion |
string |
The recommended action based on the pornography detection result. Valid values:
|
pass |
| AverageScore |
string |
The average score of video snapshots that match the label. Value range: |
100 |
| Label |
string |
The pornography detection result. Valid values:
|
porn |
| MaxScore |
string |
The highest score of video snapshots that match the label. Value range: |
100 |
| CounterList |
array<object> |
The number of video snapshots for each moderation result category. |
|
|
object |
|||
| Label |
string |
The pornography detection result. Valid values:
|
porn |
| Count |
integer |
The number of video snapshots. |
1 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores for the matched 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 matches the label. Value range: |
100.0000 |
| 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 moderation result. |
|
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
block |
| AverageScore |
string |
The average score of video snapshots that match the label. Value range: |
100 |
| Label |
string |
The category of the advertisement moderation result. Valid values:
|
ad |
| MaxScore |
string |
The highest score of video snapshots that match the label. Value range: |
100 |
| CounterList |
array<object> |
The number of video snapshots for each moderation result category. |
|
|
object |
|||
| Label |
string |
The category of the advertisement moderation result. Valid values:
|
ad |
| Count |
integer |
The number of video snapshots. |
12 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores for the matched 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 matches the label. Value range: |
100 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
10 |
| Label |
string |
The category of the advertisement moderation result. Valid values:
|
ad |
| LogoResult |
object |
The logo moderation result. |
|
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
block |
| AverageScore |
string |
The average score of video snapshots that match the label. Value range: |
100 |
| Label |
string |
The category of the logo moderation result. Valid values:
|
TV |
| MaxScore |
string |
The highest score of video snapshots that match the label. Value range: |
100 |
| CounterList |
array<object> |
The number of video snapshots for each moderation result category. |
|
|
object |
|||
| Label |
string |
The category of the logo moderation result. Valid values:
|
TV |
| Count |
integer |
The number of video snapshots. |
1 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores for the matched 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 matches the label. Value range: |
100 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
16 |
| Label |
string |
The category of the logo moderation result. Valid values:
|
TV |
| LiveResult |
object |
The undesirable content moderation result. |
|
| Suggestion |
string |
The recommended action based on the moderation result. Valid values:
|
block |
| AverageScore |
string |
The average score of video snapshots that match the label. Value range: |
100 |
| Label |
string |
The category of the moderation result. Valid values:
|
smoking |
| MaxScore |
string |
The highest score of video snapshots that match the label. Value range: |
100 |
| CounterList |
array<object> |
The categories of the undesirable content moderation results and the number of video snapshots for each category. |
|
|
object |
|||
| Label |
string |
The category of the moderation result. Valid values:
|
smoking |
| Count |
integer |
The number of video snapshots. |
2 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores for the matched 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 matches the label. Value range: |
100 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
10 |
| Label |
string |
The category of the moderation result. Valid values:
|
smoking |
| TerrorismResult |
object |
The terrorism and political content review result. |
|
| Suggestion |
string |
The review suggestion for terrorism and political content. Valid values:
|
pass |
| AverageScore |
string |
The average score of video snapshots that match the label. Value range: |
100 |
| Label |
string |
The review result label for terrorism and political content. Valid values:
|
normal |
| MaxScore |
string |
The highest score of video snapshots that match the label. Value range: |
100 |
| CounterList |
array<object> |
The categories of terrorism and political content review results and the number of video snapshots in each category. |
|
|
object |
|||
| Label |
string |
The review result label for terrorism and political content. Valid values:
|
outfit |
| Count |
integer |
The number of video snapshots that contain terrorism and political content. |
1 |
| TopList |
array<object> |
The information about the video snapshots with the highest scores for the matched 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 matches the label. Value range: |
100.000 |
| Timestamp |
string |
The position of the video snapshot in the video. Unit: milliseconds. |
3005 |
| Label |
string |
The review result label for terrorism and political content. Valid values:
|
normal |
| GreenEnhancedResult |
object |
The review result of the GreenEnhanced route. |
|
| Suggestion |
string |
The frame review conclusion mapped from frameResult.riskLevel: high→block, medium/low→review, none→pass. |
|
| Label |
string |
The union of matched Green native labels, comma-separated (such as pornographic_adultContent_tii). The value is normal if no labels are matched. |
|
| MaxScore |
string |
The highest confidence score of matched frames. This field is not returned if no frames are matched. |
|
| AverageScore |
string |
The average confidence score of matched frames. This field is not returned if no frames are matched. |
|
| CounterList |
array<object> |
The aggregated count of violation labels: Label (Green label) / Count (number of matched frames for the label). |
|
|
object |
|||
| Label |
string |
The review result category. |
|
| Count |
integer |
The number of video snapshots for the corresponding label. |
|
| TopList |
array<object> |
The matched frame details, sorted by confidence score in descending order. |
|
|
object |
|||
| Label |
string |
The review result category. |
|
| Score |
string |
The confidence score of the video snapshot that matches 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": "CB7D7232-1AB2-40FE-B8D5-****",
"MediaAuditResult": {
"Suggestion": "pass",
"AbnormalModules": "video",
"Label": "porn",
"AudioResult": [
{
"Score": "99.91",
"Suggestion": "pass",
"Label": "normal",
"Scene": "antispam"
}
],
"ImageResult": [
{
"Type": "cover",
"Url": "http://www.test.com/****.jpg",
"Suggestion": "pass",
"Label": "porn",
"Result": [
{
"Score": "100.00000",
"Suggestion": "pass",
"Label": "porn",
"Scene": "porn"
}
]
}
],
"TextResult": [
{
"Type": "title",
"Suggestion": "pass",
"Score": "100.00000",
"Label": "ad",
"Content": "Hotline 123****",
"Scene": "antispam"
}
],
"VideoResult": {
"Label": "porn",
"Suggestion": "pass",
"PornResult": {
"Suggestion": "pass",
"AverageScore": "100",
"Label": "porn",
"MaxScore": "100",
"CounterList": [
{
"Label": "porn",
"Count": 1
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100.0000",
"Timestamp": "3005",
"Label": "porn"
}
]
},
"AdResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "ad",
"MaxScore": "100",
"CounterList": [
{
"Label": "ad",
"Count": 12
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "10",
"Label": "ad"
}
]
},
"LogoResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "TV",
"MaxScore": "100",
"CounterList": [
{
"Label": "TV",
"Count": 1
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "16",
"Label": "TV"
}
]
},
"LiveResult": {
"Suggestion": "block",
"AverageScore": "100",
"Label": "smoking",
"MaxScore": "100",
"CounterList": [
{
"Label": "smoking",
"Count": 2
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100",
"Timestamp": "10",
"Label": "smoking"
}
]
},
"TerrorismResult": {
"Suggestion": "pass",
"AverageScore": "100",
"Label": "normal",
"MaxScore": "100",
"CounterList": [
{
"Label": "outfit",
"Count": 1
}
],
"TopList": [
{
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
"Score": "100.000",
"Timestamp": "3005",
"Label": "normal"
}
]
},
"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.