RestfulTTS
by PhonixPBX
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RESTFULTTS_HOST | No | Listen address (`0.0.0.0` in the container). | 127.0.0.1 |
| RESTFULTTS_PORT | No | Listen port (`8000` in the container). | 8000 |
| RESTFULTTS_DEVICE | No | `cpu`, `cuda` or `auto`. The container ships CPU-only PyTorch. | auto |
| RESTFULTTS_PRELOAD | No | Languages whose models are loaded at startup; others load on the first request. | empty (`de,en,fr,it` in the container) |
| RESTFULTTS_DATA_DIR | No | Holds the audio cache. In the container it also holds the models (`HF_HOME=/data/hf`). | data (`/data` in the container) |
| RESTFULTTS_API_TOKEN | No | When set, REST and MCP need `Authorization: Bearer <token>` and the UI asks for the token. Empty means open access, so only use that on a trusted network. | |
| RESTFULTTS_CACHE_MAX_MB | No | Size limit of the audio cache; the least recently used files are removed first. | 1024 |
| RESTFULTTS_ALLOWED_HOSTS | No | Comma separated host names the server answers to, e.g. `tts.example.org,*.pbx.lan`; `*` allows any. Other `Host` headers get 400, which protects against DNS rebinding. When empty, only `localhost` and `127.0.0.1` are allowed while listening on loopback, and any host otherwise. | |
| RESTFULTTS_MAX_TEXT_CHARS | No | Longer texts are rejected with 413. | 5000 |
| RESTFULTTS_THORSTEN_EPOCH | No | Checkpoint of the German model (1–10). | 5 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues