> ## Documentation Index
> Fetch the complete documentation index at: https://doc.rapida.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deepgram Aura TTS

> Configure Deepgram Aura text-to-speech in assistant-api.

Deepgram Aura delivers low-latency streaming synthesis over a persistent WebSocket at `wss://api.deepgram.com/v1/speak`.

**Provider identifier:** `deepgram`

***

## Vault Credential

| Key | Description |
| - | - |
| `key` | Deepgram API key from [console.deepgram.com](https://console.deepgram.com) |

***

## Setup

**1. Get a Deepgram API key**

Sign in at [console.deepgram.com](https://console.deepgram.com) → **API 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**.

| Option | Example | Description |
| - | - | - |
| `voice` | `aura-asteria-en` | Aura voice model |
| `encoding` | `linear16` | Output encoding |
| `sample_rate` | `16000` | Output 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

```go theme={null}
// 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
```

***

> [card] [Deepgram STT](https://doc.rapida.ai/opensource/services/assistant-api/stt/deepgram.md)
>
> Deepgram Nova speech-to-text

> [card] [TTS Overview](https://doc.rapida.ai/opensource/services/assistant-api/tts/overview.md)
>
> All TTS providers


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.