Hairstyle Extraction API uses advanced AI to accurately detect hair contours in images, swiftly extracting hair regions for easy hairstyle adjustments and background editing, enhancing image editing efficiency.
https://www.ailabapi.com/api/cutout/portrait/hairstyle-extractionPOSTmultipart/form-dataJPEG JPG BMP PNG| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
| Field | Required | Type |
|---|---|---|
image | YES | file |
| Field | Type | Description |
|---|---|---|
data | object | The content of the result data returned. |
+elements | array | The keying result of each child element. |
++image_url | string | Resulting image URL address. |
++width | integer | The width of the result map. |
++height | integer | The height of the resultant graph. |
++x | integer | Top left x-coordinate. |
++y | integer | Top left y-coordinate. |