Zum Hauptinhalt springen
POST
/
face
/
change-age
Change Age
curl --request POST \
  --url https://api.acedata.cloud/face/change-age \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "age_infos": [
    {
      "age": 123
    }
  ],
  "image_url": "<string>"
}
'
{
  "image_url": "https://faceeffect-1254418846.cos.ap-guangzhou.myqcloud.com/ft/ChangeAgePic/1256437459/f522c681-7e82-46d5-a68f-4c89e91e4df2"
}

Autorisierungen

Authorization
string
header
erforderlich

Header

accept
enum<string>

Specifies the format of the response from the server.

Verfügbare Optionen:
application/json,
application/x-ndjson

Body

application/json
age_infos
object[]
erforderlich
image_url
string
erforderlich

The link to images need to be processed.

Antwort

OK, the request was successful.

image_url
string

The generated cartoon picture for the age.