Hi, I cloned my voice using 10 minutes of studio-recorded audio and the following code on colab:
TEXT = <SOME ITALIAN TEXT TO SPEAK>
client = ElevenLabs(
api_key="<MY API KEY>",
)
voice = client.clone(
name="Giuseppe",
files=audio_files,
description="an italian man who speaks Italian. Friendly voice, perfect for technical courses.",
)
audio = client.generate(text=TEXT, voice=voice)
play(audio, notebook=True)
When I generate audio through the website, the result is excellent. However, when I generate it using the API, the voice sounds different from mine and has an English accent. I've tried using the same text and same voice settings in both cases, but the issue persists.
Here’s what I’ve tried so far:
Cloning the voice through the website and then using it with the API, but I got the same result.
Creating a new API token twice.
Using the label {"language": "italian"} while cloning the voice.
Loading the voice using its ID.
Loading the voice getting it from the list returned by client.voices.get_all().
None of this worked, I keep getting a wrong voice.
Hi, I cloned my voice using 10 minutes of studio-recorded audio and the following code on colab:
When I generate audio through the website, the result is excellent. However, when I generate it using the API, the voice sounds different from mine and has an English accent. I've tried using the same text and same voice settings in both cases, but the issue persists.
Here’s what I’ve tried so far:
None of this worked, I keep getting a wrong voice.