The services check and extract the necessary information from the uploaded images, hence please ensure the uploaded images satisfy the following criteria:
Is in one of the following image formats: PNG / JPG / JPEG
Below 2 MB file size
Minimum resolution of 256 x 256
Maximum resolution of 4096 x 4096
Response Description
Parameter
Description
code
enum Status Code.
transactionId
string The request id, the max length is 64.
pricingStrategy
enum Whether the request will be charged, enum type: FREE, PAY
message
string The error message used to debug
data
string The face id created.
extra
object Extra response info (Exception Message).
Response Code
Status Code
Message
SUCCESS
free OK.
PARAMETER_ERROR
free Parameter error, please check your request whether has illegal parameters.
free Failed to embed image: No face detected.
free File should be an image file, like jpg, png, jpeg.
free File size should be less than 2MB.
free Image resolution should be 256 256 to 4096 4096.