Discussions
ElevenLabs Cloned Voices not working
Hi,
When using the ElevenLabs provider to use instant clone voice it encounters the error.
Request:
const options = {
method: 'POST',
url: 'https://api.d-id.com/talks',
headers: {
accept: 'application/json',
'x-api-key-external': '{"elevenlabs": ""}',
'content-type': 'application/json',
authorization: 'Bearer '
},
data: {
script: {
type: 'text',
subtitles: 'false',
provider: {type: 'elevenlabs', voiceid: ''},
ssml: 'false',
input: 'This is an example to test D-ID integration with eleven labs voice make this real'
},
config: {fluent: 'false', padaudio: '0.0'},
source_url: ''
}
};
axios
.request(options)
.then(function (response) {
console.log(response.data);
})
.catch(function (error) {
console.error(error);
});
Response:
{
"kind": "TextToSpeechProviderError",
"description": "Failed generate 11labs tts\nA voice for the voice_id * was not found.",
"details": {
"provider": "elevenlabs"
}
}
I have created multiple new instant clone voices, but they seem to be working properly only with pre-made voices.
Ï