✨ NEW:SORA Watermark Remover - Remove watermarks from SORA generated videos. · Try it now
cURL
curl --request POST \ --url https://modelslab.com/api/nsfw_image_check \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "init_image": "<string>", "threshold": 0.5 } '
{ "images": "<string>", "has_nsfw_concept": [ true ] }
Used to check if an image is NSFW or not.
POST
--request POST 'https://modelslab.com/api/v3/nsfw_image_check' \
{ "key": "your_api_key", "init_image": "http://your-image-url.com", "threshold": 0.5 }
threshold
Your enterprise API Key used for request authorization
The image you want to check
Floating-point threshold score for NSFW detection (image or video)
0 <= x <= 1
NSFW image check response
The image URL that was checked
Array indicating if the image has NSFW content
Was this page helpful?