---
title: "Deploy HivisionIDPhotos"
description: "AI ID photo maker: background removal and standard sizes on CPU"
category: "AI/ML"
url: https://railway.com/deploy/hivisionidphotos
---

# Deploy HivisionIDPhotos

AI ID photo maker: background removal and standard sizes on CPU

**[Deploy HivisionIDPhotos on Railway](https://railway.com/template/hivisionidphotos)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/hivisionidphotos/manifest.json

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

## Template content

### HivisionIDPhotos

- **Image:** linzeyi/hivision_idphotos:v1.3.1
- **Public domain:** Yes

## Documentation

# Deploy and Host HivisionIDPhotos on Railway

[HivisionIDPhotos](https://github.com/Zeyi-Lin/HivisionIDPhotos) makes ID and passport photos from an ordinary portrait: it detects the face, cuts out the person, replaces the background and crops to standard sizes, all with lightweight models that run on CPU.

## About Hosting HivisionIDPhotos

This template runs the official `linzeyi/hivision_idphotos:v1.3.1` image, which serves the Gradio web UI on port 7860 with the matting models built in. There is no account or setup: open the URL, upload a photo, pick a size and background color and download the result. Photos are processed in memory and not stored.

## Common Use Cases

- Make passport, visa and ID photos at home
- Produce print layouts (six photos on one sheet) for photo paper
- Replace or whiten the background of a portrait

## Dependencies for HivisionIDPhotos Hosting

- One stateless service; nothing else (CPU only, no GPU needed)

### Deployment Dependencies

- [HivisionIDPhotos on GitHub](https://github.com/Zeyi-Lin/HivisionIDPhotos)
- [Docker image](https://hub.docker.com/r/linzeyi/hivision_idphotos)

## Why Deploy HivisionIDPhotos on Railway?

Railway gives you a public HTTPS URL and automatic restarts with no server to maintain, so you get a private ID photo tool without uploading portraits to third-party sites.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius v0.1 Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

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