azure-ai-contentsafety-java - Azure AI Content Safety SDK for Java
Build content moderation applications with Azure AI Content Safety SDK for Java, supporting text and image analysis, harm detection, and blocklist management.
Tags
Updated: 2026-09-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze text for harmful categories
- Analyze images from files or URLs
- Detect harm categories and severity levels
- Create and update text blocklists
- Add and remove blocklist items
- Analyze text using blocklists
Inputs
- Text to analyze
- Image binary data or URL
- Blocklist names and items
- CONTENT_SAFETY_ENDPOINT environment variable
- CONTENT_SAFETY_KEY environment variable
Outputs
- Text category severity analysis results
- Image category severity analysis results
- Blocklist match results
- Blocklist and block item details
- HTTP error response details
Requirements
- com.azure:azure-ai-contentsafety dependency
- CONTENT_SAFETY_ENDPOINT environment variable
- CONTENT_SAFETY_KEY or AZURE_TOKEN_CREDENTIALS environment variable
