Discussions
Why does this Elevenlabs voice not working?
about 1 year ago by laxman
const talkResponse = await fetchWithRetries(`${DID_API.url}/talks/streams/${streamId}`, {
method: 'POST',
headers: {
Authorization: `Basic ${DID_API.key}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
script: {
type: 'text',
subtitles: 'false',
provider: {type: 'elevenlabs', voice_id: '21m00Tcm4TlvDq8ikWAM'},
ssml: 'false',
input: 'Hello, I am alex'
},
config: {fluent: 'false', pad_audio: '0.0'},
session_id: sessionId,
}),
});
}
Only Microsoft voice id work for me, why?