API Reference
Complete reference for all LocaleNLP API endpoints, parameters, request formats, and response schemas. All endpoints use REST over HTTPS.
Speech Recognition
Convert spoken audio in African languages to text with high-accuracy ASR.
Text to Speech
Generate natural-sounding speech from text in multiple African languages.
Language Detection
Automatically identify the African language used in a given text sample.
Machine Translation
Translate text between English and various African languages with high accuracy.
Named Entity Recognition
Identify and classify named entities — people, organizations, locations — in African text.
Sentiment Analysis
Determine the sentiment expressed in African language text.
Text Summarization
Generate concise summaries of longer texts in various African languages.
Language Support
Get information about supported languages and their capabilities.
Audio Transcription
Transcribe longer audio files with timestamps and speaker diarization.
Custom Model Training
Train custom language models on domain-specific data for improved accuracy.
Get your API key
Free tier includes 10,000 ASR minutes and 100,000 translation characters per month. No credit card required.