Skip to main content
Deepgram Aura delivers low-latency streaming synthesis over a persistent WebSocket at wss://api.deepgram.com/v1/speak. Provider identifier: deepgram

Vault Credential

KeyDescription
keyDeepgram API key from console.deepgram.com

Setup

1

Get a Deepgram API key

Sign in at console.deepgram.comAPI Keys → Create a new API key.
2

Add to Rapida vault

In the Rapida dashboard → Credentials → Create Credential, select provider Deepgram, enter key = your API key.The same credential is used for both STT (Deepgram Nova) and TTS (Deepgram Aura).
3

Configure the assistant

In the assistant settings → TTS Provider, select Deepgram.
OptionExampleDescription
voiceaura-asteria-enAura voice model
encodinglinear16Output encoding
sample_rate16000Output sample rate
Available voices: aura-asteria-en, aura-luna-en, aura-stella-en, aura-athena-en, aura-hera-en, aura-orion-en, aura-arcas-en, aura-perseus-en, aura-angus-en, aura-orpheus-en, aura-helios-en, aura-zeus-en

How It Works

// Initialize: connects to Deepgram Aura WebSocket
wss://api.deepgram.com/v1/speak?encoding=linear16&sample_rate=16000&model=<voice>

// Transform handles three packet types:
InterruptionPacket    → {"type":"Clear"}          // cancel queued audio
LLMResponseDeltaPacket → {"type":"Speak","text":"..."} // stream token
LLMResponseDonePacket  → {"type":"Flush"}          // trigger final synthesis