Eleven labs text to speech

Would really appreciate some suggestions. I have built a simple app on bubble.io that generates short stories I want to turn these stories into short audio books for my kids. The openai part works great but I can figure out how get the generated text(stories) to be turned into audio flies using the eleven labs API. The API calls work but it only use the text i have in quotation marks not the dynmaic text i am trying to reference. Any suggestions would be extremely welcome.

Can you share some screenshots of your existing setup?

Yeah no problem
Uploading: Screenshot 2024-07-22 at 23.23.50.png…
Uploading: Screenshot 2024-07-22 at 23.22.58.png…
Uploading: Screenshot 2024-07-22 at 23.22.51.png…
Uploading: Screenshot 2024-07-22 at 23.22.33.png…
Uploading: Screenshot 2024-07-22 at 23.21.44.png…




The workflow seems to be setup correctly. Did you check the logs in Bubble and see what’s happening there?

No I hadn’t check the logs. Everything seems to be working but I am unable to retrieve the dynamic text that I am trying to reference in the API call. Bubble sends the place holder instead the of the generated text. and I am not sure what I am doing wrong.

Got it! Bubble generally does that if the text you’re sending is empty (the Story text’s Output), and in the API Connector, you haven’t marked the parameter as optional. In this case, Bubble will send the data that it was initialized with. Maybe you could check the DB once and see if the text is being stored there or not.

Let me know what you find :slight_smile:


The output is being saved DB.


The APi only returns the ‘Your story’ which is the Value field.

Okay. Do you want to debug on a quick call sometime tomorrow? Feel free to use the link here

I would like like to debug is it possible to do it today?

Sure! Feel free to use the link to book some time on my calendar

I have book a debugging session for today at 8:30 Swedish time. Will that work for you?