# Alibaba Cloud Content Moderation API

> Alibaba Cloud Content Moderation API on Apizie: 31 endpoints (The document moderation result, Retrieves the results of an Image Moderation Pro task, The enhanced image moderation auxiliary information API operation retrieves additional auxiliary information…, Query the results of an asynchronous multimodal moderation task, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:aliyun-green/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-green`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/green
- Page: https://apizie.tech/api/cloud/aliyun-green
- OpenAPI: https://apizie.tech/api/cloud/aliyun-green/openapi.json

Alibaba Cloud OpenAPI for Content Moderation (green, version 2022-03-02). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### The document moderation result
`POST https://apizie.tech/v1/cloud:aliyun-green/describe-file-moderation-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The service supported by the enhanced file moderation feature |
| ServiceParameters | string | no | The set of parameters required by the moderation service, in JSON character string format. taskId: Required. The URL of the object to be… |

### Retrieves the results of an Image Moderation Pro task
`POST https://apizie.tech/v1/cloud:aliyun-green/describe-image-moderation-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ReqId | string | no | The \`ReqId\` returned by the asynchronous Image Moderation Pro API |

### The enhanced image moderation auxiliary information API operation retrieves additional auxiliary information…
`POST https://apizie.tech/v1/cloud:aliyun-green/describe-image-result-ext` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ReqId | string | no | The requestId field returned by the enhanced image moderation API |
| InfoType | string | no | The type of information to obtain. Multiple values are separated by commas. Valid values: customImage: custom image library hit… |

### Query the results of an asynchronous multimodal moderation task
`POST https://apizie.tech/v1/cloud:aliyun-green/describe-multimodal-moderation-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ReqId | string | no | The ReqId field returned by the asynchronous moderation API |

### Retrieves an upload token
`POST https://apizie.tech/v1/cloud:aliyun-green/describe-upload-token` (byok)

### Queries moderation results based on the ReqId returned by asynchronous URL moderation
`POST https://apizie.tech/v1/cloud:aliyun-green/describe-url-moderation-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ReqId | string | no | The ReqId field returned by the asynchronous URL moderation operation |

### Moderates document content
`POST https://apizie.tech/v1/cloud:aliyun-green/file-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The service supported by enhanced document moderation |
| ServiceParameters | string | no | The set of parameters required for the moderation service. The value must be a JSON string. url: Required. The URL of the object to be… |

### This API is used for asynchronous image moderation. Asynchronous moderation tasks do not return detection…
`POST https://apizie.tech/v1/cloud:aliyun-green/image-async-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The detection service supported by the enhanced image moderation feature. Valid values: baselineCheck: common baseline moderation… |
| ServiceParameters | string | no | A set of parameters related to the content to be moderated. The value must be a JSON string |

### Invokes image moderation in batches
`POST https://apizie.tech/v1/cloud:aliyun-green/image-batch-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The detection types supported by Image Moderation Enhanced Edition. Separate multiple values with commas. Valid values: baselineCheck:… |
| ServiceParameters | string | no | The parameter set for the content moderation object |

### Moderates images
`POST https://apizie.tech/v1/cloud:aliyun-green/image-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The detection types supported by Image Moderation Enhanced Edition. Valid values: baselineCheck: general baseline check baselineCheck_pro:… |
| ServiceParameters | string | no | The parameter set for the content moderation object. The value is a JSON string. imageUrl: the URL of the object to be moderated.… |

### The channel callback API for manual review results in Content Moderation
`POST https://apizie.tech/v1/cloud:aliyun-green/manual-callback` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Code | string | no | The code |
| Msg | string | no | The message |
| Checksum | string | no | The checksum |
| ReqId | string | no | The ID of the platform request. This ID is used to troubleshoot issues |
| Data | string | no | The returned data |
| Channel | string | no | The channel field |

### Interface for submitting Content Moderation manual review requests
`POST https://apizie.tech/v1/cloud:aliyun-green/manual-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | Service |
| ServiceParameters | string | no | Parameters required by the moderation service, in JSON string format. url: The URL of the object to be inspected. Make sure the URL is… |

### Retrieves the manual review result for content moderation
`POST https://apizie.tech/v1/cloud:aliyun-green/manual-moderation-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ServiceParameters | string | no | The set of parameters required by the service, in JSON string format. taskId: The task ID returned when the task was submitted |

### Synchronously detects content by calling the multimodal Agent API
`POST https://apizie.tech/v1/cloud:aliyun-green/multi-modal-agent` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ServiceParameters | string | no | The parameter set required by the moderation service. taskId specifies the taskId of the detection task to query. Only one taskId can be… |
| AppID | string | no | The unique identifier of the whiteboard application. To obtain the whiteboard application ID, see… |

### Synchronously moderates multimodal content through the Agent API
`POST https://apizie.tech/v1/cloud:aliyun-green/multi-modal-agent-sse` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ServiceParameters | string | no | The parameter set required by the moderation service, in JSON string format. The text content input parameter is content (String), the… |
| AppID | string | no | The unique identifier of the whiteboard application. To obtain the whiteboard application ID, refer to… |
| Stream | string | no | Specifies whether to use streaming output |

### API for synchronous detection
`POST https://apizie.tech/v1/cloud:aliyun-green/multi-modal-guard` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The type of the moderation service. Valid values: query_security_check: AI input content moderation. response_security_check: AI-generated… |
| ServiceParameters | string | no | The set of parameters required for the moderation service. The value must be a JSON string |

### An asynchronous multimodal AI safety guardrail API for audio and video. It provides comprehensive detection…
`POST https://apizie.tech/v1/cloud:aliyun-green/multi-modal-guard-async` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The moderation service type. Valid values: `audio_security_check` and `video_security_check` |
| ServiceParameters | string | no | The parameter set required for the moderation service |

### Queries the asynchronous detection results of AI security guardrails for multimodal content, supporting…
`POST https://apizie.tech/v1/cloud:aliyun-green/multi-modal-guard-async-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The moderation service |
| ServiceParameters | string | no | The set of parameters required by the moderation service. The value is a JSON string |

### Performs synchronous multimodal content moderation. Supports image base64 strings
`POST https://apizie.tech/v1/cloud:aliyun-green/multi-modal-guard-for-base64` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | Service |
| ServiceParameters | string | no | The service parameters |
| ImageBase64Str | string | no | The base64-encoded string of the image |
| FileBase64Str | string | no | The base64-encoded string of the document |

### Provides a WebSocket-based multimodal detection API for AI safety guardrails. This API supports content…
`POST https://apizie.tech/v1/cloud:aliyun-green/multi-modal-guard-ws` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The moderation service category. Valid values: query_security_check_pro: AI input content security detection (pro edition).… |
| ServiceParameters | string | no | The parameter set required by the moderation service, in JSON string format. The input parameter for text content is content (String), the… |
| ProtocolType | string | no | The protocol type. Valid values: OpenAI DashScope Anthropic |
| ModelType | string | no | The model type. Valid values: LLM |

### Multimodal-Asynchronous Detection
`POST https://apizie.tech/v1/cloud:aliyun-green/multimodal-async-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The type of moderation service. Valid values: post_text_image_detection: multimodal moderation for post text and images… |
| ServiceParameters | string | no | The parameter set required by the moderation service. This value must be a JSON string |

### This service uses dynamic policies and models to defend against adversarial content. It provides moderation…
`POST https://apizie.tech/v1/cloud:aliyun-green/text-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The type of moderation service. Valid values: |
| ServiceParameters | string | no | The parameters for the moderation service. The value must be a JSON string |

### Text Moderation Plus is an upgraded service that moderates the input instructions and generated text of…
`POST https://apizie.tech/v1/cloud:aliyun-green/text-moderation-plus` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The type of the moderation service |
| ServiceParameters | string | no | The set of parameters required for the moderation service. The value must be a JSON string |

### The URL asynchronous moderation service detects threats such as fraud, pornography, and gambling in URLs to…
`POST https://apizie.tech/v1/cloud:aliyun-green/url-async-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | Service name: URL threat detection |
| ServiceParameters | string | no | The parameter set for the content moderation object. This parameter is a JSON string. For more information, see the description of… |

### The enhanced video moderation feature of Content Moderation detects threats and non-compliant content in…
`POST https://apizie.tech/v1/cloud:aliyun-green/video-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The service code for video moderation |
| ServiceParameters | string | no | The parameters that are required for the moderation service. The value must be a JSON string. url: Required. The URL of the object to be… |

### Cancels an ApsaraVideo Live content moderation node
`POST https://apizie.tech/v1/cloud:aliyun-green/video-moderation-cancel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The type of the moderation service |
| ServiceParameters | string | no | The TaskId of the task to cancel |

### Retrieves the task result of a video moderation node from the enhanced video moderation service
`POST https://apizie.tech/v1/cloud:aliyun-green/video-moderation-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The service code for video moderation |
| ServiceParameters | string | no | The parameter set required by the moderation service. taskId specifies the task ID of the detection task to query. Only one taskId can be… |

### Submits a task for enhanced voice moderation
`POST https://apizie.tech/v1/cloud:aliyun-green/voice-moderation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The ServiceCode for voice moderation |
| ServiceParameters | string | no | The set of parameters that are required for the moderation service. The value must be a JSON string. url: Required. The URL of the object… |

### This operation cancels an enhanced voice moderation task
`POST https://apizie.tech/v1/cloud:aliyun-green/voice-moderation-cancel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The type of moderation service. Valid values include \`nickname\_detection\` for user nicknames. Other values are to be determined |
| ServiceParameters | string | no | The ID of the task that you want to cancel |

### Retrieve the detection results for enhanced voice moderation
`POST https://apizie.tech/v1/cloud:aliyun-green/voice-moderation-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Service | string | no | The moderation service type. Supported values include `nickname_detection` for user nickname moderation. Support for more types is planned |
| ServiceParameters | string | no | Parameters that the gateway sends to the backend service. For more information, see https://help.aliyun.com/document_detail/43988.html |

### version
`POST https://apizie.tech/v1/cloud:aliyun-green/version` (byok)

## Example
```
curl "https://apizie.tech/v1/cloud:aliyun-green/describe-file-moderation-result" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Content Moderation API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:aliyun-green/describe-file-moderation-result with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud Content Moderation API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud Content Moderation itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud Content Moderation API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-green.

### What is the status of the Alibaba Cloud Content Moderation API?
Needs your own provider key (bring your own key)
