Agora and Murf
Use Murf TTS with Agora’s Conversational AI Engine
Murf is available as a text-to-speech (TTS) provider for Agora’s Conversational AI Engine. You start voice agents through Agora’s REST API and choose Murf for TTS so the agent speaks with Murf voices in your Agora channel sessions.
Introduction to Agora
Agora’s Conversational AI Engine runs AI voice agents in real time inside Agora channels: end users and agents join the same session, with configurable automatic speech recognition (ASR), large language models (LLMs), and TTS. Agora handles low-latency audio transport; your backend uses Agora’s REST APIs to create agents and pass third-party credentials (including for TTS).
With Murf as your TTS provider, set vendor to murf in the agent’s tts configuration and supply the params documented by Agora for Murf. The sections below cover prerequisites, REST examples, and those parameters in more detail.
Setup & requirements
Requirements
- Conversational AI enabled for your Agora project
- From Agora Console: App ID, Customer ID and Customer secret (for REST auth), and an RTC token for the agent to join a channel
- API keys for a supported LLM (e.g. OpenAI) and Murf (for TTS)
- A client app that can join a voice or video call on Agora (the user side of the conversation)
Client SDKs
To build that client, use Agora’s Voice or Video SDKs for your platform. Install the package for Android, iOS, Web, Windows, macOS, or other targets from Agora’s SDK documentation.
API keys and authentication
- Murf API key: from the Murf API Dashboard
- Agora REST auth: use Customer ID and Customer secret as a Basic auth credential; see the REST quickstart for how to form base64-encoded credentials for the
joincall
Start a conversational AI agent
Call the join endpoint to create an agent that joins an Agora channel. Use Murf in the tts block as follows.
Sample tts configuration (Murf)
The examples below follow the REST quickstart.
Node.js
cURL
Python
A successful response (200 OK) includes agent_id, create_ts, and status.
TTS params reference (Murf)
These fields are described in the Agora Murf documentation as validated for the Conversational AI Engine.
Features
- Enterprise-grade TTS: Murf models for natural agent speech in Agora channels
- Streaming: Murf WebSocket output aligned with Agora’s real-time stack when configured with the documented
base_url - Voice and audio controls:
voiceId,locale,rate,pitch,model, andsample_rateinparams
Available voices
Support
- Agora: Conversational AI documentation and Murf TTS
- Murf API: Murf API Dashboard and Murf API documentation
- Email: support@murf.ai