Image Transforms
Greyscale Image
Convert an image at the given URL to greyscale and return it as a PNG.
GET/api/greyscale?url=
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Required | URL-encoded source image URL. |
Example request
curl "https://your-app.com/api/greyscale?url=https%3A%2F%2Fexample.com%2Fphoto.jpg" \
-H "x-api-key: YOUR_API_KEY" \
--output greyscale.pngResponse
Content-Type: image/png — the greyscale image.