namu

Namu API

Speech to text, text to speech, translation and conversation for the languages of the Sahel, through one key. Free while we are in beta.

One key, four models

Each model does one job on its own endpoint, with the same limits and the same shape for every error.

Text to speech. Turns text into speech in the voice you choose, and returns the audio.

RequestPOST /v1/speech
curl https://api.namuai-lab.com
/v1/speech \
  -H "Authorization: Bearer $NAMU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Barka da safiya! Ga labaran yau.", "voice": "nadia"}' \
  -o labarai.wav
Languages
Hausa, Français, Zarma, Fulfulde, Kanuri, Tamajaq
Per request
Up to 2,000 characters
Status
In development
Response200 OK

The model said Sannu! Me kuke so mu yi muku yau?

From sign-up to first sound

Three steps and a few minutes. No card, no waiting list.

  1. 1

    Create an account

    With your email or Google. Your account can create keys straight away.

  2. 2

    Create a key

    Name it, choose which models it may call, and copy it once. We keep only a fingerprint of it.

  3. 3

    Make a request

    Export the key, install the SDK (or use curl) and send your first sentence. It shows up in your console’s logs.

$ export NAMU_API_KEY="namu_sk_…"
$ pip install namu-ai   # or: npm install namu-ai
$ curl https://api.namuai-lab.com
/v1/speech -H "Authorization: Bearer $NAMU_API_KEY" …

SDKs for Python and JavaScript · GitHub · PyPI · npm

Open the console

Free while we are in beta

Every account gets the same allowance. Build, test and pilot on it, and write to us when you need more.

30minutes of audio a month

  • 60requests a minute, per key
  • 25 MBor 5 minutes per audio file
  • 2,000characters per speech request
  • 10active keys per account

The audio you send counts, and the speech you get back from text to speech and conversation. It resets on the 1st (UTC). Pricing will be published with each model’s release.

Need more? Write to us

Questions

Which languages does the API cover?

Text to speech and speech to text work in Hausa, Zarma, Fulfulde, Kanuri, Tamasheq and French; conversation in Hausa, Zarma, Fulfulde, Kanuri and Tamasheq; translation goes between Hausa and French.

Is it free?

Yes, during the beta. Every account gets 30 minutes of audio a month, reset on the first of each month (UTC). Pricing will be published with each model’s release.

What counts towards the allowance?

Audio minutes: the audio you send, and the speech you get back from text to speech and conversation. Text translation counts its characters as the time they take to say (about 15 a second). Text to speech answers carry their length in the X-Audio-Seconds header, other answers carry audio_seconds or characters, and the console adds it all up.

What are the rate limits?

60 requests a minute per key. Over that, the API answers 429 with a Retry-After header telling you how long to wait.

What do you keep from my requests?

Usage records: which model, when, how much audio, how long it took and the status code. The console’s logs never hold the audio or the text.

Is it ready for production?

It is a beta: endpoints may change, and every model is in development or in research. Build prototypes and pilots now, and talk to us before you put it in front of many people.

Are there SDKs?

Not yet. The API is plain HTTPS with JSON, and the docs show every call in cURL, Python and JavaScript.

Does it stream?

Not yet: each request returns a whole result. Streaming for live agents is planned.

Your first request is free

Sign up, create a key, and hear the Sahel from your own code.