Request
- URL:
https://www.ailabapi.com/api/image/rating/image-composition-aesthetics-scoring - Method:
POST - Content-Type:
multipart/form-data
Image requirements
- Image format:
JPGJPEGBMPPNGWEBP - Image size: No more than 3 MB.
- Image resolution: Larger than 32x32px, smaller than 4096x4096px.
Headers
| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
Body
| Field | Required | Type |
|---|---|---|
image | YES | file |
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. |
+score | float | The higher the score, the better the composition, with a recommended score of 3.8 or higher being the better composition score. |
Response Example
Sample Code
Authorizations
API Key for authentication
Body
multipart/form-data
Response
200 - application/json
Success
The response is of type object.

