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 | Description |
|---|---|---|
| file | Binary | 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 | Description |
|---|---|---|
| score | Number | Exposure score. |
| mean_luma | Number | Mean luma value. |
| shadow_pct | Number | Shadow percentage. |
| contrast_std | Number | Contrast standard deviation. |
| dynamic_range | Number | Dynamic range value. |
| highlight_pct | Number | Highlight percentage. |
| recommendations | String Array | Recommended actions or observations returned by the analysis. |



