NSFW prompt check
curl --request POST \
--url https://modelslab.com/api/check_nsfw_cp \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"prompt": "<string>"
}
'{
"is_cp": true,
"is_nsfw": true,
"original_prompt": "<string>",
"filtered_prompt": "<string>"
}General APIs
NSFW Prompt Check
This endpoint is useful to check if a prompt has CP or NSFW content.
POST
/
check_nsfw_cp
NSFW prompt check
curl --request POST \
--url https://modelslab.com/api/check_nsfw_cp \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"prompt": "<string>"
}
'{
"is_cp": true,
"is_nsfw": true,
"original_prompt": "<string>",
"filtered_prompt": "<string>"
}Request
Send aPOST request to below endpoint to check if an image is nsfw or not.
curl
--request POST 'https://modelslab.com/api/check_nsfw_cp' \
Body
json
{
"key": "your_api_key",
"prompt": "ultra realistic close up portrait ((beautiful pale cyberpunk female with heavy black eyeliner, nude)) , blue eyes, shaved side haircut, hyper detail, cinematic lighting, magic neon, dark red city, Canon EOS R3, nikon, f/1.4, ISO 200, 1/160s, 8K, RAW, unedited, symmetrical balance, in-frame, 8K"
}
Body
application/json
Response
NSFW prompt check response
Was this page helpful?
⌘I

