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 | Description |
|---|---|---|
| strength | Number | Controls restoration strength. Minimum 0, maximum 1, default 0.62. |
| repair_scratches | Boolean | Whether scratch repair is applied. Default: true. |
Request Body
| Parameter | Type | Description |
|---|---|---|
| file | Binary | 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.


