Discussions
stt_settings - Not being included within request to streaming.new
I'm including the stt_settings object in the call to https://api.heygen.com/v1/streaming.new
Given recent issues with Deepgram, I want to use Gladia instead.
However, when the call is made, the stt_settings object is always excluded—almost like it's not supported.
I'm using the latest version of the streaming avatar SDK.
From my code, I'm passing in:
{
"quality": "high",
"stt_settings": {
"provider": "gladia",
"confidence": 0.55
},
"avatarName": "Graham_Chair_Sitting_public",
"knowledgeId": "Graham_Chair_Sitting_public",
"knowledgeBase": "blah",
"language": "en",
"disableIdleTimeout": true,
"version": "v2",
"voice": {
"voiceId": "13cc05d71aa04af28351f1f5cd92cd78",
"rate": 1,
"emotion": "serious",
"elevenlabs_settings": {
"stability": 0.5,
"model_id": "eleven_flash_v2_5",
"similarity_boost": 0.5,
"style": 1,
"use_speaker_boost": true
}
}
}
But the call made to the API always excludes the stt_settings - almost like it's not supported.
{
"avatar_name": "Graham_Chair_Sitting_public",
"quality": "high",
"knowledge_base_id": "Graham_Chair_Sitting_public",
"knowledge_base": "",
"voice": {
"voice_id": "13cc05d71aa04af28351f1f5cd92cd78",
"rate": 1,
"emotion": "serious",
"elevenlabs_settings": {}
},
"language": "en",
"version": "v2",
"video_encoding": "H264",
"source": "sdk",
"disable_idle_timeout": true,
"ia_is_livekit_transport": false
}
Example Session:
wss://api.heygen.com/v1/ws/streaming.chat?session_id=08cde8e3-2e7f-11f0-8041-aafedb6f6c4d&session_token=eyJ0b2tlbiI6ICJjNjVkNTM5NTY1NDc0YjQ2OGY1ZTVkNjBhMTI1ZDI2NyIsICJ0b2tlbl90eXBlIjogInNhX2Zyb21fcmVndWxhciIsICJjcmVhdGVkX2F0IjogMTc0Njk3ODM1OH0=&silence_response=false