All Products
Search
Document Center

ApsaraVideo VOD:GetMediaAuditResult

Last Updated:Jul 19, 2024

Queries the summary of automated review results.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.

object
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.