GET /nsfw/file Requires Auth

Detect NSFW from image URL

Analyzes an image from a URL and returns NSFW detection results

Test Endpoint

Parameters

file * query string

Direct image URL to analyze

min query number

Minimum confidence threshold (0 - 100)

Example:

5

Code Examples

curl -X GET \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  'https://nexonapi.com/api/nsfw-detection/nsfw/file?min=5'
Example cURL Request
curl -X GET \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  'https://nexonapi.com/api/nsfw-detection/nsfw/file?min=5'
frontend.example_response
{
    "arensfw": false,
    "confidence": "87.45%",
    "detection": "NSFW DETECTED",
    "detections": []
}