Code Examples
Everything on this page is runnable: quick snippets you can paste into a terminal or script, and complete example applications you can clone and adapt.
Before you start
You'll need an API key from vulavula.lelapa.ai — see Authentication. Every account includes 100 free API calls per month, so you can run all of these examples without a paid plan.
Quick snippets
Transcribe an audio file
Send an audio file and get the transcript back in the same request. Language codes are optional — leave lang_code out and our language ID picks the most probable language. See the Speech-to-Text guide for supported formats and the full response shape.
Code
Translate text
Translate between English and a growing set of African languages. All language codes are listed on the Language Support page.
Code
Example applications
Complete, standalone projects from the Lelapa-AI/vulavula-examples repository. Each has its own README with setup and run instructions.
To run them locally:
Code
Keep going
- Skip the raw HTTP calls with the Python SDK
- Browse every endpoint, parameter, and response in the API Reference
- Join our Discord community to share what you're building & connect with our team

