Request
- URL:
https://www.ailabapi.com/api/image/effects/image-style-migration - Method:
POST - Content-Type:
multipart/form-data
Image requirements
- Image format:
JPEGJPGPNGBMP - Image size: No more than 3 MB.
- Image resolution: Less than 1200x1200px.
- The images must all be RGB 3-channel.
Headers
| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
Body
| Field | Required | Type | Description |
|---|---|---|---|
style | YES | file | style image. |
major | YES | file | Content 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. |
+url | string | URL address of the result image for stylization, image format: PNG. |
Response Example
Sample Code
Authorizations
API Key for authentication
Response
200 - application/json
Success
The response is of type object.

