NSFW Image Detection
Analyze images for NSFW content. Use this model for content moderation, safety filtering, and automated image screening workflows.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "nsfw-image-detection",
"version": "0.0.1",
"input": {
"image": "https://example.com/photo-to-check.jpg"
}
}'
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| image | string | - | Input image to analyze |
Examples
Check uploaded user content:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "nsfw-image-detection",
"version": "0.0.1",
"input": {
"image": "https://example.com/user-upload.jpg"
}
}'
Moderate generated images:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "nsfw-image-detection",
"version": "0.0.1",
"input": {
"image": "https://example.com/generated-image.png"
}
}'
Related Models
- blip-2 - Image captioning and visual Q&A
- 1019-face-analyzer - Face analysis for age, race, and gender
- rembg - Background removal from images