Request
- URL:
https://www.ailabapi.com/api/image/editing/photo-retouching - Method:
POST - Content-Type:
multipart/form-data
Image requirements
- Image format:
JPEGJPGPNG - Image size: No more than 3 MB.
- Image resolution: Larger than 32x32px, smaller than 3000x3000px.
Headers
| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
Body
| Field | Required | Type | Description |
|---|---|---|---|
image | YES | file | Images that require a style transformation. |
style | YES | file | Reference image. |
Response
Public Response Fields
Viewing Public Response Fields and Error CodesBusiness Response Fields
| Field | Type | Description |
|---|---|---|
data | object | The content of the result data returned. |
+image_url | string | The resulting image after performing the style transformation. |
Response Example
Sample Code
Authorizations
API Key for authentication
Body
multipart/form-data
Response
200 - application/json
Success
The response is of type object.

