<Say> hello to Alice, the latest Twilio voice engine. Alice speaks 26 dialects, so you can communicate with customers, clients and callers in their own language. Developers use Twilio’s Text-to-Speech (TTS) capabilities to greet callers, speak prompts or build confirmations into phone calls without any need to record the dialogue in advance. Getting started with Alice is incredibly easy – just modify the <Say> verb with the voice attribute using a set of simple values. Here’s an example:
<?xml version="1.0" encoding="UTF-8"?> <Response> <Say voice="alice" language="fr-FR">Chapeau!</Say> </Response>
Read the voice engine documentation here. This new TTS capability will not impact your current apps using the values ‘male’ and ‘female’, but offers an improved option. Check out this full list of the 26 dialects Alice speaks:
To learn more about Alice’s functionality, please visit our documentation on the verb <Say>.
Hear Alice’s voice here: