elevenlabs / elevenlabs-docs

Documentation for elevenlabs.io/docs
https://elevenlabs.io/docs
54 stars 238 forks source link

Issue on docs #217

Closed Scronkfink closed 4 months ago

Scronkfink commented 4 months ago

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.

marcelthomas5 commented 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.

Scronkfink commented 4 months ago

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.

marcelthomas5 commented 4 months ago

@Scronkfink Thanks again for posting this. Just to let you know that the docs have been updated.