websocket-tts

command
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Example: WebSocket TTS - Real-time text-to-speech streaming

This example demonstrates streaming text to speech via WebSocket, which is ideal for LLM integration where you want to play audio as the response is being generated.

Usage:

export ELEVENLABS_API_KEY="your-api-key"
go run main.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL