Skip to main content

Presenting superU v1.1 with VAD (Voice Activity Detection), noise reduction, and ultra low latency of just 200ms.

Start here

Follow our superU Voice Assistant step-by-step quickstart guide.

How to use superU v1.1

After setting up the superU Voice Assistant with step-by-step guide, you can use this advance superU version to interact with your AI assistant.
1

Just add a Model argument to create_call with superU v1.1

In the create_call function (e.g., superU_voice_assistant.py), add the model argument with superU v1.1.

if __name__ == "__main__":
    superu_client = superu.SuperU('<YOUR_API_KEY>')
    First_message = "Hey there! Ready to explore some fascinating science today?"
    System_prompt = """
        You are a helpful and curious science assistant. Your job is to answer questions clearly, concisely, and in a way that's engaging for someone interested in science.
    """
    superU_call = superu_client.calls.create_call(
        first_message=First_message,
        system_prompt=System_prompt,
        voice_id="90ipbRoKi4CpHXvKVtl0",
        model = "superU_1.1",
        language_clue="en-US",
    )
    asyncio.run(listen_and_send(superU_call['ws_url'], superU_call['streamId']))
2

Run the Application

Execute your Python file using the appropriate command:
# Windows
python superU_voice_assistant.py

# macOS/Linux
python3 superU_voice_assistant.py
You should see “Connected to WebSocket. Streaming audio…” in your terminal, indicating a successful connection.