---
title: "Deploy withoutBG"
description: "AI Image Background Removal"
category: "AI/ML"
url: https://railway.com/deploy/withoutbg
---

# Deploy withoutBG

AI Image Background Removal

**[Deploy withoutBG on Railway](https://railway.com/template/withoutbg)**

- **Creator:** Ju Li's Projects
- **Category:** AI/ML
- **Total deploys:** 1

## Template content

### withoutBG https://lhbaovhjuhitknbfclbg.supabase.co/storage/v1/object/public/logos/withoutbg.png

- **Image:** withoutbg/app:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host withoutBG on Railway

withoutBG is an AI-powered tool for removing backgrounds from images using advanced segmentation models. 

## About Hosting withoutBG

The dockerized web app can be one-click deployed.

There is no authentication so deploy an NGINX proxy [such as this template](https://railway.com/deploy/bYH8Xt) if you'd like to add basic authentication

To use this web app as an API, simply POST the image as multi-part form data to /api/remove-background

## Common Use Cases

- Processing images for e-commerce product listings to remove backgrounds.
- Automating background elimination for photo shoots or social media posts.
- Integrating with creative tools (like GIMP, Figma, Photoshop) for seamless editing workflows.

## Dependencies for withoutBG Hosting

N/A

### Deployment Dependencies

Documentation: https://withoutbg.com/documentation/integrations/dockerized-web-app

### Implementation Details

Example cURL for using the web app as an API:

```
curl --location 'https://YOUR-APP.up.railway.app/api/remove-background' \
--form 'file=@"/home/user/Documents/profile pic.jpg"'
```

## Why Deploy withoutBG on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying withoutBG on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

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