Transform your lip color effortlessly with our cutting-edge Lips Color Changer. Explore a world of virtual makeup possibilities as you digitally experiment with different lip shades and enhance your natural beauty. Our advanced technology uses facial recognition and precise lip detection to seamlessly blend and customize lip colors, providing you with a virtual lipstick try-on experience like never before. Try our Lip Color Changer today and discover your perfect lip look without ever picking up a physical lipstick.
https://www.ailabapi.com/api/portrait/effects/lips-color-changerPOSTmultipart/form-dataJPEG JPG PNG BMP| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
| Field | Required | Type | Description |
|---|---|---|---|
image | YES | file | |
lip_color_infos | YES | json string | Lip Color Info. You can enter up to 3 lip_color_info to enable changing the lip color for up to 3 faces in a graph. Description |
lip_color_infos| Field | Required | Type | Scope | Description |
|---|---|---|---|---|
rgba | YES | object | Lip color. | |
+r | YES | integer | [0, 255] | R channel values. |
+g | YES | integer | [0, 255] | G channel values. |
+b | YES | integer | [0, 255] | B channel values. |
+a | YES | integer | [0, 100] | A channel values. Transparency, the smaller the value, the more transparent. |
face_rect | NO | object | Face box position. If not entered the face with the largest area in the image is selected. You can use the Face Analyzer API or Facial Landmarks API to get face frame position information. | |
+x | YES | integer | Horizontal coordinate of the upper left corner of the face box. | |
+y | YES | integer | The vertical coordinate of the upper left corner of the face box. | |
+width | YES | integer | Face frame width. | |
+height | YES | integer | Face frame height. |
| Field | Type | Description |
|---|---|---|
result_image | string | Returns the base64 data of the processed image. |
API Key for authentication
Success
The response is of type object.