Get face detection details
Get the details of a face detection task.
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.
Authorizations
Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API key. To get your API key, go to Developer Hub and click "Create new API Key".
Path Parameters
The id of the task. This value is returned by the face detection API.
"uuid-example"
Response
200
The id of the task. This value is returned by the face detection API.
"uuid-example"
The credits charged for the task.
0
The status of the detection.
queued, rendering, complete, error "complete"
The faces detected in the image or video. The list is populated as faces are detected.
[
{
"path": "api-assets/id/0-0.png",
"url": "https://videos.magichour.ai/api-assets/id/0-0.png"
}
]