Introduction to Moderation SDK
Overview of Content Moderation
Content Moderation adopts image, text, audio, and video detection technologies that detect pornography. This reduces potential business risks.
Content Moderation provides services through open application programming interfaces (APIs). You can obtain the inference results by accessing and calling APIs in real time. It helps you collect key data automatically and build an intelligent service system, thereby improving service efficiency.
SDK Overview
Content Moderation Software Development Kit (Moderation SDK for short) encapsulates the RESTful APIs provided by Content Moderation to simplify application development. You can add dependencies or download SDKs to call APIs to use Content Moderation.
Mappings Between Services and APIs
Table 1 lists the mappings between the Content Moderation sub-services and APIs.
Service |
API |
---|---|
Text Moderation |
POST /v2/{project_id}/moderation/text |
Image Moderation |
POST /v2/{project_id}/moderation/image |
Image Moderation (Batch) |
POST /v2/{project_id}/moderation/image/batch |
Image Moderation (Asynchronous Batch) - Submitting a Task |
POST /v2/{project_id}/moderation/image/batch/jobs |
Image Moderation (Asynchronous Batch) - Querying the Result |
GET /v2/{project_id}/moderation/image/batch |
Image Moderation (Asynchronous Batch) - Querying the Task List |
GET /v2/{project_id}/moderation/image/batch/jobs |
Creating a Video Moderation Job |
POST /v3/{project_id}/moderation/video/jobs |
Querying a Video Moderation Job |
GET /v3/{project_id}/moderation/video/jobs/{job_id} |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot