About this endpoint
What it does
Restores an uploaded old or faded photo by processing the provided image file and returning the restored image as binary output.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| strength | Number | No | Controls restoration strength. Minimum 0, maximum 1, default 0.62. |
| repair_scratches | Boolean | No | Whether scratch repair is applied. Default: true. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Photo image file. Binary upload. Max size: 20 MB. |
Response
Returns a binary file — the restored photo image produced by the endpoint. The output schema is a binary string, so the response body is not a JSON object and does not contain named fields.