Closed Scronkfink closed 4 months ago
@Scronkfink Thanks for raising this. The files field is referring to a list of paths to audio files you want to use for voice cloning. Would this description help?
"A list of file paths to audio recordings intended for voice cloning"
Also, we're working on updating our code samples to make this more clear.
Yes, and the only reason I commented on this ambiguity is because I have been having a very troublesome time getting the "addVoice" API to work.
I have been sending the raw binary data attached to the "files" key using fs.createReadStream(), but since I have still been incapable of successfully accessing this API using Node.js, I figured there was a chance you all might be expecting this Meta data represented in a json string or something, given that the docs do say it's expected as a string.
Appreciate the response...elevenLabs is awesome.
@Scronkfink Thanks again for posting this. Just to let you know that the docs have been updated.
Path: /api-reference/add-voice
I wish elevenlabs specified what "files" was supposed to be.
A string of "one or more audio files to clone the voice from" is an ambiguous definition.