All Products
Search
Document Center

ApsaraVideo VOD:SubmitAIImageAuditJob

Last Updated:Aug 26, 2026

Submits an automated review task for an image. The task is asynchronously executed after it is submitted. The task may not be complete when the response is returned.

Operation description

  • Before you use this operation, make sure that you are familiar with the billing methods and pricing of ApsaraVideo VOD. Automated review is a paid feature. For billing details, submit a ticket or contact your Alibaba Cloud account manager.

  • This operation is supported only in the Singapore region.

  • This is an asynchronous operation. After you submit a task, the task ID is returned. At this point, the task is not complete and enters a queue for asynchronous execution. The final result is sent through a callback notification. You can also call Query automated review job to query the task status.

  • The size of a single image cannot exceed 20 MB. The height or width cannot exceed 30,000 px. The total number of pixels cannot exceed 250 million px.

  • (Recommended) The image resolution is at least 256 × 256 px. A lower resolution may affect the review results.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vod:SubmitAIImageAuditJob

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

MediaId

string

Yes

The image ID.

The unique identifier of the image returned after the image is uploaded to ApsaraVideo VOD.

f1aa3024aee64*****6dc8ca20dbc320

TemplateId

string

Yes

The AI template ID. You can obtain the ID by using one of the following methods:

  • Call the Add AI template operation to add an AI template. The AI template ID is the value of TemplateId in the response.

  • After the AI template is added, call the Query AI template list operation to query the AI template ID, which is the value of TemplateId in the response.

a07a7f7d7d10eb9fd999e56ecc****

MediaAuditConfiguration

string

No

The review node configuration.

  • Other configuration items of the review node. Currently, only the ResourceType field is supported, which is used to specify the media file type. You can adjust the review standards and rules for the specified type.

  • Usage notes for ResourceType: Only letters, digits, and underscores (_) are allowed.

Note
  • You can customize the ResourceType field based on the usage notes. After customization, submit a Yida form to commit to Alibaba Cloud for spooling before the configuration takes effect.

  • To adjust the review standards and rules for a specific ResourceType, submit a Yida form to request technical support.

{"ResourceType":"****_short_video"}

No

No

No

Response elements

Element

Type

Description

Example

object

The response parameters.

JobId

string

The image review task ID.

b1aa3024aee64*****6dc8ca20dbc328

RequestId

string

The request ID.

6F42D500-1956-4B*****30-C09E755F4F4B

Examples

Success response

JSON format

{
  "JobId": "b1aa3024aee64*****6dc8ca20dbc328",
  "RequestId": "6F42D500-1956-4B*****30-C09E755F4F4B"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.