# Self-host Speaches

> An OpenAI-compatible speech server: Whisper transcription and text-to-speech behind one API.

- Page: https://levelrail.com/templates/speaches/
- JSON: https://levelrail.com/templates/speaches.json
- Category: AI
- Licence: MIT (Permissive license)
- Source: https://github.com/speaches-ai/speaches
- Upstream docs: https://speaches.ai

## Requirements
- Memory: about 2 GiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 0.8.3-cpu

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| speaches | ghcr.io/speaches-ai/speaches | 0.8.3-cpu | 8000 | speaches_models -> /home/ubuntu/.cache/huggingface/hub |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| speaches | ENABLE_UI | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy speaches --name my-speaches
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/speaches/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy Speaches on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Speaches, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image ghcr.io/speaches-ai/speaches:0.8.3-cpu is what you deploy there.

Self-host Speaches, Speaches docker compose file, deploy Speaches on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
