New: AI video tools. Cut, clip, caption and dub your videos. See all video tools →
Streaming

Stream session audio as WAV

GET
/api/v1/streaming/{session_id}/audio

Stream generated audio progressively while synthesis runs.

Both formats are replayable and resumable: reads never consume the session buffer, and Range: bytes=N- requests resume from byte N (206), so players like ExoPlayer can recover from network drops. MP3 is encoded once per session into a buffer all readers share. The stream ends when generation completes. 10-minute hard timeout.

Path Parameters

session_id*Session Id

Query Parameters

format?Format

'wav' (PCM16) or 'mp3' (64kbps, transcoded once per session by the bundled ffmpeg)

Default"wav"

Response Body

Streaming WAV audio (PCM 16-bit mono).

response?unknown
Example Request
curl -X GET 'http://127.0.0.1:8100/api/v1/streaming/string/audio'
Example Response
null