Text to Speech
SNR Audio Streaming
Low Latency Endpoint with reduced response time compared to the standard endpoint.
POST
/
v1
/
rest
/
speech
/
stream
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Available options:
mp3_44100_192
, mp3_44100_128
, mp3_44100_64
, mp3_44100_32
, mp3_44100_16
, mp3_22050_192
, mp3_22050_128
, pcm_16000
, pcm_22050
, pcm_24000
, pcm_44100
, mulaw_8000
Body
application/json
input
string
default: SNR Audio, helps you generate High Quality, Human-Like speech at one-tenth the costrequiredAvailable options:
rachel
, arnold
, clyde
, thomas
, lily
, sarah
, giovanni
, chris
, antoni
, glinda
, matilda
Controls the similarity of generated speech to the specified voice. 0.0 means least similar, 1.0 means most similar.
Controls the expressiveness of the generated speech. 0.0 means least expressive, 1.0 means most expressive.
Required range:
0 < x < 1
Controls the pitch of the generated speech. 0.5 means half the original pitch, 1.0 means original pitch, 1.5 means 1.5 times the original pitch.
Required range:
0.5 < x < 1.5
Controls the speed of the generated speech. 0.5 means half the original speed, 1.0 means original speed, 2.0 means twice the original speed.
Required range:
0.5 < x < 2
Response
200 - application/json
The response is of type any
.