API Reference
Makeup transfer
Apply makeup styles to all faces in the image. The style list and preview images are in this link.
Model:
makeup-transferCredit:1
post
/v1/images/transfer-makeupAuthorization — This endpoint requires an API key. Pass it in the api-key header on every request. Learn more
Parameters
| Name | Type | Status | Description |
|---|---|---|---|
input_image | file | Required | Image file or URL to apply makeup to. |
style | string | Required | Makeup style to apply. |
Responses
Makeup applied successfullySingleImageResponse
| Field | Type | Description |
|---|---|---|
created | integer | Unix timestamp of when the response was created |
data | object[] | |
url | string | URL to download the result image |
curl -X POST "https://api.snapedit.app/v1/images/transfer-makeup" \
-H "api-key: YOUR_API_KEY" \
-F "input_image=@./image.jpg" \
-F "style=value"Response
{
"created": 1745827200,
"data": [
{
"url": "https://outputs.snapedit.app/outputs/abc123.png"
}
]
}
