Face Beautification API
POSThttps://api.acedata.cloud/face/beautify
This API can be used for users to upload a facial image (up to five faces can be processed from a single image), accurately locating facial features to achieve beautification functions such as skin smoothing, brightening, and acne removal.
Request Headers
acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token
Request Body
image_urlstringRequired parameter
The link address of the image to be processed.
smoothingnumber
Skin smoothing level, value range [0, 100]. 0 means no smoothing, 100 means the highest level, and the default value is 10.
whiteningnumber
Whitening level, value range [0, 100]. 0 means no whitening, 100 is the highest level, and the default value is 30.
face_liftingnumber
Face slimming degree, value range [0, 100]. 0 means no face slimming, 100 is the highest degree, and the default value is 70.
eye_enlargingnumber
Degree of eye enlargement, value range [0, 100]. 0 means no eye enlargement, 100 is the highest degree, and the default value is 70.
Response
Face Transformation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
