Local transcription
Kanadr transcribes voicemail through the OpenAI-compatible transcription API
(POST …/audio/transcriptions). The service can be online (OpenAI, Groq, Mistral AI, Scaleway,
OVHcloud: see the list of providers) or
installed on your premises: messages then never leave your network. Kanadr does not ship an
engine; any server that exposes this API works.
Kanadr sends the file (file), the model (model) and the language (language), and reads the
text of the JSON response ({"text": …}) or a plain-text response: the server needs nothing
else.
Example: Speaches (faster-whisper)
Speaches serves Whisper models through faster-whisper behind this API. On a separate VM, with Docker:
# CPU only (replace latest-cpu with latest-cuda and add --gpus=all with an NVIDIA card)
# API_KEY: optional; once set, the service requires this key (Bearer header).
# Service key, to copy into the portal (Key field)
CLE=$(openssl rand -hex 24)
echo "$CLE"
docker run --detach --restart unless-stopped --name speaches \
--publish 8000:8000 \
--env API_KEY="$CLE" \
--volume hf-hub-cache:/home/ubuntu/.cache/huggingface/hub \
ghcr.io/speaches-ai/speaches:latest-cpu
# Download a multilingual model (French and English): Speaches has no default model
curl -X POST -H "Authorization: Bearer $CLE" \
http://localhost:8000/v1/models/Systran/faster-whisper-small
Then, in the portal, Settings page, Voicemail transcription section, provider Speaches (server you install):
| Field | Value |
|---|---|
| Address | http://VM-ADDRESS:8000/v1 (8000: Speaches’ default port) |
| Model | Systran/faster-whisper-small, or another downloaded model |
| Language | empty: each message in its customer’s language |
| Key | the API_KEY one; empty if you did not set it |
Try checks that the service responds. Then turn on the Voicemail transcription feature (Settings page, Features card).
- Model:
smallruns on a 4-core CPU for a few hundred messages a day;mediumorlarge-v3transcribe better, preferably with a graphics card. Do not use the.enmodels, English only. - Network: without
API_KEY, the service has no authentication; set a key and open it to Kanadr only (firewall). - Outage: a transcription may take up to 7 minutes. On failure, Kanadr retries after 1 minute then after 5 minutes, then sends the message’s email without the text.
These commands come from the Speaches documentation, to follow for recent versions.