Automated review

更新时间:
复制 MD 格式

Automated review uses deep learning to detect prohibited content in videos, thumbnails, and titles across speech, text, and visual dimensions, covering pornography, terrorism, politically sensitive material, ads, logos, and undesirable scenes.

How automated and manual review interact

The final moderation result combines automated and manual review. The manual review result always overrides the automated result.

Only files in the Normal state can be played. Files in the Flagged or Reviewing state can be played only in the ApsaraVideo VOD console or through a security IP for moderation. Playback URLs for these files cannot be obtained through an API or SDK. However, previously distributed playback URLs remain valid.

Review types

Review type

Purpose

Result categories

Pornography

Detect pornographic or suggestive content in media files

Normal, pornography, suggestive

Terrorism and politically sensitive content

Detect terrorism-related or politically sensitive content in media files

Normal, bloody, explosion and smoke, special attire, special logo, weapon, politically sensitive, fighting, crowd, march, car accident scene, flag, landmark

Ad detection

Detect ads and non-compliant text in videos and images

Normal, text with politically sensitive content, text with pornographic content, text with abusive content, text with terrorism-related content, text with prohibited content, text with other spam content, spam ad, QR code, Mini Program code, other ad

Undesirable Content Detection

Detect black screens, black bars, dark scenes, Picture-in-Picture (PiP), smoking, and in-car live streaming

Normal, no content in image (such as a black screen or white screen), PiP, smoking, in-car live streaming

Logo detection

Detect logos such as TV station logos and trademarks

Normal, contains controlled logo, contains trademark

Audio Anti-spam

Detect voice spam in videos and audio, including ads, politically sensitive content, and terrorism-related content

Normal, contains spam, ad, politically sensitive, terrorism-related, abusive, pornographic, flooding, prohibited, meaningless, custom (such as a hit on a custom keyword)

Limitations

Regional availability

Region

Supported review types

China (Shanghai)

All review types

China (Beijing)

All review types

Singapore

Pornography, Terrorism and politically sensitive content, Undesirable Content Detection only

Input constraints

Constraint

Limit

Custom automated review templates

Up to 20

Thumbnails per review

Up to 5

Title and live comment length

Up to 128 bytes

Video duration

Up to 6 hours

Image file size (API)

Up to 20 MB

Image height or width (API)

Up to 30,000 px

Image total pixels (API)

Up to 250 million px

Recommended minimum image resolution (API)

256 x 256 px (lower resolution may affect review quality)

Review standards

Note

The review standards comply with the laws and regulations of China, including but not limited to the Criminal Law of the People's Republic of China, the Cybersecurity Law, the Measures for the Administration of Internet Information Services, the Measures for the Security Protection Administration of the International Networking of Computer Information Networks, the Provisions on the Administration of Deep Synthesis in Internet Information Services, and the Interim Measures for the Administration of Generative Artificial Intelligence Services.

Review result storage

Image resources in automated review results are stored in free ApsaraVideo VOD storage for 2 weeks. After that, they are automatically deleted.

Billing

The automated review feature of ApsaraVideo VOD is a paid service. It is billed based on the total duration of the reviewed videos. For more information, see Content moderation.

Prerequisites

Before you begin, make sure that you have:

Step 1: (Optional) Configure an automated review template

ApsaraVideo VOD provides a preset system template used by default. Create a custom template if the preset one does not meet your needs.

Note
  • The preset template cannot be modified or deleted. Its configuration is:

    • Review Type: Terrorism and politically sensitive content, Pornography

    • Review Scope: Cover, Name, Video

    • Review Content: Image (video frames)

  • Up to 20 custom automated review templates are supported.

Console

  1. Log on to the ApsaraVideo VOD console.

  2. In the left-side navigation pane, choose Review Management > Settings.

  3. Create an automated review template:

    1. Click the Review Template tab.

    2. Click Add Template to open the template creation page.

    3. Configure the following parameters:

      Parameter

      Description

      Template Name

      A name to distinguish this template from others

      Review Type

      The content categories to detect. Options: Pornography, Terrorism and politically sensitive content, Ad detection, Logo detection, Undesirable Content Detection, Audio Anti-spam. Select Audio Anti-spam to review audio content. In the Singapore region, only Pornography, Terrorism and politically sensitive content, and Undesirable Content Detection are supported.

      Review Scope

      The parts of the video to review. Options: Cover (video cover image), Name (video title), Video

      Review Content

      Only Image (video frames) is supported

      Auto Block

      When enabled, videos that contain illicit content are automatically blocked from playback.

      Important

      This is a high-risk feature. Enable it with caution.

    4. Click Save.

  4. Set the default automated review template using one of the following methods:

    • On the Review Template tab, find the target template and click Set as Default in the Actions column.

    • On the Review Configuration tab, click Modify in the Automated Review section. Select the target template from the Review Template drop-down list, and then click OK.

OpenAPI

  1. Call the AddAITemplate operation to create an automated review template.

  2. Call the SetDefaultAITemplate operation to set the default automated review template.

For more information about AI template operations such as modifying, querying, and deleting templates, see AI template operations.

Step 2: (Optional) Configure event notifications

Before starting an automated review job, configure event notifications to receive callbacks about job status and results. For more information, see Callback settings.

Enable the following event notification types:

Step 3: Start an automated review job

You can start a review either automatically upon upload or manually after upload.

Console

Automatically trigger upon upload

  1. Create a workflow that includes the Review node. Set the review template to the preset system template or a custom template from Step 1. For more information, see Workflow management.

  2. Upload an audio or video file and select the workflow:

    1. In the ApsaraVideo VOD console, choose Media Files > Audio/Video in the left-side navigation pane.

    2. Click Upload Audio/Video, and then click Add Audio/Video.

    3. Set the upload method and storage address. After adding the video, select Use Workflow and choose the workflow from the previous step.

    4. Click Upload.

Manually trigger after upload

Method 1: From the media asset library

  1. Create a workflow that includes the Review node. Set the review template to the preset system template or a custom template from Step 1. For more information, see Workflow management.

  2. Start media processing using a workflow:

    1. In the ApsaraVideo VOD console, choose Media Files > Audio/Video in the left-side navigation pane.

    2. Find the target audio or video file and click Processing in the Actions column.

    3. Set Processing Type to Use Workflow and select the workflow from the previous step.

    4. Click OK.

Method 2: From the Content Moderation page

  1. Log on to the ApsaraVideo VOD console.

  2. In the left-side navigation pane, choose Review Management > Content Moderation.

  3. Find the audio or video file to review. Filter by upload time (ALL or Custom Time), Video Title, or Media ID.

  4. Start the automated review:

    • For a file not yet reviewed (the Automated Review Status is Not Reviewed), click Automated Review in the Actions column. The system uses the default review template from Step 1.

    • To re-review a file (the Automated Review Status is Rejected or Passed), click Re-review in the Actions column. The system uses the default review template from Step 1.

OpenAPI

Automatically trigger upon upload

  1. Create a workflow that includes the Review node. Set the review template to the preset system template or a custom template from Step 1. For more information, see Workflow management.

  2. When calling one of the following upload operations, set the WorkflowId parameter to the workflow ID from the previous step:

Manually trigger after upload

When starting an automated review job through the API, specify a review template by setting the TemplateId parameter. If omitted, the default template from Step 1 is used.

Note

Image review through the API has the following constraints:

  • Maximum image file size: 20 MB. Maximum height or width: 30,000 px. Maximum total pixels: 250 million px.

  • Recommended minimum resolution: 256 x 256 px (lower resolution may affect review quality).

Step 4: View review results

Note
  • Image resources in the automated review results are stored in free ApsaraVideo VOD storage for 2 weeks only. After 2 weeks, they are automatically deleted.

  • If event notifications are configured, the Automated Review Complete callback message contains the review result details.

Console

  1. Log on to the ApsaraVideo VOD console.

  2. In the left-side navigation pane, choose Review Management > Content Moderation.

  3. View the review information on the video moderation list page. The following columns are related to automated review:

    Column

    Description

    Video

    The name, ID, and storage address of the audio or video file

    Automated Review Status

    Not Reviewed: Not yet reviewed. Passed: Review complete; the Automated Review Result column shows Violation, Suspected, or Normal. Failed: Review complete but failed; the Automated Review Result column shows --. Reviewing: First automated review in progress. Re-reviewing: Re-review in progress.

    Review Template

    The template used for the automated review, configured in Step 1

    Automated Review Result

    Violation: Non-compliant content detected. The Violation column shows specific violations. Suspected: Possible non-compliant content detected. Manual review is recommended. Normal: No non-compliant content detected. --: Not reviewed or review failed.

    Violation

    The specific violations detected: Pornography, Terrorism and politically sensitive content, Ad, Logo, Undesirable scene, Voice, normal, or -- (not yet reviewed)

    Manual Review Status

    Not Reviewed: Not yet manually reviewed; the Final Review Result column shows --. Completed: Manual review done; the Final Review Result column shows Passed or Blocked.

    Final Review Result

    Pass: The file can be played normally. Block: The file can be played only in the ApsaraVideo VOD console or through a security IP for moderation. Playback URLs cannot be obtained through an API or SDK, but previously distributed URLs remain valid. --: Not reviewed. Playback depends on the file status in Media Files > Audio/Video.

    Actions

    View review details, start an automated review, or start a manual review

  4. Click Details in the Actions column to view the review details for a specific file, including playback preview, file name and ID, manual review result, and automated review result. Determine the manual review result on this page.

OpenAPI

For a complete list of automated review API operations, see Automated review operations.

SDK examples