Face Detection
Changed onDetect faces in an image or video.
Use this API to get the list of faces detected in the image or video to use in the face swap photo or face swap video API calls for multi-face swaps.
Note: Face detection is free to use for the near future. Pricing may change in the future.
Request
- Base URLhttps://api.magichour.ai
- URLhttps://api.magichour.ai/v1/face-detection
- AuthHTTP bearer
Request body
Example request
{
"confidence_score": 0.5,
"assets": {
"target_file_path": "api-assets/id/1234.png"
}
}Response
200
Example response
{
"id": "uuid-example"
}Changes
- info
added the non-success response with the status
- info
removed the
Not Foundenum value from theresponse property for the response status - info
removed the
Unauthorizedenum value from theresponse property for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
added the non-success response with the status
- info