Introducing Hairstyle Changer - the revolutionary new deep learning algorithm that can transform the look of your portraits in an instant. With Hairstyle Changer, you can add bangs, change hair length, and increase hair volume to create stunningly unique hairstyles. From thick and luxurious locks to sleek and chic bobs, Hairstyle Changer is the ultimate tool for giving your portraits the perfect look. Plus, with its advanced technology, you can trust that the results are realistic and natural-looking. Try Hairstyle Changer today and let your creativity shine!
https://www.ailabapi.com/api/portrait/effects/hairstyle-editorPOSTmultipart/form-dataJPEG JPG PNG BMP| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
| Field | Required | Type | Scope | Default | Description |
|---|---|---|---|---|---|
image_target | YES | file | |||
hair_type | NO | integer | 101, 201, 301, 401, 402, 403, 502, 503, 603, 801, 901, 1001, 1101, 1201, 1301 | 101 | 101`: Bangs (default)`, 201: Long hair, 301`: Bangs with long hair`, 401: Medium hair increase, 402`: Light hair increase`, 403: Heavy hair increase, 502`: Light curling`, 503: Heavy curling, 801`: Blonde`, 901: Straight hair, 1001`: Oil-free hair (slight effect, recommended for images with noticeable issues)`, 1101: Hairline fill (slight effect, recommended for images with noticeable issues of a high hairline), 1201`: Smooth hair (slight effect, recommended for images with a large hairstyle area)`, 1301: Fill hair gap (slight effect, fills the scalp part in the hair area, recommended for images with noticeable issues) |
| Field | Type | Description |
|---|---|---|
data | object | The content of the result data returned. |
+image | string | The result image, returning the Base64 encoding of the image. |
API Key for authentication
Hairstyle type.
101: Bangs (default)201: Long hair301: Bangs with long hair401: Medium hair increase402: Light hair increase403: Heavy hair increase502: Light curling503: Heavy curling603: Short hair (requires input size < 2048x2048; if the input is larger than 2048x2048, the output image will be resized to a maximum of 2048 on the longest side.)801: Blonde901: Straight hair1001: Oil-free hair (slight effect, recommended for images with noticeable issues)1101: Hairline fill (slight effect, recommended for images with noticeable issues of a high hairline)1201: Smooth hair (slight effect, recommended for images with a large hairstyle area)1301: Fill hair gap (slight effect, fills the scalp part in the hair area, recommended for images with noticeable issues)Success
The response is of type object.