Eleven labs TTS in JSON config #1420
Replies: 5 comments 3 replies
-
|
Thanks for asking your question. Please be sure to reply with as much detail as possible so the community can assist you efficiently. |
Beta Was this translation helpful? Give feedback.
-
|
Hey there! It looks like you haven't connected your GitHub account to your Deepgram account. You can do this at https://community.deepgram.com - being verified through this process will allow our team to help you in a much more streamlined fashion. |
Beta Was this translation helpful? Give feedback.
-
|
It looks like we're missing some important information to help debug your issue. Would you mind providing us with the following details in a reply?
|
Beta Was this translation helpful? Give feedback.
-
|
Hi there - I'm looking into your issue now and will reply back with recommended next steps. Thank you!
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to integrate Eleven-labs in Deepgram's Voice Agent API though JSON config
Below is my JSON config:
{
"type": "Settings",
"audio": {
"input": {
"encoding": "mulaw",
"sample_rate": 8000
},
"output": {
"encoding": "mulaw",
"sample_rate": 8000,
"container": "none"
}
},
"agent": {
"language": "en",
"listen": {
"provider": {
"type": "deepgram",
"model": "nova-3"
}
},
"think": {
"provider": {
"type": "open_ai",
"model": "gpt-4o",
"temperature": 0.7
},
"prompt": ""
},
"speak": {
"provider": {
"type": "eleven_labs",
"model_id": "eleven_turbo_v2_5",
"language_code": "en-US"
},
"endpoint": {
"url": "wss://api.elevenlabs.io/v1/text-to-speech/2EiwWnXFnvU5JabPnv8n/stream-input",
"headers": {
"xi-api-key": "API_KEY"
}
}
},
"greeting": ""
}
}
Problem: Every time I am trying to send the JSON config but there is no audio output and deepgram returns this error
{"type":"Welcome","request_id":"9404e409-c7ae-44ce-afc0-953385e08492"}
{"type":"SettingsApplied"}
{"type":"Error","description":"Text message received from client did not match any of the formats we expect.","code":"UNPARSABLE_CLIENT_MESSAGE"}
Can someone please help me in integrating Eleven-Labs with deepgram?
Beta Was this translation helpful? Give feedback.
All reactions