RageAgainstThePixel / ElevenLabs-DotNet

A Non-Official ElevenLabs RESTful API Client for dotnet
https://elevenlabs.io/?from=partnerbrown9849
MIT License
58 stars 19 forks source link

Adapt samples API to allow for filesystem less upload #32

Closed danielwinkler closed 6 months ago

danielwinkler commented 10 months ago

Feature Request

Is your feature request related to a problem? Please describe.

This is related to the PR and discussion from https://github.com/RageAgainstThePixel/ElevenLabs-DotNet/pull/25

If I want to add a sample to the voice, I have to write it to the filesystem first (see EditVoiceAsync). It would be great if we could pass in a ReadOnlyMemory<byte> like we get out the ClipData.

Some preliminary work was already in the above mentioned PR.

Cheers, daniel

StephenHodgson commented 10 months ago

Sounds good, open to PR.

Please make it an overload, don't replace existing method.

RealStillkill commented 7 months ago

Submitted pull request #40