Discussions

Ask a Question
Back to All

Issue with API: Receiving Internal Server Error with ElevenLabs Provider

Here's the translation of your message into English:

Hello,

I have been using the API provided at https://docs.d-id.com/reference/createtalkstream with the provider set to "elevenlabs," but suddenly, it started returning an "Internal Server Error" with an HTTP status of 500. I have set the x-api-key-external, and the body of the request is as follows. This setup was working until recently, so has there been any change in the specifications?

{
  "script": {
    "type": "text",
    "input": text,
    "provider": {
      "type": "elevenlabs",
      "voice_id": {voiceId},
      "model_id": "eleven_multilingual_v2"
    }
  },
  "driver_url": "bank://lively/",
  "config": {
    "stitch": true
  },
  "session_id": {sessionId}
}