v1

latestOpenAPI 3.1.02026-07-1351614.6 KB
v1

Text To Speech

post/v1/text-to-speech

Headers

authorizationstring

Request body

textstring required

The text to convert to speech

voicestring required

The voice ID to use

modelstring

The model to use for speech generation

extendedobject

Common parameters supported by many models

model_specificobject

Parameters specific to the chosen model

output_formatstring

Desired output format (mp3, wav, etc.)

Response

Successful Response

audio_urlstring required

URL to the generated audio