POST
/
api
/
ai
/
images
/
v2
/
facial-comparison
curl --request POST \
  --url https://api.worqhat.com/api/ai/images/v2/facial-comparison \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multi-part/form-data' \
  --data '{
  "source_image": "/path/to/image.jpg",
  "target_image": "/path/to/image.jpg"
}'
{
  "code": 200,
  "status": "success",
  "data": {
    "analysed_data": [
      {
        "Confidence": 92.51395416259766
      }
    ]
  },
  "processing_time": 1268,
  "processing_id": "492e385b-f1ec-412a-904e-3f55fd36fd86",
  "processing_count": 1
}

Authorizations

Authorization
string
headerrequired

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

Body

multi-part/form-data
source_image
string

The image to be sent as input.

target_image
string

The image to be sent as input.

Response

200 - application/json
code
integer
status
string
data
object
processing_time
integer
processing_id
string
processing_count
integer