Detect faces in images and get landmark information
true to return only the largest face data, or false to return all detected faces. This parameter controls whether the API returns data for multiple faces or just the most prominent one.landmarks_str value from the response should be used as the opts parameter in Face Swap APIsopts parameter)| Error Code | Description |
|---|---|
| 0 | Success |
| Other | Check error_msg for details |
Your API Key used for request authorization. If both Authorization and x-api-key have values, Authorization will be used first and x-api-key will be discarded.
Set to true to return only the largest face data, or false to return all detected faces. When true, the API will detect all faces but only return data for the most prominent (largest) face.
Image link. You can choose to enter this parameter or the img parameter.
Image base64 information. You can choose to enter this parameter or the image_url parameter.
Face detection completed
Interface returns business status code (0: success)
Error message of this API
Key point data of face
Landmark string representation
Face region coordinates
API time-consuming
Transaction ID