Hairstyle Extraction
开发环境
开发环境
POST
/api/cutout/portrait/hairstyle-extraction
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/cutout/portrait/hairstyle-extraction' \
--header 'ailabapi-api-key;' \
--form 'image=@""'
响应示例响应示例
{
"error_code": 0,
"error_msg": "",
"request_id": "",
"log_id": "",
"data": {
"elements": [
{
"image_url": "",
"width": 0,
"height": 0,
"x": 0,
"y": 0
}
]
}
}
请求参数
Header 参数
ailabapi-api-key
string
必需
Body 参数multipart/form-data
image
file
必需