WebSocket Streaming
Persistent connections for continuous, low-latency audio. Best for conversational AI and real-time apps. Endpoint:wss://api.smallest.ai/waves/v1/lightning-v3.1/get_speech/stream
SSE Streaming
Server-Sent Events over HTTP — simpler to set up, no persistent connection needed. Endpoint:POST https://api.smallest.ai/waves/v1/lightning-v3.1/stream
Streaming Text Input (SDK)
For real-time applications where text arrives incrementally (e.g., from an LLM), the SDK supports streaming text input:WebSocket vs SSE
Response Format
Each WebSocket/SSE message is JSON: Audio chunk:Configuration Parameters
For concurrency limits and connection management, see Concurrency and Limits.

