All Products
Search
Document Center

ApsaraVideo VOD:UpdateImageInfos

Last Updated:Oct 27, 2026

Updates the titles, descriptions, tags, and categories of multiple images by image ID after the images are uploaded to ApsaraVideo VOD.

Operation description

  • This operation only supports modifying uploaded images and does not support modifying images generated from video snapshots.

  • You can modify the information of up to 20 images at a time.

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:UpdateImageInfos

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

UpdateContent

string

Yes

The update content. You can modify the information of up to 20 images at a time. For the parameter structure, refer to the UpdateContent table below.

Note
  • The Title, Description, and Tags fields cannot contain emojis.

  • If a parameter is passed, the corresponding field is updated. Otherwise, the corresponding field is not overwritten or updated.

[{"ImageId":"ff8fe57e3461416c6a267a4e09****","Title":" title","Description":" description","Tags":" tag1, tag2"}]

UpdateContent

Note

The value of UpdateContent must be converted to a string before it is passed as a parameter.

NameTypeRequiredDescription
ImageIdStringYesThe image ID. You can obtain the image ID by using one of the following methods:
Log on to the ApsaraVideo VOD console and choose Media Files > Images to view the ID.
The ID is returned when you call the CreateUploadImage operation to obtain the upload URL and credential.
The ID is returned when you call the SearchMedia operation to query images.







TitleStringNoThe image title. The title can be up to 128 bytes in length and must be encoded in UTF-8.
DescriptionStringNoThe image description. The description can be up to 1,024 bytes in length and must be encoded in UTF-8.
TagsStringNoThe image tags. A single tag can be up to 32 bytes in length. You can specify up to 16 tags. Separate multiple tags with commas (,). The tags must be encoded in UTF-8.
CateIdLongNoThe category ID. You can obtain the category ID by using one of the following methods:
Log on to the ApsaraVideo VOD console and choose Configuration > Media Management Configuration > Category Management to view the category ID.
The ID is returned when you call the AddCategory operation to create a category.
The ID is returned when you call the GetCategories operation to query categories.







Response elements

Element

Type

Description

Example

object

The response result.

RequestId

string

The request ID.

25818875-5F78-4AF6-D7393642CA58****

NonExistImageIds

object

ImageId

array

The list of non-existent image IDs.

string

The list of non-existent image IDs.

f45cf4eba5c80233389558c39****

Examples

Success response

JSON format

{
  "RequestId": "25818875-5F78-4AF6-D7393642CA58****",
  "NonExistImageIds": {
    "ImageId": [
      "f45cf4eba5c80233389558c39****"
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.