Now Available on PyPI - pip install fasiri

African language AI, one API away.

Translate, transcribe, and synthesise speech across 19+ African languages. Sunbird AI, Khaya AI, and HuggingFace - unified behind a single, consistent interface.

TranslationSpeech-to-TextText-to-Speech
Read the docs
19+African languages
3AI providers, 1 API
Freeto start, no card
Quick start
# 1 · Install
$ pip install fasiri

# 2 · Import
from fasiri import Fasiri

# 3 · Translate
client = Fasiri(api_key="fsri_...")
result = client.translate(
    "Good morning",
    target="lug",
)
print(result)
# → Wasuze otya
How it works

Three steps to African language AI

Fasiri handles provider selection, fallback routing, and error recovery automatically. You just write the code.

01

Generate a key

Click the button above. Your API key is ready instantly - no account, no credit card, no waitlist.

02

Install the SDK

Run pip install fasiri. Full type hints, sync/async support, and comprehensive error handling included.

03

Translate anything

Pass your text and target language. Fasiri picks the best provider and falls back automatically if anything fails.

Languages

19+ African languages and counting

From Uganda to Ghana to Kenya to North Africa. Every card shows which capabilities are supported and which provider serves it.

lugSunbird
Luganda
Luganda · Uganda
TranslateSTTTTS
achSunbird
Acholi
Acholi · Uganda
TranslateSTTTTS
teoSunbird
Ateso
Ateso · Uganda
TranslateSTTTTS
nynSunbird
Runyankore
Runyankore · Uganda
TranslateSTTTTS
lggSunbird
Lugbara
Lugbara · Uganda
TranslateSTTTTS
yoKhaya
Yoruba
Yoruba · Nigeria
Translate
twKhaya
Twi
Twi · Ghana
Translate
eeKhaya
Ewe
Ewe · Ghana/Togo
Translate
gaaKhaya
Ga
Ga · Ghana
Translate
dagKhaya
Dagbani
Dagbani · Ghana
Translate
kiKhaya
Kikuyu
Gikuyu · Kenya
Translate
luoKhaya
Luo
Dholuo · Kenya
Translate
merKhaya
Kimeru
Kimeru · Kenya
Translate
kusKhaya
Kusaal
Kusaal · Ghana
Translate
swHuggingFace
Swahili
Kiswahili · East Africa
TranslateSTT
frHuggingFace
French
Français · Francophone
Translate
arHuggingFace
Arabic
العربية · North Africa
Translate
afHuggingFace
Afrikaans
Afrikaans · South Africa
Translate
Providers

Best-in-class providers, unified

Fasiri routes each request to the provider with the deepest expertise for that language. If one fails, the next takes over.

🌻

Sunbird AI

Built specifically for Ugandan languages. Powers translation, speech-to-text, and text-to-speech for Luganda, Acholi, Ateso, Runyankore, and Lugbara.

TranslationSpeech-to-TextText-to-Speech
lugachteonynlgg
Learn more
🌍

Khaya AI

Purpose-built for West and East African languages. GhanaNLP's translation API v2 covering Yoruba, Twi, Ewe, Ga, Dagbani, Kikuyu, Luo, and more.

Translation
yotweegaadagkiluomerkus
Learn more
🤗

HuggingFace

Helsinki-NLP opus-mt models for Swahili, French, Arabic, and Afrikaans. Acts as the universal fallback layer when primary providers are unavailable.

Translation
swfraraf
Learn more
Code examples

Works with every stack

Use the Python SDK for the best experience, or call the REST API directly from any language.

Python
from fasiri import Fasiri

client = Fasiri(api_key="fsri_...")

# Translate English → Luganda
result = client.translate(
    "Good morning, how are you?",
    target="lug",
)
print(result.translated_text)
# "Wasuze otya, oli otya?"
print(result.provider)       # "sunbird"
print(result.quality_score)  # 0.92

# Batch translate
batch = client.translate_batch([
    {"id":"1", "text":"Thank you", "target":"yo"},
    {"id":"2", "text":"Welcome",   "target":"sw"},
    {"id":"3", "text":"Hello",     "target":"tw"},
])
for item in batch.successful():
    print(item.translated_text)
Live demo

See Fasiri in action

Try the interactive demo - translate English to any African language, hear the audio, and chat with an AI that responds in your chosen language.

Try the live demo

Ready to build for African users?

Join developers building the next generation of African language applications. Your API key is ready in seconds.

Star on GitHub