Skip to main content

Generate speech

POST 

/v1/audio/speech

Converts text to audio with the speech provider of the model. proxium reserves the budget, builds the provider request and returns the audio bytes. The cache, failover and the timeout header do not apply to this route.

Request​

Responses​

The audio. The content-type is the one that the provider row sets, and audio/mpeg when it sets none.