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://docs.magichour.ai/llms.txt
Use this file to discover all available pages before exploring further.
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".
The id of the task. This value is returned by the face detection API.
"uuid-example"
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"
}
]