Turn-based Audio (Flux)
Turn-based Audio (Flux)
Real-time conversational speech recognition with contextual turn detection for natural voice conversations
Turn-based Audio (Flux)
Real-time conversational speech recognition with contextual turn detection for natural voice conversations
Use Authorization: Token <API_KEY>
Example: Authorization: Token 12345abcdef
Use Authorization: Bearer <JWT>
Example: Authorization: Bearer eyJhbGciOiJ...
Encoding of the audio stream. Required if sending non-containerized/raw audio. If sending containerized audio, this parameter should be omitted.
Sample rate of the audio stream in Hz. Required if sending non-containerized/raw audio. If sending containerized audio, this parameter should be omitted.
End-of-turn confidence required to fire an eager end-of-turn event.
When set, enables EagerEndOfTurn and TurnResumed events. Valid
Values 0.3 - 0.9.
End-of-turn confidence required to finish a turn. Valid Values 0.5 - 0.9.
Language hints constrain and prioritize language detection for the flux-general-multi model. Pass multiple language_hint query parameters to specify multiple language codes. Empty values are rejected. Only valid when model is flux-general-multi.
Profanity Filter looks for recognized profanity and converts it to the nearest recognized non-profane word or removes it from the transcript completely.
Sent when a Configure message was successfully applied. Returns the current, up-to-date values that were applied.
Use your API key or a temporary token for authentication via the Authorization header. In client-side environments where custom headers are not supported, use the Sec-WebSocket-Protocol header instead.
Example: Authorization: Token %DEEPGRAM_API_KEY% or Authorization: Bearer %DEEPGRAM_TOKEN%
Keyterm prompting improves recognition of specialized terminology.
keyterm accepts plain terms only. Unlike the legacy keywords feature,
it does not support weights or intensifiers, so a value such as
keyterm=term:0.15 is invalid.
To boost multiple separate keyterms, repeat the keyterm parameter
(for example, keyterm=term1&keyterm=term2). To boost one multi-word
phrase as a single keyterm, join the words with %20 or +
(for example, keyterm=customer%20service). Do not separate keyterms
with commas, semicolons, or line breaks.
Opts out requests from the Deepgram Model Improvement Program. Refer to our Docs for pricing impacts before setting this to true. https://dpgr.am/deepgram-mip