Discussions

Ask a Question
Back to All

get "Internal Server Error" when use my own elevenlabs voices with Create a talk stream

I submitted the following parameters on the https://docs.d-id.com/reference/createtalkstream page, and it prompted "Internal Server Error."

However, when I replaced the voice_id parameter with the official example 21m00Tcm4TlvDq8ikWAM, the response returned normally. In the actual scenario, I need to use my own voice_id.

curl --request POST
--url https://api.d-id.com/talks/streams/strm_bhr2rV63gTtAKqCbYNvnZ
--header 'accept: application/json'
--header 'authorization: Basic xxxxxxxx'
--header 'content-type: application/json'
--header 'x-api-key-external: {"elevenlabs": "xxxxxxxx"}'
--data @- <<EOF
{
"script": {
"type": "text",
"subtitles": "false",
"provider": {
"type": "elevenlabs",
"voice_id": "lRsz1Qjyb8hrOvO0XA2c",
"voice_config": {
"stability": 0.5,
"similarity_boost": 0.75
},
"model_id": "eleven_multilingual_v2"
},
"ssml": "false",
"input": "Why don't skeletons fight each other? They don't have the guts."
},
"config": {
"fluent": "false",
"pad_audio": "0.0"
},
"audio_optimization": "2",
"session_id": "AWSALB=dJcZ7/7Krpk79zUS9FXx5S8eDiJEXxjfOH9KKFCMoPNmsME4oDfFk2sTPckxncRdrPUCLCF+iSKuZ4ijDAWpXPG6tijTnUj0HdI4OdDBopp6RUIIzHzvlOesVauz; Expires=Wed, 03 Apr 2024 10:51:28 GMT; Path=/; AWSALBCORS=dJcZ7/7Krpk79zUS9FXx5S8eDiJEXxjfOH9KKFCMoPNmsME4oDfFk2sTPckxncRdrPUCLCF+iSKuZ4ijDAWpXPG6tijTnUj0HdI4OdDBopp6RUIIzHzvlOesVauz; Expires=Wed, 03 Apr 2024 10:51:28 GMT; Path=/; SameSite=None; Secure"
}

{
"kind": "UnknownError",
"description": "Internal Server Error"
}

Last week, when I used my own voice_id, it was working fine. However, now it is not working. What could be the reason for this change?