Hi there!
Newer to building with the ElevenLabs API, but loving it so far. I have a project where I create a new user voice as a part of onboarding. This created voice's ID number is then used in a subsequent part of the product where I want to send stored mp3 files along with the voice ID of the new user to return a new audio file where the users voice has been used over the stock voice in the sent MP3. I have been able to do this with local files but cannot figure out how to do this with files stored on supabase.
With the speech to speech API requiring an audio file as a part of the multipart api request, how can I perform this task using a file stored in supabase storage as opposed to locally?
I initially thought about making a custom function that fires on page load that downloads the audio file from supabase, stores in on the local app, and then use that file to send out, but that is a long way to go to use a file that should be able to be referenced instead of downloaded and then sent off to the device on.
Any help is much appreciated! Thanks