Transcribe Ghanaian-language speech to text
POST/v2/language/transcribe
Converts spoken audio in a Ghanaian language to text via the GhanaNLP Khaya ASR API (ISO 639-3 codes; languages limited to those with ASR support). Send the raw audio bytes as the request body with an appropriate Content-Type (browser MediaRecorder webm/opus and Telegram ogg/opus both work). English is out of scope — browsers handle English natively via the Web Speech API.
Public but tightly throttled (speech recognition is metered and uncacheable). Returns 503 when not configured or quota-exhausted.
Request
Responses
- 200
- 400
- 503
Transcribed text
Missing audio, audio over 1 MB, or unsupported language
Language services not configured, or upstream quota exhausted