跳转到主要内容
POST
/
face
/
cartoon
Cartoon
curl --request POST \
  --url https://api.acedata.cloud/face/cartoon \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image_url": "<string>"
}
'
{
  "image_url": "https://faceeffect-1254418846.cos.ap-guangzhou.myqcloud.com/ft/FaceCartoonPic/1256437459/b41fc806-d45c-4974-8efb-fd7b7b1dfd8e"
}

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Specifies the format of the response from the server.

可用选项:
application/json,
application/x-ndjson

请求体

application/json
image_url
string
必填

The link to images need to be processed.

响应

OK, the request was successful.

image_url
string

The generated cartoon picture for the image_url.