This topic describes the endpoints of the Content Moderation API.
The endpoints of the Content Moderation API are in the following format:
http(s)://green.{region}.aliyuncs.com/API operation
where:
{region}
indicates a region. The following table describes the supported regions.If you use a public endpoint, you can replace {region} with a region that is close to the server and supports the operation to be called. This reduces the time spent in calling API operations. If you use the Content Moderation API in the Alibaba Cloud Management Console, you can use an internal endpoint and replace {region} with the region where the server resides. Compared with API calls over the Internet, API calls over the internal network consume less time.
Region SDK version that supports HTTPS Public endpoint Internal endpoint Feature supported in the region China (Shanghai) Version 3.0.0 and later green.cn-shanghai.aliyuncs.com green-vpc.cn-shanghai.aliyuncs.com All services are deployed. For more information, see List of operations by function. China (Beijing) Version 3.0.0 and later green.cn-beijing.aliyuncs.com green-vpc.cn-beijing.aliyuncs.com All services are deployed. For more information, see List of operations by function. China (Shenzhen) Version 3.0.0 and later green.cn-shenzhen.aliyuncs.com green-vpc.cn-shenzhen.aliyuncs.com - Pornographic detection for images and videos
- Terrorist content detection for images and videos
- Ad detection for images and videos
- Celebrity recognition for images and videos
- Optical character recognition (OCR) for regular images excluding cards and certificates
- Text moderation
- Audio moderation
Singapore (Singapore) Version 3.0.0 and later green.ap-southeast-1.aliyuncs.com green-vpc.ap-southeast-1.aliyuncs.com - Pornographic detection for images and videos
- Terrorist content detection for images and videos
- Ad detection for images and videos
- Celebrity recognition for images and videos
- OCR for regular images excluding cards and certificates
- Text moderation
Germany (Frankfurt) Version 3.0.0 and later green.eu-central-1.aliyuncs.com green-vpc.eu-central-1.aliyuncs.com - Pornographic detection for images
- Terrorist content detection for images
- Ad detection for images
- OCR for regular images excluding cards and certificates
- Text moderation
US (Silicon Valley) Version 3.0.0 and later green.us-east-1.aliyuncs.com green-vpc.us-east-1.aliyuncs.com - Pornographic detection for images
- Terrorist content detection for images
- Ad detection for images
- Text moderation
API operation
indicates the URI of the specific API operation. For more information, see the description of each API operation.
For example, the following endpoint can be used to call the pornography detection service in the China (Shanghai) region:
http(s)://green.cn-shanghai.aliyuncs.com/green/image/scan