Skip to main content
POST
Text To Speech

Query

model
string
default:"openai/whisper"
required
The model to be used;

Body

audio
file
required
Audio file
temperature
float
default:"0.0"
temperature to use for sampling
translate
boolean
default:"False"
Translate the text to English when set to True
initial_prompt
string
optional text to provide as a prompt for the first window.
condition_on_previous_text
boolean
default:"True"
if True, provide the previous output of the model as a prompt for the next window; disabling may make the text inconsistent across windows, but the model becomes less prone to getting stuck in a failure loop.