Ultravox Integration

The SSE endpoint is compatible with Ultravox’ bring your own TTS feature.

1

Create a custom voice

Create a new custom voice at https://app.ultravox.ai/voices/new. Give it a name and, optionally, a description and a primary language.

2

Configure with JSON

Select the Import tab and paste the following JSON, substituting <API_KEY> with your Respeecher API key:

1{
2 "url": "https://api.respeecher.com/v1/public/tts/en-rt/tts/sse",
3 "headers": {
4 "X-Api-Key": "<API_KEY>",
5 "Content-Type": "application/json"
6 },
7 "body": {
8 "transcript": "{text}",
9 "voice": {
10 "id": "samantha"
11 },
12 "output_format": {
13 "encoding": "pcm_s16le"
14 }
15 },
16 "responseSampleRate": 22050,
17 "jsonAudioFieldPath": "data",
18 "responseMimeType": "application/jsonl"
19}

Test your voice with the respective button and, if it works, save it. You can change the en-rt endpoint to one of our other models as well as change samantha to another voice ID. The voice object can also contain sampling_params.