# Trying to use a text to speach api

**URL:** https://community.thunkable.com/t/trying-to-use-a-text-to-speach-api/3241608
**Category:** Web API's
**Tags:** webapi
**Created:** [October 1, 2024, 10:18pm UTC](https://community.thunkable.com/t/trying-to-use-a-text-to-speach-api/3241608 "2024-10-01T22:18:23Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![joemoukarzel88skm4pi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/joemoukarzel88skm4pi/32/185210_2.png) [@joemoukarzel88skm4pi](https://community.thunkable.com/u/joemoukarzel88skm4pi)
#### Post date: [October 2, 2024, 6:22am UTC](https://community.thunkable.com/t/trying-to-use-a-text-to-speach-api/3241608/2 "2024-10-02T06:22:54Z")

</div>

Unless you find an TTS API service that outputs a URL, you’re going to be in a world of pain. I have tried Deepgram, Google TTS, Azure TTS, IBM Watson and ResponsiveVoice. They all seem to output a binary of wav or mp3. I wasted countless hours trying to figure it out.  
Apparently there is a solution using backend integration and switching between StP and DnD but i couldn’t get it to work:

> [@Play mp3 sound from API response](https://community.thunkable.com/t/play-mp3-sound-from-api-response/2183817):
>
> I am using an API POST call and it’s returning an mp3 file. This works fine in Postman and plays the sound but not in Thunkable Live. Can I just attach the green response block to the play block and have it play the sound? I’ve tried that and it’s not working and I’m not sure what else to try. I included the get object from JSON block and that didn’t work either. This topic makes me think it’s probably not possible: [Download mp3 and play via Sound](https://community.thunkable.com/t/download-mp3-and-play-via-sound/1440164)

> [@ElevenLabs TTS Posting, Web API](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/4):
>
> this is how I am setting the blocks, would this be correct? I am getting an error from my live editor.

---

_[View the full topic](https://community.thunkable.com/t/trying-to-use-a-text-to-speach-api/3241608)._
