AI Guardrails provides configuration management API operations for building and managing custom image libraries and text libraries. Use these APIs to integrate library management directly into your own systems instead of using the console.
Note For faster integration, use the software development kit (SDK). The SDK handles request signing, encapsulation, and protocol details automatically. If no SDK is available for your language, call the APIs directly. See SDK overview.
This topic describes the AI Guardrails configuration management API operations. You can use these API operations to configure custom text libraries and image galleries.
Navigation
AI Guardrails lets you create custom text libraries and image galleries. You can perform these operations in the console or by calling API operations for better integration with your management system.
| Type | Feature |
|---|---|
| Custom image library | Manage custom image libraries in the Alibaba Cloud Security console by calling API operations. |
| Custom text library | Manage custom text libraries in the Alibaba Cloud Security console by calling API operations. |
Custom similar image library
| API | Description |
|---|---|
| DescribeImageLib | Queries all custom image libraries. |
| CreateImageLib | Creates a custom image library. |
| UpdateImageLib | Updates the name and applicable bizTypes parameter of a custom image library. |
| DeleteImageLib | Deletes a custom image library. |
| DescribeImageFromLib | Queries the images in a custom image library. |
| DeleteImageFromLib | Deletes images from a custom image library. |
| UploadImageToLib | Adds image metadata to a custom image library. |
Custom text library
| API | Description |
|---|---|
| DescribeKeywordLib | Queries all custom text libraries. |
| CreateKeywordLib | Creates a custom text library. |
| UpdateKeywordLib | Updates the information of a custom text library. |
| DeleteKeywordLib | Deletes a custom text library. |
| CreateKeyword | Adds text to a specified text library. |
| DescribeKeyword | Searches for text in a specified text library. |
| DeleteKeyword | Deletes keywords from a custom text library. |