Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No remove_background_noise parameter for instant voice cloning API #372

Open
hshreeshail opened this issue Oct 7, 2024 · 0 comments
Open

Comments

@hshreeshail
Copy link

hshreeshail commented Oct 7, 2024

As per the API Reference, when sending a POST request to create an instant voice clone, we include a parameter remove_background_noise. However, I don't see the parameter in the corresponding function call.

def add(
self,
*,
name: str,
files: typing.List[core.File],
description: typing.Optional[str] = None,
labels: typing.Optional[str] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> AddVoiceResponseModel:

So, on trying to create instant voice clone (as below), I don't have the option to remove background noise.

client = ElevenLabs()

with open(audio_path, "rb") as f:
    audio_bytes = f.read()
    response = client.voices.add(
        name=voice_name,
        files=[audio_bytes]
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant