Get Face Detection Details API Reference - Magic Hour Docs
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.
Documentation Index
Fetch the complete documentation index at: https://magichour-update-openapi-spec.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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"
}
]