Skip to main content

WebSocket API

Real-time bidirectional streaming API for Speech-to-Text (STT) and Text-to-Speech (TTS) services.

Overview

The 60db WebSocket API provides real-time streaming capabilities for:
  • Speech-to-Text (STT): Convert audio to text with 99+ language support
  • Text-to-Speech (TTS): Synthesize natural-sounding speech with multiple voices

Base URLs

Authentication

WebSocket connections require authentication using API key via query parameter:
Getting Your API Key:
  1. Go to app.60db.ai
  2. Navigate to Settings → Developer → API Keys
  3. Click Create API Key
  4. Copy and store your API key securely

🎤 STT WebSocket (Speech-to-Text)

What it does: You send audio → You get text back Use for: Transcribing speech, voice commands, call center analytics, meeting transcription

Quick Start

How STT Works


🔊 TTS WebSocket (Text-to-Speech)

What it does: You send text → You get audio back Use for: Voice assistants, audiobooks, accessibility, chatbots

Quick Start

How TTS Works


📋 STT vs TTS Comparison


📚 Full Documentation


💡 Key Concepts

STT Messages

TTS Messages


📊 Pricing


🆘 Support