---
title: "Deploy Rust Image API"
description: "Fast image manipulation API in Rust"
category: "Other"
url: https://railway.com/deploy/zHlq1G
---

# Deploy Rust Image API

Fast image manipulation API in Rust

**[Deploy Rust Image API on Railway](https://railway.com/template/zHlq1G)**

- **Creator:** Arjun
- **Category:** Other
- **Total deploys:** 3

## Template content

### image-server

- **Source:** https://github.com/arjunkomath/rust-image-api
- **Health check:** /health
- **Public domain:** Yes

## Documentation

A fast image manipulation API that can modify images on the fly.

### Usage

```
GET /v1/resize/w/?url=
    resize image `` pixels wide, without changing the aspect ratio

GET /v1/resize/h/?url=
    resize image to `` pixels tall, without changing the aspect ratio

GET /v1/crop////?url=
    crop image to ``x`` pixels, starting from position (``, ``)

GET /v1/convert/?url=
    convert image to `` format
    format: png, jpeg, webp

GET /v1/flip/?url=
    flip image  to `` orientation
    orientation: horizontal, vertical

GET /v1/grayscale?url=
    convert image to grayscale

GET /v1/invert?url=
    invert image

GET /v1/brighten/?url=
    brighten image by ``, negative values decrease the brightness and positive values increase it

GET /v1/blur/?url=
    blur image with `` sigma (this is a slow endpoint and could potentially timeout)

GET /v1/rotate/?url=
    rotate image by `` degrees, degree can be 90, 180, 270

GET /v1/unsharpen//?url=
    unsharpen image, sigma is the amount to blur the image by, threshold is a control of how much to sharpen.
```

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/zHlq1G
