Africa TTS
Fast, high-fidelity text-to-speech for 92 African languages and English, with voice cloning, faster than real time on a CPU: runs on PyTorch (fp32 unquantised) by default (110M parameters, 2.4× real-time on CPU).
🎙️ Try it live · 🔊 Samples in 53 languages · 💻 Code, server, mobile
Quick start
pip install africa-tts # English also needs espeak-ng
from africa_tts import AfricaTTS
tts = AfricaTTS.load() # PyTorch CPU (default)
audio = tts.generate("Akwaaba! Yɛfrɛ me Kofi.", lang="twi") # default Twi voice
audio = tts.generate("Hello Ghana!", lang="eng", voice="my_voice.wav") # clone a 3-10 s clip
tts.save(audio, "out.wav")
tts_gpu = AfricaTTS.load(device="cuda") # PyTorch on NVIDIA GPU
The default engine is PyTorch on the CPU (fp32 unquantised, about 440 MB, faster than real time);
it also runs on an NVIDIA GPU with device="cuda". Output: 24 kHz mono.
Every language has a default voice. Spell out numbers. Plain pocket-tts works too, with IPA
input: see how.
Benchmark
Each system reads the same held-out sentences (Omnilingual ASR corpus, FLEURS, WAXAL, FLORES+; none in our training data), and Omnilingual ASR transcribes the audio: a lower character error rate (CER) means more intelligible speech. On the 27 languages both support (at least 10 test sentences each), Africa TTS (110M) has the lower error rate than MMS-TTS in 21:

Africa TTS uses each language's default voice; MMS-TTS uses its own voices.
Real speech is the ASR on human recordings of the same sentences, a reference for the ASR's own error. Best synthetic system in bold.
| Language | Real speech | Africa TTS (110M) | MMS-TTS (36M per language) |
|---|---|---|---|
Amharic amh | 8.0 | 5.7 | 10.9 |
Changana (Mozambique) tso | — | 11.5 | 5.0 |
Cibemba bem | — | 5.3 | 7.3 |
Cinyanja nya | 8.0 | 5.0 | 7.1 |
Dagaare dga | 22.1 | 10.4 | 10.6 |
English eng | 2.3 | 2.4 | 3.5 |
Ewe ewe | — | 6.4 | 6.2 |
Fon fon | — | 22.5 | 20.9 |
Hausa hau | 4.7 | 4.2 | 6.2 |
Jula dyu | — | 23.8 | 29.7 |
Kabiye kbp | — | 11.1 | 11.7 |
Kabyle kab | — | 14.0 | 14.5 |
Kikuyu kik | — | 7.0 | 8.3 |
Kinyarwanda kin | — | 3.2 | 6.3 |
Kirundi run | — | 3.0 | 10.2 |
Luganda lug | 7.3 | 8.2 | 8.8 |
Macua vmw | — | 6.7 | 6.0 |
Malagasy mlg | 3.6 | 8.8 | 9.6 |
Mauritian Creole mfe | — | 7.1 | 5.9 |
Mooré mos | — | 15.4 | 14.1 |
Sango sag | — | 10.0 | 10.6 |
Sena seh | — | 6.2 | 7.3 |
Shona sna | 2.9 | 3.0 | 6.1 |
Swahili swh | 1.8 | 1.2 | 2.6 |
Tigrinya tir | — | 11.9 | 17.6 |
Twi twi | — | 12.1 | 13.1 |
Yoruba yor | 15.9 | 17.0 | 19.3 |
Method, caveats, OmniVoice and all languages: docs/BENCHMARKS.md.
Model
- 6-layer Pocket TTS FlowLM (110M parameters with the Mimi codec), distilled with Kyutai's
depth_distillrecipe from the guided 24-layer Africa TTS Base, so guidance is in its weights; 200k steps. - Reads IPA from africa-g2p (English: espeak-ng); the package does the conversion.
- Formats:
model.safetensors(PyTorch, fp32, the default engine) and an int8 sherpa-onnx bundle for phones (sherpa-onnx/). - Trained on 897 h of real speech: AfriSpeech Selector recordings, africa-female-speech-v2, Ghanaian English and HiFiTTS-2. Data and recipe.
✓ = sample on the samples page.
| Language | Code | Hours | Sample |
|---|---|---|---|
| English | eng | 322.6 | ✓ |
| Swahili | swh | 27.0 | ✓ |
| Shona | sna | 26.3 | ✓ |
| Twi | twi | 24.0 | ✓ |
| Changana (Mozambique) | tso | 23.6 | ✓ |
| Zulu | zul | 21.1 | ✓ |
| Hausa | hau | 20.3 | ✓ |
| Kinyarwanda | kin | 20.1 | ✓ |
| Igbo | ibo | 19.8 | ✓ |
| Xhosa | xho | 19.5 | ✓ |
| Amharic | amh | 18.8 | ✓ |
| Kirundi | run | 16.1 | ✓ |
| Cinyanja | nya | 16.1 | ✓ |
| Yoruba | yor | 15.3 | ✓ |
| Kabuverdianu | kea | 14.2 | ✓ |
| Sepedi | nso | 13.2 | ✓ |
| Kabiye | kbp | 12.6 | ✓ |
| Malagasy | mlg | 12.2 | ✓ |
| Swati | ssw | 12.1 | ✓ |
| Venda | ven | 10.6 | ✓ |
| Bassa (Cameroon) | bas | 9.5 | |
| Gun | guw | 9.1 | |
| Mauritian Creole | mfe | 8.9 | |
| Kiluba | lub | 8.8 | |
| Lingala | lin | 7.7 | ✓ |
| Ga | gaa | 7.3 | ✓ |
| Otetela | tll | 7.0 | |
| Fon | fon | 7.0 | ✓ |
| Ewe | ewe | 6.7 | ✓ |
| Chitumbuka | tum | 6.0 | |
| Kamba | kam | 6.0 | |
| Kikuyu | kik | 5.8 | |
| Isoko | iso | 5.7 | |
| Macua | vmw | 5.7 | ✓ |
| Tigrinya | tir | 5.7 | ✓ |
| Ronga | rng | 5.2 | |
| Edo | bin | 5.1 | ✓ |
| Urhobo | urh | 5.1 | |
| Sena | seh | 5.1 | |
| Frafra | gur | 5.0 | |
| Mooré | mos | 5.0 | ✓ |
| Dagaare | dga | 4.8 | ✓ |
| Lenje | leh | 4.8 | |
| Krio | kri | 4.8 | ✓ |
| Fante | fat | 4.8 | ✓ |
| Nzema | nzi | 4.4 | ✓ |
| Kisi | kss | 4.2 | |
| Bissau Guinean Creole | pov | 4.1 | ✓ |
| Ahanta | aha | 4.0 | |
| Sehwi | sfw | 3.5 | |
| Sango | sag | 3.4 | ✓ |
| Jula | dyu | 3.3 | ✓ |
| Douala | dua | 3.2 | |
| Boulou | bum | 3.0 | ✓ |
| Tshwa | tsc | 2.8 | |
| Mashi | shr | 2.5 | |
| Luganda | lug | 2.3 | ✓ |
| Baoule | bci | 2.2 | ✓ |
| Cibemba | bem | 2.1 | ✓ |
| Ngangela | nba | 2.0 | ✓ |
| Kinande | nnb | 1.9 | |
| Chopi | cce | 1.8 | |
| Chitonga | toi | 1.7 | ✓ |
| Nsenga (Mozambique) | nse | 1.6 | |
| Toupouri | tui | 1.6 | |
| Dinka | din | 1.3 | |
| Kimbundu | kmb | 1.3 | ✓ |
| Bassa (Liberia) | bsq | 1.3 | |
| Aja | ajg | 1.2 | ✓ |
| Kpelle | xpe | 1.2 | |
| Ndonga | ndo | 1.1 | ✓ |
| Loma | lom | 1.0 | |
| Chiyao | yao | 1.0 | ✓ |
| Umbundu | umb | 0.9 | ✓ |
| Ewondo | ewo | 0.9 | |
| Kabyle | kab | 0.9 | ✓ |
| Tiv | tiv | 0.8 | ✓ |
| Chitonga (Malawi) | tog | 0.8 | |
| Gitonga | toh | 0.7 | |
| Meru | mer | 0.7 | |
| Wolof | wol | 0.6 | ✓ |
| Dangme | ada | 0.5 | ✓ |
| Guéré | gxx | 0.5 | |
| Damara | naq | 0.4 | |
| Lomwe | ngl | 0.3 | |
| Chokwe | cjk | 0.3 | ✓ |
| Herero | her | 0.3 | |
| Yacouba | daf (ISO dnj) | 0.3 | |
| Makhuwa-Meetto | mgh | 0.3 | |
| Ngbandi (Northern) | ngb | 0.2 | |
| Lunda | lun | 0.1 | ✓ |
| Kisonge | sop | 0.1 | |
| Luvale | lue | 0.0 | ✓ |
Limitations
Mostly read religious speech, so other registers are less natural; languages with under ~2 h of data are weak; some G2P tables do not mark tone. Do not use voice cloning to impersonate anyone. More.
License
CC-BY-NC-4.0 (non-commercial), following the licences of the training recordings. Built on Kyutai's Pocket TTS. By AfriSpeech.