curl and jq, and
Python 3.10 or newer for the last step.
1. Get an API key
Sign in to the console, open Developer → API keys and create a key. Copy it now: the full secret is shown once.2. Pick a voice
Every voice has an id. The library includes built-in voices, and any voice you clone appears next to them.3. Make Nur speak
hello.mp3. To speak another language, write the text in it. Add
"language": "fr" when you want to be explicit.
4. Read it back
response_format=verbose_json to get speakers and timings. See
Speech to text.
5. Talk to Nur
Nur is a conversation over one connection: you stream audio in and Nur streams audio back, deciding for itself when you have finished speaking. This script sends a recorded question and saves Nur’s answer.talk.py
Next
Nur
Sessions, voices, interruptions and the events you will use.
Live translation
The same connection, interpreting instead of conversing.
Voices
Clone a voice from a short clip.
OpenAI compatibility
Point an OpenAI client at EESI.