Help Center/ Content Moderation/ SDK Reference/ Introduction to Moderation SDK
Updated on 2025-07-02 GMT+08:00

Introduction to Moderation SDK

Overview of Content Moderation

Content Moderation adopts image, text, audio, audio stream, 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.

Table 1 Mappings between services and APIs

Service

API

Text Moderation (V3)

POST /v3/{project_id}/moderation/text

Image Moderation (V3)

POST /v3/{project_id}/moderation/image

Creating an Audio Moderation Job

POST /v3/{project_id}/moderation/audio/jobs

Querying an Audio Moderation Job

GET /v3/{project_id}/moderation/audio/jobs/{job_id}

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}

Creating an Audio Stream Moderation Job

POST /v3/{project_id}/moderation/audio-stream/jobs

Querying an Audio Stream Moderation Job

POST /v3/{project_id}/moderation/audio-stream/jobs/stop/{job_id}