Open AI Text To Speech API

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

HiI’m trying to create an OpenAI Text to speech extension but its not working (the js code is a full view of that the code looks like in the GDevelop editor).

What is the expected result

It should start talking once a scene is loaded and after checking the helpSound variable is true. The api key is correct (edited out for the screenshot).

What is the actual result

I keep getting the audioError in the console log. Audio Error:error[object Event]

Related screenshots



Project files (optional)

Insert a minimal game showing your issue in a .zip or .rar.