face_detection_retrieve_details
Retrieve the list of faces detected in a face detection task. Use the task ID to get face details for multi-face swaps in photo or video.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id). | |
| faces | Yes | The faces detected in the image or video. The list is populated as faces are detected. | |
| status | Yes | The status of the detection. | |
| credits_charged | Yes | The credits charged for the task. |