Detect 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.
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".
Body
Provide the assets for face detection
Confidence threshold for filtering detected faces.
0 <= x <= 1Must be a multiple of 0.050.5
200
The id of the task. Use this value in the get face detection details API to get the details of the face detection task.
"uuid-example"
The credits charged for the task.