Use text to speech with MAKE and SpeechGen API

Hi everyone. Wrote an article about the integration of Make.com and our Speechgen speech synthesizer: https://speechgen.io/en/blog/tts-automation-make/

You need to use the API for speech synthesizer. The article is very detailed and illustrative with 60 screenshots. You can also download the json there and export to your projects on make.com.

There are two methods to convert text to speech:

  1. For short texts, you need to make 1 request and get an audio file immediately.
  2. For long texts you need to make 1 request for voice to speech. After 1 minute you need to make a second request to get the result.

Complete process for a 1-st method

  1. HTTP: Generate the Audio from text using SpeechGen.io
  2. JSON: Parse the data we get from the SpeechGen API
  3. HTTP: Get binary data of the generated file
  4. Dropbox: Upload that data to Dropbox

Complete process for a 2-d method

  1. HTTP: Generate the Audio from text using SpeechGen.io
  2. JSON: Parse the data we get from the SpeechGen API
  3. SLEEP: Wait for a fews minutes until the TTS is ready
  4. HTTP: Request the mp3 file using it’s ID
  5. JSON: Parse the Data like we did before
  6. HTTP: Get binary data of the generated file
  7. Dropbox: Upload that data to Dropbox

Video

Guide in video format
Link on youtube https://youtu.be/NDPXeBz0vhk

3 Likes

Hi there @AlexGen Interesting I would to share an article I also wrote about this.

2 Likes