Discussions

Ask a Question
Back to All

How do I change the model used by Elevenlabs to generate my voice

I have got my custom voice working through elevenlabs but it does not sound correct unless I use the eleven_turbo_v2 model. I have tried implementing this in my code but to no avail. How can I use the eleven_turbo_v2 model for my voice?


{
"script": {
"type": "text",
"input": "I love to make simple API calls, this is my voice using AI and I like to talk like this lol",
"provider": {
"type": "elevenlabs",
"voice_id": "MY_VOICE_ID",
"model": "eleven_turbo_v2",
"voice_settings": {
"model": "eleven_turbo_v2",
"stability": 0.5,
"similarity_boost": 0.8,
"style": 0.0,
"use_speaker_boost": true
}
}
},
"source_url": "MY_SOURCE_URL",
"webhook": "https://host.domain.tld/to/webhook"
}