API Reference

Create a Sample

If you set the format query argument to wav or the Accept header to audio/wav, this request will redirect you immediately to the synthesized audio file, rather than returning the JSON metadata with audio URL. The metadata will still be created and available via the List Samples endpoint. Make sure your client or HTTP request library is set up to follow redirects!

Streaming download/playback example

A Python script which does text-to-speech using XTTS and streams the audio download/playback is available here: https://gist.github.com/reuben/5f483772864c1ac9687ba1c7aa3cb11f

Language
Credentials
Bearer
Click Try It! to start a request and see the response here!