About this endpoint
What it does
Applies the selected image filter to the image at the provided URL and returns the processed file as binary data. The request takes the source image URL in the body and the filter, output name, and format-preservation options as query parameters.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| filter | ENUM | Yes | Image filter to apply. Allowed values: rotate_45, rotate_90, rotate_135, rotate_180, rotate_225, rotate_270, rotate_315, maximum, minimum, brightness_decrease, brightness_increase, gaussian_blur, flip_vertical, flip_horizontal, gamma_0.5. |
| output | String | No | Output name. |
| preserve_format | Boolean | No | Whether to preserve the original image format. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | No | URL of the image accessible by ApyHub services. Supported formats are png, jpeg, jpg, bmp, tiff, gif, or webp. If the URL does not include a protocol, https:// is added automatically. |
Response
Returns binary file data (string with binary format) containing the processed image produced by the applied filter. The success response is the raw downloaded file, not a JSON object.