POST
v1
/
replicate
/
tts

Query

model
string
default: "lucataco/xtts-v2"required

The voice model to be used;

Body

text
string
required

Text to synthesize

speaker
file
required

Original speaker audio (wav, mp3, m4a, ogg, or flv)

language
string
default: "en"

Output language for the synthesised speech

cleanup_voice
boolean
default: "False"

Whether to apply denoising to the speaker audio (microphone recordings)