v1
latestOpenAPI 3.1.0MIT2026-07-262861121.0 KBBinary NSFW classification for image URLs or data URLs
post/nsfw/image
Request body
Example request
{
"image_urls": "https://example.com/image.jpg",
"imageUrls": "https://example.com/image.jpg",
"imageUrl": "https://example.com/image.jpg",
"imageDataUrl": "data:image/jpeg;base64,/9j/4AAQ..."
}Response
NSFW classification response
Example response
{
"model": "nsfw-classifier",
"inputCount": 2,
"cost": 0.003,
"currency": "USD",
"has_nsfw_concepts": [
false,
true
],
"is_nsfw": true
}