Speech synthesis: local engine or cloud service?
To give a phone assistant a voice, you can rent one from an online service or run an engine on your own machine. This article compares the two on quality, latency, languages, cost, the data sent and licences, then sets out the rules for voice cloning. For transparency: Ana, VELLORNE's receptionist, uses an online service today.
First, what Ana uses
Ana, VELLORNE's telephone receptionist, currently relies on online services based in the United States for telephony, transcription, voice and drafting the answers; the providers are named in the privacy policy. No audio recording is kept. Transcripts are deleted from the application after 90 days by default, but a summary and the transcript of each call are also sent by email.
A local speech synthesis engine is in development at VELLORNE; nothing is available and no date has been set. This article compares the two routes as they exist today.
The two routes, point by point
| Criterion | Online service | Local engine |
|---|---|---|
| Quality | Catalogue voices, sometimes cloned voices; judge by ear on your own sentences | Varies with the model and the language; judge by ear on your own sentences |
| Latency | The service's own, plus the network round trip; measure it from your infrastructure | No network round trip; depends on the hardware, to be measured |
| Languages | Depends on the service; check the languages and accents you need | Depends on the model: from 8 (Kokoro, no German) to 39 (Piper) |
| Cost | Subscription, credits or a price per character spoken | Hardware, electricity, operations; no cost per character |
| Data | The text to be spoken goes to the provider | The text stays on the machine, if nothing leaves it (to be checked) |
| Licence | Depends on the plan's terms: check commercial use | That of the model and the voice, sometimes non-commercial |
The data sent
With an online service, the text to be spoken goes to the provider. If it contains names, appointments or reasons for calling, it is personal data. Before choosing, check in its documentation where the data is stored, whether storage in Switzerland or the EU is offered and on which plan, whether there is a zero-retention mode and what it covers (synthesis, transcription, cloning, web interface), and which subcontractors can access the data.
Under Swiss law, this is processing by a processor (art. 9 FADP) and, if the provider is abroad, a disclosure abroad (art. 16 FADP): check the contract and the transfer basis before going live.
Licences of open voice models
The code licence says nothing about the licence of the weights or the voices. Recorded on 30.11.2026 from the official repositories and model cards:
| Model | Licence | Commercial use | Notes |
|---|---|---|---|
| Piper | Engine GPL-3.0; each voice has its own licence, on its model card | Depends on the voice: en_US-lessac-medium is non-commercial | de_DE, fr_FR, lb_LU voices; the project is looking for maintainers |
| XTTS-v2 (Coqui) | Coqui Public Model License | No, outputs included | 17 languages including FR and DE; Coqui has ceased trading; its online services shut down in December 2023 |
| F5-TTS | Code MIT; supplied models CC BY-NC | No for the supplied models | Restriction inherited from the training data (Emilia) |
| Kokoro-82M | Apache 2.0 | Yes | 8 languages; a single French voice, graded B- in its documentation; no German |
| Chatterbox (Resemble AI) | MIT | Yes | 23 languages including FR and DE; watermark in every file; no longer maintained since August 2026 |
Cloning a voice: technically easy, legally regulated
XTTS-v2 advertises cloning from a 6-second clip. With an online service, read what its terms allow, especially for the voice of someone other than the account holder. Under Swiss law, biometric data that uniquely identify a person are sensitive data (art. 5 let. c no. 4 FADP), and an infringement of personality rights is unlawful without consent, an overriding interest or a legal basis (art. 28 Civil Code).
In practice: a catalogue voice under a commercial licence, or a voice actor under a written contract that sets the use, the duration and revocation. Never an employee's voice without their written and revocable consent, nor without planning what happens when they leave.
Limits and cases where local does not fit
- Local quality depends on the language. In the model cards consulted, none of these open models has a Swiss German voice; check this point with online services too.
- An open model can be abandoned. Chatterbox is no longer maintained and Piper is looking for maintainers: plan to be able to switch engines.
- Local requires hardware and operations, and its latency has to be measured on the target machine.
- The cloud remains a dependency: prices, terms and models change, and the data leaves.
The choice depends on what the voice says: texts without personal data can go to the cloud; names, reasons for calling or data under professional secrecy argue for a local engine, once its quality has been judged sufficient on your own sentences.
Frequently asked questions
Does Ana, VELLORNE's receptionist, run without the cloud?
No. Ana currently runs through online services based in the United States for telephony, transcription, voice and the answers; the providers are named in the privacy policy. A local speech synthesis engine is in development at VELLORNE, with no date set.
Can any open-source voice be used in a commercial product?
No. XTTS-v2 and the models supplied with F5-TTS are restricted to non-commercial use, and each Piper voice has its own licence. Kokoro-82M (Apache 2.0) and Chatterbox (MIT) allow it. Read the licence of the weights and the voice, not just that of the code.
Is it lawful to clone an employee's voice?
Only with their consent, preferably written and revocable. The voice falls under the protection of personality rights (art. 28 Civil Code), and biometric data that uniquely identify a person are sensitive data under the FADP.
Related articles
Sources
- Piper — Dépôt OHF-Voice/piper1-gpl — https://github.com/OHF-Voice/piper1-gpl
- Piper — Licensing (licences des voix) — https://raw.githubusercontent.com/OHF-Voice/piper1-gpl/main/docs/LICENSING.md
- Piper — Liste des langues disponibles (VOICES.md) — https://github.com/OHF-Voice/piper1-gpl/blob/main/docs/VOICES.md
- Coqui — Fiche du modèle XTTS-v2 — https://huggingface.co/coqui/XTTS-v2
- Coqui Public Model License (XTTS-v2) — https://huggingface.co/coqui/XTTS-v2/blob/main/LICENSE.txt
- Analytics India Magazine — Coqui cesse son activité (services arrêtés le 11.12.2023) — https://analyticsindiamag.com/deep-tech/conversational-ai-startup-coqui-shuts-down/
- F5-TTS — Dépôt et licences — https://github.com/SWivid/F5-TTS
- Hugging Face — Fiche du modèle Kokoro-82M — https://huggingface.co/hexgrad/Kokoro-82M
- Kokoro-82M — Liste des voix et notes (VOICES.md) — https://huggingface.co/hexgrad/Kokoro-82M/blob/main/VOICES.md
- Resemble AI — Dépôt Chatterbox (plus maintenu depuis août 2026) — https://github.com/resemble-ai/chatterbox
- Loi fédérale sur la protection des données (LPD), RS 235.1 — https://www.fedlex.admin.ch/eli/cc/2022/491/fr
- Code civil suisse (CC), RS 210 — https://www.fedlex.admin.ch/eli/cc/24/233_245_233/fr