Streaming text-to-speech synthesis (HTTP)
Streaming text-to-speech synthesis (HTTP)
Stream audio as it's generated. Returns chunked WAV data for progressive playback. The model associated with the voice is selected automatically.
Authentication
AuthorizationBearer
API token from https://app.resemble.ai/account/api
Request
This endpoint expects an object.
voice_uuid
Voice UUID to use for synthesis
data
Text or SSML to synthesize (max 2000 characters)
project_uuid
Optional project UUID to store the clip
precision
Audio precision
Allowed values:
sample_rate
Audio sample rate in Hz
use_hd
Enable HD synthesis with small latency trade-off
apply_custom_pronunciations
When true, automatically applies your team's custom pronunciations to matching words in the input text. Defaults to false.
Response
Streaming audio response (chunked WAV)
Errors
400
Bad Request Error
