Pular para o conteúdo
Deepgram logo

flux

Automatic Speech Recognition • Deepgram

Ver como Markdown
  • Cloudflare-hosted
  • Partner
  • Real-time

Flux is the first conversational speech recognition model built specifically for voice agents.

Model Info
Terms and License link
PartnerYes
Real-timeYes
Unit Pricing$0.0077 per audio minute (websocket)

Parameters

encoding
stringrequiredenum: linear16Encoding of the audio stream. Currently only supports raw signed little-endian 16-bit PCM.
sample_rate
stringrequiredpattern: ^[0-9]+$Sample rate of the audio stream in Hz.
eager_eot_threshold
stringEnd-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.
eot_threshold
stringdefault: 0.7End-of-turn confidence required to finish a turn. Valid Values 0.5 - 0.9.
eot_timeout_ms
stringdefault: 5000pattern: ^[0-9]+$A turn will be finished when this much time has passed after speech, regardless of EOT confidence.
keyterm
stringKeyterm prompting can improve recognition of specialized terminology. Pass multiple keyterm query parameters to boost multiple keyterms.
mip_opt_out
stringdefault: falseenum: true, falseOpts out requests from the Deepgram Model Improvement Program. Refer to Deepgram Docs for pricing impacts before setting this to true. https://dpgr.am/deepgram-mip
tag
stringLabel your requests for the purpose of identification during usage reporting
request_id
stringThe unique identifier of the request (uuid)
sequence_id
integerminimum: 0Starts at 0 and increments for each message the server sends to the client.
event
stringenum: Update, StartOfTurn, EagerEndOfTurn, TurnResumed, EndOfTurnThe type of event being reported.
turn_index
integerminimum: 0The index of the current turn
audio_window_start
numberStart time in seconds of the audio range that was transcribed
audio_window_end
numberEnd time in seconds of the audio range that was transcribed
transcript
stringText that was said over the course of the current turn
end_of_turn_confidence
numberConfidence that no more speech is coming in this turn

API Schemas (Raw)

Input
Output