Audio Corrupted using save()
Hi has anyone encountered the same problem as me? When I try to open the saved audio using the save() method, it says that the file is either corrupt or in the wrong format.
from elevenlabs import play,save from elevenlabs.client import ElevenLabs
client = ElevenLabs( api_key="my api key", )
audio = client.generate( text="Hello!", voice="Rachel", model="eleven_multilingual_v2" ) play(audio) save(audio,"filepath\GeneratedAudio.mp3")
This is my code by the way. Any help will be appreciated.
Did you find a solution? I run into the same problem.
You should not play the sound before saving, leave the option to play the sound online, just to save the file. Good luck brother =)))