/v1/moderations to classify an image and receive a normalized safety result.
flagged for allow/block decisions. Keep label and score for review
workflows, logging, or secondary thresholds.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Classify image safety with a public moderation model.
/v1/moderations to classify an image and receive a normalized safety result.
curl https://apiany.ai/v1/moderations \
-H "Authorization: Bearer $APIANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nsfw-image-detection",
"image_url": "https://example.com/image.png"
}'
flagged for allow/block decisions. Keep label and score for review
workflows, logging, or secondary thresholds.