# October 16, 2025

## Flux: Expanded Audio Format Support

Flux now supports a wider range of audio formats beyond `linear16`, giving you more flexibility in how you send audio to our conversational speech recognition model. This update adds support for additional raw audio encodings and containerized audio formats.

### Raw Audio Format Support

Flux now accepts the following raw (non-containerized) audio encodings:

- `linear16` - 16-bit signed little-endian PCM (existing)
- `linear32` - 32-bit signed little-endian PCM (new)
- `mulaw` - Mu-law encoding (new)
- `alaw` - A-law encoding (new)
- `opus` - Opus codec (new)
- `ogg-opus` - Opus in Ogg container (new)

When using raw audio formats, you must specify both the `encoding` and `sample_rate` parameters in your API request.

### Containerized Audio Support

Flux now also accepts containerized audio formats, eliminating the need to manually specify encoding and sample rate parameters:

- **WAV containers** with `linear16` encoding
- **Ogg containers** with `opus` encoding

When sending containerized audio, **omit** the `encoding` and `sample_rate` parameters—Flux will automatically detect these from the container metadata.

### Supported Sample Rates

For raw audio, Flux supports the following sample rates:

- 8000 Hz
- 16000 Hz (recommended)
- 24000 Hz
- 44100 Hz
- 48000 Hz

### Implementation

**For raw audio:**

```
wss://api.deepgram.com/v2/listen?model=flux-general-en&encoding=linear16&sample_rate=16000
```

**For containerized audio:**

```
wss://api.deepgram.com/v2/listen?model=flux-general-en
```

For detailed information about Flux audio requirements, see our [Flux documentation](/guides/streaming-audio-flux-quickstart).

## Related pages

- [Amazon SageMaker](./amazon-sagemaker-index.md)
- [Aura](./aura-index.md)
- [Changelog](../changelog.md)
- [Custom Vocabulary](./custom-vocabulary-index.md)
- [Deepgram's Docs](../index.md)
- [Deployment](./deployment-index.md)
- [Docker/Podman](./docker-podman-index.md)
- [Features](./features-index.md)
- [Flux TTS](./flux-tts-index.md)
- [Formatting](./formatting-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
