Application Process
To use the API, you need to first apply for the corresponding service on the Face Age Change API page. After entering the page, click the “Acquire” button, as shown in the image below:
If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in. After logging in or registering, you will be automatically returned to the current page.
Upon the first application, there will be a free quota provided, allowing you to use the API for free.
Basic Usage
First, understand the basic usage method, which is to input the image link and age information to obtain the processed result image. You need to simply pass animage_url field, with the face image shown below:

age_infos, which is an array, allowing us to pass multiple pieces of information. We can then fill in the corresponding content on the interface, as shown in the image below:

accept: the format of the response result you want to receive, filled in asapplication/json, which is JSON format.authorization: the key to call the API, which can be directly selected after application.
image_url: the link to the face image that needs to be processed.age_infos: information about the face’s age and region, where age is a required parameter.

image_url field, which is the face image after the age change based on the input. The changed face information is shown below:

Error Handling
When calling the API, if an error occurs, the API will return the corresponding error code and message. For example:400 token_mismatched: Bad request, possibly due to missing or invalid parameters.400 api_not_implemented: Bad request, possibly due to missing or invalid parameters.401 invalid_token: Unauthorized, invalid or missing authorization token.429 too_many_requests: Too many requests, you have exceeded the rate limit.500 api_error: Internal server error, something went wrong on the server.

