POST
/
v1
/
face-detection
Face Detection
curl --request POST \
  --url https://api.magichour.ai/v1/face-detection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "confidence_score": 0.5,
  "assets": {
    "target_file_path": "api-assets/id/1234.png"
  }
}'
{
  "id": "<string>",
  "credits_charged": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Body

The body is of type object.

Response

200
application/json

200

The response is of type object.