⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · Try Now
curl --request POST \
--url https://modelslab.com/api/v3/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.
curl --request POST \
--url https://modelslab.com/api/v3/nsfw_image_check \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"init_image": "<string>",
"threshold": 0.5
}
'{
"images": "<string>",
"has_nsfw_concept": [
true
]
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
POST request to below endpoint to check if an image is nsfw or not.
--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 is a float between 0 and 1 (default: 0.5).Was this page helpful?