AI-powered image classification. Send an image or URL — get a JSON response with categories, confidence scores, and safety verdict. Under 200ms.
# Detect NSFW content from URL
curl -X POST https://nsfwcheck.live/detect/url \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/photo.jpg"}'
Enterprise-grade content moderation API, designed for speed, accuracy, and privacy.
State-of-the-art AI model trained on millions of images. Reliable classification you can trust in production.
Lightning-fast inference. Classify images in real-time without slowing down your application or user experience.
Three-tier classification: safe, suggestive, and explicit. Fine-grained confidence scores for each category.
Images are processed in memory and immediately discarded. No files saved, no logs of content, full privacy.
Track your API usage, monitor quotas, and analyze detection patterns through the built-in analytics endpoint.
Start free with 100 images/month. Scale to millions without breaking the bank. No hidden fees or overages.
Three simple steps to protect your platform
Upload a file or provide a URL. Supports JPEG, PNG, WebP, GIF, and BMP formats.
Our model analyzes the image and assigns confidence scores to each category in under 200ms.
Receive a structured JSON response with categories, confidence scores, and a safe/unsafe verdict.
Clean, structured JSON — easy to integrate into any application
Quick verdict — true if the image is safe for general audiences, false otherwise.
Confidence scores (0–1) for each category: safe, suggestive, explicit.
Overall model confidence in the primary classification (0–1). Higher is more certain.
Server-side processing time in milliseconds. Typically under 200ms.
Drop-in code for your language of choice
# Detect via image URL
curl -X POST https://nsfwcheck.live/detect/url \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/photo.jpg"}'
# Detect via file upload
curl -X POST https://nsfwcheck.live/detect \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "image=@photo.jpg"
import requests
# Detect via URL
response = requests.post(
"https://nsfwcheck.live/detect/url",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"url": "https://example.com/photo.jpg"}
)
result = response.json()
print(f"Safe: {result['safe']}")
print(f"Categories: {result['categories']}")
print(f"Confidence: {result['confidence']}")
# Detect via file upload
with open("photo.jpg", "rb") as f:
response = requests.post(
"https://nsfwcheck.live/detect",
headers={"Authorization": "Bearer YOUR_API_KEY"},
files={"image": f}
)
// Detect via URL
const response = await fetch("https://nsfwcheck.live/detect/url", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://example.com/photo.jpg"
}),
});
const result = await response.json();
console.log(`Safe: ${result.safe}`);
console.log(`Categories:`, result.categories);
// Detect via file upload
const formData = new FormData();
formData.append("image", fileInput.files[0]);
const uploadRes = await fetch("https://nsfwcheck.live/detect", {
method: "POST",
headers: { "Authorization": "Bearer YOUR_API_KEY" },
body: formData,
});
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
)
type DetectResponse struct {
Safe bool `json:"safe"`
Categories map[string]float64 `json:"categories"`
Confidence float64 `json:"confidence"`
ProcessingMs int `json:"processing_ms"`
}
func main() {
payload := []byte(`{"url":"https://example.com/photo.jpg"}`)
req, _ := http.NewRequest("POST",
"https://nsfwcheck.live/detect/url",
bytes.NewBuffer(payload))
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
var result DetectResponse
json.NewDecoder(resp.Body).Decode(&result)
fmt.Printf("Safe: %v, Confidence: %.2f\n",
result.Safe, result.Confidence)
}
Paste an image URL to see the API in action (simulated)
⚠️ This is a simulated demo. The real API requires an API key. Results shown are randomly generated for illustration.
Simple REST API — four endpoints, that's it
/detect
Upload an image file (multipart/form-data) for NSFW classification. Supports JPEG, PNG, WebP, GIF, BMP.
/detect/url
Send an image URL in JSON body. The API fetches and classifies the image — no file upload needed.
/health
Health check endpoint. Returns API status, uptime, and model version. No authentication required.
/usage
Get your usage statistics — images processed, quota remaining, and billing period info.
Start free. Scale as you grow. No hidden fees.
For testing & personal use
For small apps & MVPs
For growing platforms
For scale & enterprise
Common use cases for NSFW detection
Auto-moderate user-uploaded images before they appear in feeds, profiles, and comments.
Screen product listings and seller uploads to ensure marketplace content policies are followed.
Filter images shared in chat rooms and direct messages to protect users and comply with regulations.
Moderate avatars, screenshots, and user-generated content in games and creative platforms.
Get your API key, integrate with a few lines of code, and protect your platform today.