> For the complete documentation index, see [llms.txt](https://docs.omnileads.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnileads.net/english/text-to-speech-tts-pro.md).

# Text To Speech - TTS (Pro)

Text-to-Speech (TTS) is a technology that allows for the artificial reproduction of human speech. This technology can receive text and reproduce it with a synthesized artificial voice.

It is an effective and innovative solution in the contact center environment because it helps automate many tasks and enables novel integrations in speech synthesis.\
OMniLeads includes several algorithms that allow for extending the functionalities of the contact center using TTS engines.

## Personalized Audio and Text-To-Speech

Within the Resources -> Audios -> Custom Audios module, it is possible to create audio resources using 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%2FvC4KrkwYLW89QYx4W5k1%2Fimage.png?alt=media&amp;token=0ba68c59-cae8-4aa2-9fc4-2714fb0e1d3f" alt=""><figcaption></figcaption></figure>

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

The "TTS Services" package currently allows three text-to-speech conversion engines:

* [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): Multi-language Open Source Synthesizer
* [PicoTTS](https://pypi.org/project/py-picotts/):  TTS engine built in Python.

It also allows you to combine these engines with pre-set voices that support English, Spanish, and Portuguese.

When you type the text to be converted in the Text Box of the view and press "Save," the engine selected in the "TTS Service" dropdown will transform the string of characters into a synthesized voice according to its predefined algorithm.

<figure><img src="https://1083123978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qGfc9c0eCArZb6QcwvW%2Fuploads%2FaIgcZ72ZQbZ6eY7lTsLK%2Fimage.png?alt=media&amp;token=e2a8c018-d79c-4bcb-94eb-5dd91de662a6" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.omnileads.net/english/text-to-speech-tts-pro.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
