# scaleimage: Scale an Image

> scaleimage (Scale an Image) is a 1001fx API function in the group Images: POST https://api.1001fx.com/images/scaleimage, 3 credits per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

Scales the image by the specified factor.

- Group: Images
- Endpoint: `POST https://api.1001fx.com/images/scaleimage`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: multipart/form-data
- Credits: 3 credits per call
- Ready-made in: Make and n8n
- Docs: https://1001fx.com/functions/scaleimage

## Parameters

- `factor` (number, required, min 0.000001, max 10) – Factor: The factor to scale the image by.
- `file` (file, required) – Image file: Image file to be processed.

## Example: Image scaling by factor 2

```bash
curl -X POST 'https://api.1001fx.com/images/scaleimage' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -F 'file=@1600x900.png' \
  -F 'factor=2'
```
