POST
v1
/
replicate
/
tts
Text To Speech
curl --request POST \
  --url http://localhost:9000/api/v1/replicate/tts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'text=<string>' \
  --form 'language=<string>' \
  --form cleanup_voice=123

Query

model
string
default:"chenxwh/openvoice"
required
The voice model to be used;

Body

audio
file
required
Input reference audio
text
string
required
Input text
language
string
default:"EN_NEWEST"
The language of the audio to be generated
cleanup_voice
float
default:"1"
Set speed scale of the output audio