Skip to main content
Question

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


Gogi

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? 

Did this topic help you find an answer to your question?
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

raydeck
Forum|alt.badge.img+1
  • New
  • 19 replies
  • August 28, 2023

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


Gogi
  • Author
  • Beginner
  • 1 reply
  • August 29, 2023

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