Face Gender Conversion API
POSThttps://api.acedata.cloud/face/change-gender
This API can be used for users to upload a facial image, and based on facial editing and generation algorithms, it outputs an image of gender transformation. Male to female can achieve effects such as beautification, light makeup, bangs, and long hair; female to male can achieve effects such as adding a beard and changing to short hair.
Request Headers
acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token
Request Body
image_urlstringRequired parameter
The link address for the images to be processed.
gender_infosarrayRequired parameter
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.
