POST
/
api
/
ai
/
images
/
v2
/
image-moderation
curl --request POST \
  --url https://api.worqhat.com/api/ai/images/v2/image-moderation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form image=/path/to/image.jpg
{
  "summary": "Example response with moderation data",
  "value": {
    "data": [
      {
        "Confidence": 85.734561,
        "Name": "Explicit Nudity",
        "ParentName": "Adult Content",
        "TaxonomyLevel": 3
      }
    ],
    "processingTime": 888,
    "processingId": "4b139bfe-1f71-4345-b539-fa6c1700f166",
    "processingCount": 3
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
image
file

The image to be sent as input.

Response

200
application/json
Successful response
data
object[]
required
processingTime
number
required

The amount of time in miliseconds it took to complete the request.

processingId
string
required

A unique identifier for the server process. This helps us track support requests and complaints.

processingCount
integer
required

Usage statistics for the request. This is what is used for the billing.