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.
Documentation Index
Fetch the complete documentation index at: https://ailabtools.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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. |