# Text To Speech (TTS)

Text-to-Speech or TTS is a technology that allows human speech to be reproduced artificially. This technology is capable of receiving a text and reproducing it with a synthesized artificial voice. \
\
It is an effective and innovative solution in the Contact Center environment since it helps automate many tasks as well as carry out novel integrations in terms of voice synthesis.

OMniLeads includes some algorithms that allow the extension of the Contact Center's functionalities through TTS engines.&#x20;

## Customized Audios and Text-To-Speech&#x20;

Within the *Resources -> Audios -> Customized Audios* module, the creation of audio resources is allowed through files in the *16-bit wav format*, or by facilitating their creation with Text-To-Speech (TTS) engines. These can then be used for IVRs, welcome audios, etc., depending on the business's telephone flow.

<figure><img src="https://1083123978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qGfc9c0eCArZb6QcwvW%2Fuploads%2F4OKuxolcN7rHsPlhkos6%2Fspaces_qQ4bFJhI3nNWFv4zXBw2_uploads_sgdcQw74WXjueSr2uSOH_image.webp?alt=media&#x26;token=0794facc-0899-4058-bb95-7e54c95d2c46" alt=""><figcaption></figcaption></figure>

When you click on "Use TTS Service", the system allows the generation of audios using "text to speech" algorithms.

The "TTS Services" combo allows three text-to-speech engines to date:

[Google TTS](https://cloud.google.com/text-to-speech/docs/reference/rest): Google Text to Speech Engine.

​[ESPeak-NG](https://github.com/espeak-ng/espeak-ng): Open Source Multi-Language Synthesizer

​[PicoTTS](https://pypi.org/project/py-picotts/): TTS engine built in Python.

In turn, it allows combining these engines with predetermined voices with support in English, Spanish and Portuguese.

By typing the text to be converted into the Text Box of the view and pressing "Save", the engine selected in the "TTS Service" combo will take care of transforming the character string into a Synthesized Voice according to its predetermined algorithm.

<figure><img src="https://1083123978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qGfc9c0eCArZb6QcwvW%2Fuploads%2FJUFitD3SQ9NxrC8mvq5Z%2Fspaces_qQ4bFJhI3nNWFv4zXBw2_uploads_UGVIaA0pV08cg2nxEZB3_image.webp?alt=media&#x26;token=5b437978-6a72-47a9-b3fb-2f2e46e82d45" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.omnileads.net/english/initial-configuration/text-to-speech-tts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
