This topic lists all configuration management operations that the Content Moderation API provides. You can call the operations to manage custom text libraries and custom image libraries.

Overview

Content Moderation allows you to manage custom text libraries and custom image libraries. You can complete these tasks in the Alibaba Cloud Content Moderation console or by calling API operations to easily meet your content moderation needs.

Note We recommend that you use the SDKs that Content Moderation provides in different development languages to call the Content Moderation API. The SDKs free you from the complex needs of constructing a request and calculating a signature to call the Content Moderation API. If no SDK is available for your development language, you can refer to the API reference to directly call API operations. For more information about the SDK operations, see SDK overview.
The following table lists the types of configuration management operations that the Content Moderation API provides.
Type Feature
Operations for managing custom image libraries Manage custom image libraries in the Alibaba Cloud Content Moderation console.
Operations for managing custom text libraries Manage custom text libraries in the Alibaba Cloud Content Moderation console.

Operations for managing custom image libraries

Operation Feature Description
DescribeImageLib Queries image libraries. You can call this operation to query the custom image libraries that have been created.
CreateImageLib Creates an image library. You can call this operation to create a custom image library.
UpdateImageLib Modifies the information of an image library. You can call this operation to modify the name and BizTypes parameter of a specified custom image library.
DeleteImageLib Deletes an image library. You can call this operation to delete a specified custom image library.
DescribeImageFromLib Queries images in an image library. You can call this operation to query the images that have been added to a specified custom image library.
DeleteImageFromLib Deletes images. You can call this operation to delete one or more images from a specified custom image library.
UploadImageToLib Uploads images. You can call this operation to add the metadata of images to a specified custom image library.

Operations for managing custom text libraries

Operation Feature Description
DescribeKeywordLib Queries text libraries. You can call this operation to query the text libraries that have been created.
CreateKeywordLib Creates a text library. You can call this operation to create a custom text library.
UpdateKeywordLib Modifies the basic information of a text library. You can call this operation to modify the basic information of a specified custom text library.
DeleteKeywordLib Deletes a text library. You can call this operation to delete a specified custom text library.
CreateKeyword Adds text. You can call this operation to add text to a specified custom text library.
DescribeKeyword Queries text. You can call this operation to query text in a specified custom text library.
DeleteKeyword Deletes text. You can call this operation to delete text from a specified custom text library.