ElevenLabs
ElevenLabs voices offer expressive, human-like pronunciation and an extensive list of supported languages.
SignalWire supports the following voices in the Multilingual v2 model:
| Voices | Languages |
|---|---|
rachel, clyde, domi, dave, fin, antoni, thomas, charlie, emily, elli, callum, patrick, harry, liam, dorothy, josh, arnold, charlotte, matilda, matthew, james, joseph, jeremy, michael, ethan, gigi, freya, grace, daniel, serena, adam, nicole, jessie, ryan, sam, glinda, giovanni, mimi | 🇺🇸 English (USA), 🇬🇧 English (UK), 🇦🇺 English (Australia), 🇨🇦 English (Canada), 🇯🇵 Japanese, 🇨🇳 Chinese, 🇩🇪 German, 🇮🇳 Hindi, 🇫🇷 French (France), 🇨🇦 French (Canada), 🇰🇷 Korean, 🇧🇷 Portuguese (Brazil), 🇵🇹 Portuguese (Portugal), 🇮🇹 Italian, 🇪🇸 Spanish (Spain), 🇲🇽 Spanish (Mexico), 🇮🇩 Indonesian, 🇳🇱 Dutch, 🇹🇷 Turkish, 🇵🇠Filipino, 🇵🇱 Polish, 🇸🇪 Swedish, 🇧🇬 Bulgarian, 🇷🇴 Romanian, 🇸🇦 Arabic (Saudi Arabia), 🇦🇪 Arabic (UAE), 🇨🇿 Czech, 🇬🇷 Greek, 🇫🇮 Finnish, ðŸ‡ðŸ‡· Croatian, 🇲🇾 Malay, 🇸🇰 Slovak, 🇩🇰 Danish, 🇮🇳 Tamil, 🇺🇦 Ukrainian, 🇷🇺 Russian |
Languages​
Multilingual v2 voices are designed to be interchangeably compatible with all supported languages.
Rather than enforcing language selection with language code,
this TTS model automatically uses the appropriate language of the input text.
Consult ElevenLabs' supported languages resource for an up-to-date list of supported languages.
Voice IDs​
Copy the voice ID from the list of supported ElevenLabs voices above.
Prepend elevenlabs. and the string is ready for use.
For example: elevenlabs.sam
Examples​
Learn how to use ElevenLabs voices on the SignalWire platform.
- SWML
- RELAY Realtime SDK
- Call Flow Builder
- cXML
Use the
languages
SWML method to set one or more voices for an AI agent.
version: 1.0.0
sections:
main:
- ai:
prompt:
text: Have an open-ended conversation about flowers.
languages:
- name: English
code: en-US
voice: elevenlabs.rachel
Alternatively, use the say_voice parameter
of the play
SWML method to select a voice for basic TTS.
version: 1.0.0
sections:
main:
- set:
say_voice: "elevenlabs.rachel"
- play: "say:Greetings. This is the Rachel voice, speaking in English, from ElevenLabs' Multilingual v2 text-to-speech model."
// This example uses the Node.js SDK for SignalWire's RELAY Realtime API.
const playback = await call.playTTS({
text: "Greetings. This is the Rachel voice, speaking in English, from ElevenLabs' Multilingual v2 text-to-speech model.",
voice: "elevenlabs.rachel",
});
await playback.ended();
ElevenLabs voices are not yet supported in Call Flow Builder.
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="elevenlabs.rachel">
Greetings. This is the Rachel voice, speaking in English, from ElevenLabs' Multilingual v2 text-to-speech model.
</Say>
</Response>