Discussions
API Question - ElevenLabs Parameters
I emailed this to support, and they suggested I post it here on this page.
I'm hoping HeyGen can help me validate whether or not my API calls are being processed successfully. Actually, let me rephrase that. I know it's being processed because the videos are being generated successfully. My main question is about the ElevenLabs parameters that I'm sending, and whether or not they are affecting the resulting video. I experimented by using extreme settings for these parameters, including putting the speed as low as possible and then doing it again with the speed as high as possible. The resulting videos didn't seem to have any difference. Here is an actual example of a recent API call:
{
"title": "Interested in Avatars?",
"video_inputs": [
{
"character": {
"type": "avatar",
"avatar_id": "5603563a504148daaf54730cf74aed49",
"avatar_style": "normal"
},
"voice": {
"type": "text",
"input_text": "Hate being on camera? That red light can make anyone freeze up!\n\nMany small business owners want consistent video content but absolutely dread the recording process. I get it, trust me! But what if there was an incredible alternative?",
"voice_id": "5558919120d84720b68b436041f220f6",
"elevenlabs_settings": {
"model": "eleven_turbo_v2_5",
"stability": 0,
"similarity_boost": 0,
"style": 1,
"speed": 0.5
}
},
"background": {
"type": "color",
"value": "#ffffff"
}
}
],
"aspect_ratio": "9:16",
"dimension": {
"width": 1080,
"height": 1920
}
}
Also, please note that the API documentation has a misspelling in the cURL Request example, saying "elevanlabs_settings" instead of "elevenlabs_settings". I've been using the correct spelling, and I'm unsure if I should change it to "elevanlabs_settings".
Thoughts?