Translate, transcribe, and synthesise speech across 19+ African languages. Sunbird AI, Khaya AI, and HuggingFace - unified behind a single, consistent interface.
# 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
Fasiri handles provider selection, fallback routing, and error recovery automatically. You just write the code.
Click the button above. Your API key is ready instantly - no account, no credit card, no waitlist.
Run pip install fasiri. Full type hints, sync/async support, and comprehensive error handling included.
Pass your text and target language. Fasiri picks the best provider and falls back automatically if anything fails.
From Uganda to Ghana to Kenya to North Africa. Every card shows which capabilities are supported and which provider serves it.
Fasiri routes each request to the provider with the deepest expertise for that language. If one fails, the next takes over.
Built specifically for Ugandan languages. Powers translation, speech-to-text, and text-to-speech for Luganda, Acholi, Ateso, Runyankore, and Lugbara.
Purpose-built for West and East African languages. GhanaNLP's translation API v2 covering Yoruba, Twi, Ewe, Ga, Dagbani, Kikuyu, Luo, and more.
Helsinki-NLP opus-mt models for Swahili, French, Arabic, and Afrikaans. Acts as the universal fallback layer when primary providers are unavailable.
Use the Python SDK for the best experience, or call the REST API directly from any language.
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)Try the interactive demo - translate English to any African language, hear the audio, and chat with an AI that responds in your chosen language.
Join developers building the next generation of African language applications. Your API key is ready in seconds.