An open API service indexing awesome lists of open source software.

https://github.com/acarter881/google_tts

Using Google's Cloud Text-to-Speech API
https://github.com/acarter881/google_tts

api google-cloud text-to-speech

Last synced: 10 months ago
JSON representation

Using Google's Cloud Text-to-Speech API

Awesome Lists containing this project

README

          

# google_tts

Using Google's [Cloud Text-to-Speech API](https://cloud.google.com/text-to-speech)

## Table of Contents
- [FAQ](#faq)
- [Sample Output](#sample-output)
- [More Information](#more-information)

## FAQ
1. What is this API?
> Google Cloud Text-to-Speech enables developers to synthesize natural-sounding speech with 100+ voices, available in multiple languages and variants. It applies DeepMind’s groundbreaking research in WaveNet and Google’s powerful neural networks to deliver the highest fidelity possible. As an easy-to-use API, you can create lifelike interactions with your users, across many applications and devices.
2. Does the API cost money to use?
- Please reference [this link](https://cloud.google.com/text-to-speech/pricing)
3. What voices can I choose from?
- Please reference [this link](https://cloud.google.com/text-to-speech/docs/voices)
4. Can I use Speech Synthesis Markup Language (SSML)?
- Yes, please reference [this link](https://cloud.google.com/text-to-speech/docs/ssml) and see the example code below
```javascript

Here are SSML samples.
I can pause .
I can play a sound
didn't get your MP3 audio file.
I can speak in cardinals. Your number is 10.
Or I can speak in ordinals. You are 10 in line.
Or I can even speak in digits. The digits for ten are 10.
I can also substitute phrases, like the W3C.
Finally, I can speak a paragraph with two sentences.

This is sentence one.This is sentence two.

```
5. Should I use a standard voice or a WaveNet voice?
- I prefer to use a WaveNet voice. You can read about the differences [here](https://cloud.google.com/text-to-speech/docs/wavenet).
6. Can I get a custom voice?
- Yes, there is a [Custom Voice program](https://cloud.google.com/text-to-speech/custom-voice/docs) (beta)

## Sample Output
- [Audio File (Ogg)](https://drive.google.com/file/d/1n-rVE0bfroPKlDv8hPpJWgl4pGurU_wV/view?usp=sharing)

## More Information
- [Source Code](https://github.com/googleapis/python-texttospeech)
- [Setup](https://cloud.google.com/text-to-speech/docs/libraries)