Try the browser workflow first
Use the dedicated grayscale converter for a quick manual conversion; it is separate from this legacy API reference.
Open the grayscale tool →A source URL can contain its own query string. Encoding the entire imageUrl value prevents its ampersands from becoming API parameters.
Use the dedicated grayscale converter for a quick manual conversion; it is separate from this legacy API reference.
Open the grayscale tool →This page documents the legacy endpoint shown below. Use the v2 reference when integrating the newer API contract.
Read the v2 processing reference →This uses encodeURIComponent for one query-parameter value. The browser does not fetch the URL. Keep the API version and parameter names from the request below.
Need a quick conversion without an API request? Convert an image to grayscale in your browser, keep its dimensions and download the result.
Manipulate and transform images and photos in real time with our easy to use APIs.https://studio.pixelixe.com/api/grayscale/v1?apiKey=YOUR_API_KEY&imageUrl=https://yoururl.com/image.png


| Parameter | Type | # | Description |
|---|---|---|---|
| apiKey | string |
Required |
The API Key is the only way to authenticate your application with Pixelixe API. A unique API key is provided after you signup to our API plan. Ex : ppvkwgDgNRbMbYlCgaM3UyDFPP12 |
| imageUrl | string |
Required |
Set the url of the image you want to convert in grayscale. (Supported type : jpeg, png, bmp, tiff and gif) Advice: Use encodeURIComponent when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
| imageType | string |
Optional |
Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
We created a free online graphic creation tool and image editor to let anyone with no design experience (No account required) :