About this endpoint
What it does
Scores an uploaded image for exposure and clipping by analyzing the submitted file and returning numeric exposure metrics plus optional text recommendations.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Image file. Binary upload. Maximum size: 20 MB. |
Response
Returns a JSON object with score, mean_luma, shadow_pct, contrast_std, dynamic_range, and highlight_pct numeric fields, plus a recommendations string array. The endpoint reports the exposure analysis results in these top-level fields.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| score | Number | No | Exposure score. |
| mean_luma | Number | No | Mean luma value. |
| shadow_pct | Number | No | Shadow percentage. |
| contrast_std | Number | No | Contrast standard deviation. |
| dynamic_range | Number | No | Dynamic range value. |
| highlight_pct | Number | No | Highlight percentage. |
| recommendations | String Array | No | Recommended actions or observations returned by the analysis. |