Question

How do I convert ElevenLabs API output to an MP3 file?

  • 26 August 2023
  • 2 replies
  • 2148 views

I am trying to automatically create audio versions of blog posts from Ghost, using the ElevenLabs API.

I set up a custom POST request with “Webhooks by Zapier:

I add all the relevant headers:

The call goes through and I get a response with the following output:

I try to create a file in Google Drive, and it works, but it’s a document not an MP3 file. And even when I paste the output manually into an MP3 file, it doesn’t work.

How can I get this call to give me back a proper MP3 file or to convert the output to the relevant format? 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 2
Badge +1

Have you checked the Upload File to Google Drive instead of create from text? I think if you have a local file result from the post you might get a superior result

@raydeck It worked! Thank you so much. 
​​​​@TechTaps thank you as well for your help and suggestion.