# Anyone played with Text to Speech using ElevenLabs API?

**URL:** <https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008>\
**Category:** Ask for Help\
**Created:** [April 26, 2023, 1:31pm UTC](https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008 "2023-04-26T13:31:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trustin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/trustin/32/88217_2.png) [@Trustin](https://community.glideapps.com/u/Trustin)\
**Post date:** [April 26, 2023, 1:31pm UTC](https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008/1 "2023-04-26T13:31:09Z")

</div>

Here’s the URL with the Voice ID, but the URL returns an audio files which I had no idea how to capture it with Fetch JSON or JQUERY. [https://api.elevenlabs.io/v1/text-to-speech/21m00Tcm4TlvDq8ikWAM](https://api.elevenlabs.io/v1/text-to-speech/21m00Tcm4TlvDq8ikWAM)

Any JSON expert can help enlighten me. Thanks!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/a/9a4b1ae83c8d6780011710e9c08a71576ba859d5.png)

Documentation:  
[https://api.elevenlabs.io/docs#/text-to-speech/Text\_to\_speech\_v1\_text\_to\_speech\_\_voice\_id\_\_post](https://api.elevenlabs.io/docs#/text-to-speech/Text_to_speech_v1_text_to_speech __voice_id__ post)

---

<div class="post-metadata">

**Author:** ![byhazellim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/byhazellim/32/55170_2.png) [@byhazellim](https://community.glideapps.com/u/byhazellim)\
**Post date:** [April 26, 2023, 5:57pm UTC](https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008/3 "2023-04-26T17:57:16Z")

</div>

I have a working code in Google App script, not sure if that helps you

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 27, 2023, 12:35am UTC](https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008/4 "2023-04-27T00:35:36Z")

</div>

How do you handle the audio/mpeg output? Do you upload it somewhere before retrieving the link?

---

<div class="post-metadata">

**Author:** ![Trustin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/trustin/32/88217_2.png) [@Trustin](https://community.glideapps.com/u/Trustin)\
**Post date:** [April 27, 2023, 1:07am UTC](https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008/5 "2023-04-27T01:07:27Z")

</div>

Mind taking a look? 👀

---

<div class="post-metadata">

**Author:** ![Trustin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/trustin/32/88217_2.png) [@Trustin](https://community.glideapps.com/u/Trustin)\
**Post date:** [April 27, 2023, 1:10am UTC](https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008/6 "2023-04-27T01:10:49Z")

</div>

Not at the moment, I have seen a tutorial using Make to pass it to Google drive.  
I am trying to keep it simple with fetch JSON but I think it has its limitations too. API yes but the return value is audio which needs to be captured somewhere…I am not sure whether using JavaScript JSON or could do the job.

Keeping in mind, Free Tier no Glide API, using Glide Tables.

I enjoy working within the constraints and be creative.

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [August 11, 2023, 7:21pm UTC](https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008/7 "2023-08-11T19:21:37Z")

</div>

You can use this: [🆕 Call API: call custom APIs, and return data back to your app](https://community.glideapps.com/t/call-api-call-custom-apis-and-return-data-back-to-your-app/64938)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [August 18, 2023, 7:22pm UTC](https://community.glideapps.com/t/anyone-played-with-text-to-speech-using-elevenlabs-api/61008/8 "2023-08-18T19:22:13Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
