Template Apps
Each template is a runnable demo that streams text to Deepgram Flux TTS over /v2/speak and plays the audio back. Unlike the Flux transcription starters, these use the official SDK’s speak.v2 client on the backend, so the SDK manages the Deepgram WebSocket, authentication, and binary-audio framing for you.
The Python, JavaScript, and Java SDKs ship a speak.v2 client for /v2/speak:
- Python —
deepgram-sdk(GitHub) - JavaScript —
@deepgram/sdk(GitHub) - Java —
deepgram-java-sdk(GitHub)
See Getting Started for the speak.v2 code shape. Languages without SDK support yet can connect to the WebSocket directly.
Starter apps
Section titled “Starter apps”Node.js

Flux streaming TTS demo app using Node.js (@deepgram/sdk)
Flask

Flux streaming TTS demo app using Flask (deepgram-sdk)
FastAPI

Flux streaming TTS demo app using FastAPI (deepgram-sdk)
Django

Flux streaming TTS demo app using Django (deepgram-sdk)
Java

Flux streaming TTS demo app using Java (deepgram-java-sdk)