Content Safety
SeaCloud provides powerful content moderation APIs for image and video safety detection. Using advanced AI technology, it can detect both explicit and implicit violations with 99% accuracy and 50ms response time.
Important: Content Safety API has its own dedicated endpoint. Image and video moderation use the same endpoint, differentiated by the is_video parameter.
How to Use Content Safety API
Example: Image Content Moderation
Here is an example of scanning an image using Content Safety API:
curl --location --max-time 5 'https://openresty-gateway.api.seaart.ai/model/v1/image/scan' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"uri": "https://example.com/image.jpg",
"is_video": 0
}'Example: Video Content Moderation
To scan a video, set the is_video parameter to 1:
API Response
The API will return scan results containing:
Categories: Detected violation types
Confidence: Confidence score for each category
Is Safe: Whether the content passed moderation
Use Cases: Content Safety API is ideal for AI-generated content platforms, social media, e-commerce platforms, online education, gaming communities, and any scenario requiring content moderation. Processing over 10 million requests daily, providing reliable content safety protection for numerous enterprises.
Last updated