Skip to main content
The Namu API is a plain HTTPS API: every request is a POST or a GET to https://api.namuai-lab.com/v1/... with your key in the Authorization header. Anything that can send HTTP can use it.
1

Create an API key

Sign in to the Namu console and open API keys. Create a key, give it a name you will recognise, and copy it. It starts with namu_sk_ and is shown once.
Your key is a password. Keep it on your server: never put it in a mobile app, a web page or a public repository. Anyone holding it can spend your allowance.
2

Save the key as an environment variable

Your code reads the key from the environment, so it never sits in a file you might share.
On Windows, open a new terminal afterwards so it sees the variable.
3

Make your first request

Ask Nadia to say “Sannu da zuwa! Muna farin cikin jin muryarku.” (Welcome! We are glad to hear your voice.)
4

Play it

Open welcome.wav. That is your app speaking Hausa. The first request after a quiet spell can take a little longer while the model wakes up; the next ones are faster.

Now let it listen

Send the file you just made back to the API and read what it heard:
Response
Transcripts are written in lower case, without punctuation. Add your own if your screen needs it.

Next steps

Choose a voice

Nadia in Hausa, Mouhamad in Zarma and Hausa, and the French voice.

Translate

Hausa to French and back, from text or from speech.

Use an SDK

A small Python or JavaScript client you can paste into your project.

Watch your usage

How each request is counted against your 30 free minutes.