2026-04-16 16:17:43 +08:00
# Getting Started
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
## Quick Start
2026-03-22 21:00:37 +08:00
```bash
2026-05-01 19:42:11 +08:00
docker run -d --name SnapOtter -p 1349:1349 -v SnapOtter-data:/data snapotter/snapotter:latest
2026-03-22 21:00:37 +08:00
```
2026-04-25 07:17:45 +08:00
You will be asked to change your password on first login.
2026-03-22 21:00:37 +08:00
2026-04-25 01:28:02 +08:00
::: tip Also on GHCR
2026-04-16 17:38:17 +08:00
```bash
2026-05-01 19:42:11 +08:00
docker run -d --name SnapOtter -p 1349:1349 -v SnapOtter-data:/data ghcr.io/snapotter-hq/snapotter:latest
2026-04-16 17:38:17 +08:00
```
2026-04-16 17:51:14 +08:00
Both registries publish the same image on every release.
2026-04-16 17:38:17 +08:00
:::
2026-04-16 16:17:43 +08:00
::: tip NVIDIA GPU acceleration
Add `--gpus all` for GPU-accelerated background removal, upscaling, OCR, face enhancement, and restoration:
2026-04-05 20:35:24 +08:00
```bash
2026-05-01 19:42:11 +08:00
docker run -d --name SnapOtter -p 1349:1349 --gpus all -v SnapOtter-data:/data snapotter/snapotter:latest
2026-04-05 20:35:24 +08:00
```
2026-04-16 16:17:43 +08:00
Requires the [NVIDIA Container Toolkit ](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html ). Falls back to CPU automatically. See [Docker Tags ](/guide/docker-tags ) for benchmarks.
2026-04-05 20:35:24 +08:00
:::
2026-04-16 16:17:43 +08:00
## Docker Compose
2026-03-22 21:00:37 +08:00
```yaml
services :
2026-04-24 18:02:21 +08:00
SnapOtter :
2026-04-25 01:28:02 +08:00
image : snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest
2026-03-22 21:00:37 +08:00
ports :
- "1349:1349"
volumes :
2026-04-24 18:02:21 +08:00
- SnapOtter-data:/data
2026-03-22 21:00:37 +08:00
environment :
- AUTH_ENABLED=true
- DEFAULT_USERNAME=admin
- DEFAULT_PASSWORD=admin
restart : unless-stopped
volumes :
2026-04-24 18:02:21 +08:00
SnapOtter-data :
2026-03-22 21:00:37 +08:00
```
2026-04-16 16:17:43 +08:00
See [Configuration ](/guide/configuration ) for all environment variables.
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
## Build from Source
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
**Prerequisites:** Node.js 22+, pnpm 9+, Python 3.10+ (for AI features), Git.
2026-03-22 21:00:37 +08:00
```bash
2026-04-24 18:02:21 +08:00
git clone https://github.com/snapotter-hq/snapotter.git
cd snapotter
2026-03-22 21:00:37 +08:00
pnpm install
pnpm dev
```
2026-04-16 16:17:43 +08:00
- Frontend: [http://localhost:1349 ](http://localhost:1349 )
- Backend: [http://localhost:13490 ](http://localhost:13490 )
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
## What You Can Do
2026-03-22 21:00:37 +08:00
2026-05-08 15:23:22 +08:00
### Image Processing (49 Tools)
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
| Category | Tools |
|----------|-------|
| **Essentials** | Resize, Crop, Rotate & Flip, Convert, Compress |
| **Optimization** | Optimize for Web, Strip Metadata, Edit Metadata, Bulk Rename, Image to PDF, Favicon Generator |
| **Adjustments** | Adjust Colors, Sharpening, Replace Color |
2026-05-06 18:53:37 +08:00
| **AI Tools** | Remove Background, Upscale, Erase Object, OCR, Blur Faces, Smart Crop, Image Enhancement, Enhance Faces, Colorize, Noise Removal, Red Eye Removal, Restore Photo, Passport Photo, Content-Aware Resize, PNG Transparency Fixer |
2026-04-16 16:17:43 +08:00
| **Watermark & Overlay** | Text Watermark, Image Watermark, Text Overlay, Image Composition |
| **Utilities** | Image Info, Compare, Find Duplicates, Color Palette, QR Code Generator, Barcode Reader, Image to Base64 |
| **Layout** | Collage, Stitch, Split, Border & Frame |
| **Format** | SVG to Raster, Vectorize, GIF Tools, PDF to Image |
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
### Pipelines
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
Chain tools into multi-step workflows and apply them to one image or a whole batch:
1. Open **Pipelines** in the sidebar.
2. Add steps (any tool, any settings).
2026-04-23 20:50:38 +08:00
3. Run on a single file - or an entire batch at once.
2026-04-16 16:17:43 +08:00
4. Save the pipeline for later reuse.
2026-04-23 20:50:38 +08:00
Pipelines have unlimited steps by default.
2026-04-16 16:17:43 +08:00
### File Library
2026-04-24 18:02:21 +08:00
Every file you process can be saved to your **Files** library. SnapOtter tracks the full version history so you can trace every processing step from the original upload to the final output.
2026-04-16 16:17:43 +08:00
### REST API & API Keys
Every tool is accessible via HTTP:
```bash
curl -X POST http://localhost:1349/api/v1/tools/resize \
-H "Authorization: Bearer si_<your-api-key>" \
-F "file=@photo.jpg" \
-F 'settings={"width":800,"height":600,"fit":"cover"}'
```
Generate API keys under **Settings → API Keys** . See the [REST API reference ](/api/rest ) for all endpoints, or visit [http://localhost:1349/api/docs ](http://localhost:1349/api/docs ) for the interactive reference.
### Multi-User & Teams
Enable multiple users with role-based access control:
2026-04-16 16:40:18 +08:00
- **Admin**: full access - manage users, teams, settings, all files/pipelines/API keys
2026-04-16 16:17:43 +08:00
- **User**: use tools, manage own files/pipelines/API keys
Create teams under **Settings → Teams** to group users.
Set `AUTH_ENABLED=true` (or `false` for single-user/self-use without login).