POST /nsfw/image
Binary NSFW classification for image URLs or data URLs
Request
- Base URLhttps://api.nano-gpt.com/api
- URLhttps://api.nano-gpt.com/api/nsfw/image
- Auth
- API key in header x-api-key
- or HTTP bearer
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
}Changes
No recorded changes to this operation across all 2 revisions of this API.