On-premises needs a licence. We share the images with you: access to our registry, or files for servers without internet.
Images
We send you the full image names and the version to use. Both services run on CPU; no GPU is needed. The server size depends on how many calls you run at once; we size it with you and set the services up for your load.
Install
.env (the image names and versions are the ones we shared with you):
docker-compose.yml:
Gateway
For production, the Mihu gateway is provided with Umay and Ses and runs in front of them, as on our own servers. We set it up with you, to your needs. It gives you:- API keys per application or team. Each key is its own tenant: custom voices of one tenant are not visible to another, and limits apply per tenant.
- TLS, WebSocket and streaming without buffering.
- Several Umay and Ses servers behind one address: each request goes to the least-loaded healthy server; a server that fails is skipped.
- Scaling on CPU and utilization (next section). Audio, text and keys are never logged.
Scaling
The gateway watches every server pool all the time. Based on CPU and utilization, servers join and leave on demand: a new server registers itself with the gateway (for example withmgw-agent -register) and starts taking requests without a restart; a server that leaves is drained first, so running calls are not cut. The gateway tells your autoscaler (Kubernetes, a script, your cloud) when to add or remove servers, by webhook, Slack or e-mail:
The trigger points are adjusted to your setup on request.
Use it
Every example in these docs works with your address in place of ours:
TTS streams over the same
POST /v1/audio/speech: the audio comes in the answer while it is generated (see Text to speech).
Updates
New versions are published; nothing changes on your server until you update. To update, set the new tag in.env, then:
voices volume.