Skip to main content
You will build: a command that transcribes every voice note in a folder and writes the text beside each one. You will need: curl or Python with the Python library (pip install namu-ai), and NAMU_API_KEY set.
1

Get the voice note onto your computer

In WhatsApp, long-press the voice note → Share (Android) or Forward → Share (iPhone) → send it to yourself by email or save it to Files. You get a file like PTT-20261108-WA0003.opus, which is Ogg Opus. Keep it as it is: the API reads it directly.
2

Transcribe one

Send dje for Zarma or fr for French.
3

Transcribe a whole folder

transcribe_folder.py

Good to know

  • The text comes in lower case, without punctuation.
  • Notes longer than 5 minutes return audio_too_long: cut them first.
  • Ask before you transcribe someone’s voice note: it is their voice and their words.

Next

Build an interpreter

Translate what was said

Speech to text

Every option