All Products
Search
Document Center

ApsaraVideo VOD:GetMediaAuditResult

Last Updated:Dec 19, 2024

Queries the summary of automated review results.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
vod:GetMediaAuditResultget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
MediaIdstringYes

The ID of the video or image.

93ab850b4f6f*****54b6e91d24d81d4

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

CB7D7232-1AB2-40FE-B8D5-****
MediaAuditResultobject

The review results.

Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
pass
AbnormalModulesstring

The content that violates the regulations. Separate multiple values with commas (,). Valid values:

  • video
  • image-cover
  • text-title
video
Labelstring

The category of the review result. Separate multiple values with commas (,). Valid values:

  • porn
  • terrorism
  • normal
porn
AudioResultarray<object>

The results of audio review.

AudioResultobject
Scorestring

The score.

99.91
Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
pass
Labelstring

The category of the review result.

  • normal
  • spam
  • ad
  • politics
  • terrorism
  • abuse
  • porn
  • flood
  • contraband
  • meaningless
normal
Scenestring

The review scenario. The value is antispam.

antispam
ImageResultarray<object>

The results of image review.

ImageResultobject
Typestring

The type of the image. The value is cover.

cover
Urlstring

The URL of the image.

http://www.test.com/****.jpg
Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
pass
Labelstring

The category of the review result. Separate multiple values with commas (,). Valid values:

  • porn
  • terrorism
  • normal
porn
Resultarray<object>

Details of image review results.

Resultobject
Scorestring

The score of the image of the category that is indicated by Label.

100.00000
Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
pass
Labelstring

The category of the review result.

Valid values if scene is porn:

  • porn
  • sexy
  • normal

Valid values if scene is terrorism:

  • normal
  • bloody
  • explosion
  • outfit
  • logo
  • weapon
  • politics
  • violence
  • crowd
  • parade
  • carcrash
  • flag
  • location
  • others
porn
Scenestring

The review scenario. Valid values:

  • terrorism
  • porn
porn
TextResultarray<object>

The results of text review.

TextResultobject
Typestring

The type of the text. The value is title.

title
Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
pass
Scorestring

The score of the image of the category that is indicated by Label.

100.00000
Labelstring

The category of the review result. Valid values:

  • spam
  • ad
  • abuse
  • flood
  • contraband
  • meaningless
  • normal
ad
Contentstring

The text content for review.

hot line 123****
Scenestring

The review scenario. The value is antispam.

antispam
VideoResultobject

The results of video review.

Labelstring

The category of the review result. Separate multiple values with commas (,). Valid values:

  • porn
  • terrorism
  • normal
porn
Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
pass
PornResultobject

The results of pornographic content review.

Suggestionstring

The recommendation for review results.

pass
AverageScorestring

The average score of the review results.

100
Labelstring

The category of the review result. Valid values:

  • porn
  • sexy
  • normal
porn
MaxScorestring

The highest review score.

100
CounterListarray<object>

The statistics about tag frames.

CounterListobject
Labelstring

The category of the review result. Valid values:

  • porn
  • sexy
  • normal
porn
Countinteger

The number of frames.

1
TopListarray<object>

The information about the image with the highest score of the category that is indicated by Label.

TopListobject
Urlstring

The URL of the image.

http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg
Scorestring

The score of the image of the category that is indicated by Label.

100.0000
Timestampstring

The position in the video. Unit: milliseconds.

3005
Labelstring

The category of the review result. Valid values:

  • porn
  • sexy
  • normal
porn
AdResultobject

The results of ad review.

Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
block
AverageScorestring

The average score of the review results.

100
Labelstring

The category of the review result. Valid values:

  • ad
  • normal
ad
MaxScorestring

The highest review score.

100
CounterListarray<object>

The statistics about tag frames.

CounterListobject
Labelstring

The category of the review result. Valid values:

  • ad
  • normal
ad
Countinteger

The number of frames.

12
TopListarray<object>

The information about the image with the highest score of the category that is indicated by Label.

TopListobject
Urlstring

The URL of the image.

http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg
Scorestring

The score of the image of the category that is indicated by Label.

100
Timestampstring

The position in the video. Unit: milliseconds.

10
Labelstring

The category of the review result.

  • ad
  • normal
ad
LogoResultobject

The results of logo review.

Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
block
AverageScorestring

The average score of the review results.

100
Labelstring

The category of the review result. Valid values:

  • logo
  • normal
logo
MaxScorestring

The highest review score.

100
CounterListarray<object>

The statistics about tag frames.

CounterListobject
Labelstring

The category of the review result. Valid values:

  • logo
  • normal
logo
Countinteger

The number of frames.

1
TopListarray<object>

The information about the image with the highest score of the category that is indicated by Label.

TopListobject
Urlstring

The URL of the image.

http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg
Scorestring

The score of the image of the category that is indicated by Label.

100
Timestampstring

The position in the video. Unit: milliseconds.

16
Labelstring

The category of the review result.

  • logo
  • normal
logo
LiveResultobject

The results of undesired content review.

Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
block
AverageScorestring

The average score of the review results.

100
Labelstring

The category of the review result. Valid values:

  • live: The content contains undesirable scenes.
  • normal: normal content.
live
MaxScorestring

The highest review score.

100
CounterListarray<object>

The statistics about tag frames.

CounterListobject
Labelstring

The category of the review result. Valid values:

  • live: The content contains undesirable scenes.
  • normal: normal content.
live
Countinteger

The number of frames.

2
TopListarray<object>

The information about the image with the highest score of the category that is indicated by Label.

TopListobject
Urlstring

The URL of the image.

http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg
Scorestring

The score of the image of the category that is indicated by Label.

100
Timestampstring

The position in the video. Unit: milliseconds.

10
Labelstring

The category of the review result. Valid values:

  • live: The content contains undesirable scenes.
  • normal: normal content.
normal
TerrorismResultobject

The results of terrorist content review.

Suggestionstring

The recommendation for review results. Valid values:

  • block
  • review
  • pass
pass
AverageScorestring

The average score of the review results.

100
Labelstring

The category of the review result. Valid values:

  • normal
  • bloody
  • explosion
  • outfit
  • logo
  • weapon
  • politics
  • violence
  • crowd
  • parade
  • carcrash
  • flag
  • location
  • others
normal
MaxScorestring

The highest review score.

100
CounterListarray<object>

The statistics about tag frames.

CounterListobject
Labelstring

The category of the review result. Valid values:

  • normal
  • bloody
  • explosion
  • outfit
  • logo
  • weapon
  • politics
  • violence
  • crowd
  • parade
  • carcrash
  • flag
  • location
  • others
outfit
Countinteger

The number of frames.

1
TopListarray<object>

The information about the image with the highest score of the category that is indicated by Label.

TopListobject
Urlstring

The URL of the image.

http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg
Scorestring

The score of the image of the category that is indicated by Label.

100.000
Timestampstring

The position in the video. Unit: milliseconds.

3005
Labelstring

The category of the review result. Valid values:

  • normal
  • bloody
  • explosion
  • outfit
  • logo
  • weapon
  • politics
  • violence
  • crowd
  • parade
  • carcrash
  • flag
  • location
  • others
normal

Examples

Sample success responses

JSONformat

{
  "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": "hot line 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": "logo",
        "MaxScore": "100",
        "CounterList": [
          {
            "Label": "logo",
            "Count": 1
          }
        ],
        "TopList": [
          {
            "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
            "Score": "100",
            "Timestamp": "16",
            "Label": "logo"
          }
        ]
      },
      "LiveResult": {
        "Suggestion": "block",
        "AverageScore": "100",
        "Label": "live",
        "MaxScore": "100",
        "CounterList": [
          {
            "Label": "live",
            "Count": 2
          }
        ],
        "TopList": [
          {
            "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg",
            "Score": "100",
            "Timestamp": "10",
            "Label": "normal"
          }
        ]
      },
      "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"
          }
        ]
      }
    }
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history