Stream speech for given text using the Lightning v2 SSE API
The Lightning v2 SSE API provides real-time text-to-speech streaming capabilities with high-quality voice synthesis. This API uses Server-Sent Events (SSE) to deliver audio chunks as they’re generated, enabling low-latency audio playback without waiting for the entire audio file to process. For an end-to-end example of how to use the Lightning v2 SSE API, check out Text to Speech (SSE) Example
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Synthesized speech retrieved successfully.
The response is of type file
.
Stream speech for given text using the Lightning v2 SSE API
The Lightning v2 SSE API provides real-time text-to-speech streaming capabilities with high-quality voice synthesis. This API uses Server-Sent Events (SSE) to deliver audio chunks as they’re generated, enabling low-latency audio playback without waiting for the entire audio file to process. For an end-to-end example of how to use the Lightning v2 SSE API, check out Text to Speech (SSE) Example
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Synthesized speech retrieved successfully.
The response is of type file
.