Media Inputs & Outputs
Media Inputs & Outputs
Deepgram’s APIs provides robust support for both media input and output settings, enabling users to customize audio data processing and output generation to suit a variety of Voice Agent applications.
Speech to Text: Media Input Settings
Media input settings allow you to define the parameters for audio data submitted for processing. These settings help optimize the transcription process by specifying the characteristics of the audio data. Below is a summary of the available options for media input settings:
Text to Speech: Media Output Settings
Once the input audio is processed, Deepgram provides robust options for generating speech output tailored to your voice agent’s requirements. These settings enable customization of the synthesized audio or transcription results for downstream use.
Flux TTS, the default agent.speak provider, streams raw audio: it accepts the linear16, mulaw and alaw encodings with no container or bit rate. Requesting a compressed encoding or a container returns INVALID_SETTINGS. Configure an Aura voice to use those formats.