This topic describes all configuration management operations that Content Moderation 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 meet your content moderation needs.

Note We recommend that you use the SDKs that Content Moderation provides in different programming 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 programming 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 configuration management operations available for use in Content Moderation.
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

API Description
DescribeImageLib Queries the custom image libraries that are created.
CreateImageLib Creates a custom image library.
UpdateImageLib Modifies the name and BizTypes parameter of a specified custom image library.
DeleteImageLib Deletes a specified custom image library.
DescribeImageFromLib Queries the images that are added to a specified custom image library.
DeleteImageFromLib Deletes one or more images from a specified custom image library.
UploadImageToLib Adds the metadata of images to a specified custom image library.

Operations for managing custom text libraries

API Description
DescribeKeywordLib Queries the text libraries that are created.
CreateKeywordLib Creates a custom text library.
UpdateKeywordLib Modifies the basic information of a specified custom text library.
DeleteKeywordLib Deletes a specified custom text library.
CreateKeyword Adds text to a specified custom text library.
DescribeKeyword Queries text in a specified custom text library.
DeleteKeyword Deletes text from a specified custom text library.