CONTENT SAFETY
Content Moderation API
A single synchronous endpoint for text, image, and video moderation. Artany handles authentication, idempotency, Credits, and a stable response contract for your safety workflows.
Text
text
1–1,024 characters
1 Credits / request
Image
url
Public or signed HTTP(S) URL
2 Credits / request
Video
url
Public or signed HTTP(S) URL
5 Credits / request
How it works
Built for a production moderation path.
1
Authenticate
Use the same Artany Bearer API key as every other API capability.
2
Submit once
Send one modality per request and include an Idempotency-Key for retry safety.
3
Apply your policy
Use class labels, scores, and video timestamps to allow, review, or block.
REQUEST EXAMPLE
POST https://api.artany.ai/v1/moderations
Authorization: Bearer $ARTANY_API_KEY
Idempotency-Key: unique-request-key
{
"modality": "video",
"url": "https://cdn.example.com/video.mp4"
} DOCUMENTATION