Text to Speech [BETA]
A request object for generating speech audio from text. This object contains suggested parameters to generate audio from the specified model. Many of the parameters are optional, and it is recommended to set them only if needed; however, you may include other parameters as required. Note that not all providers support the same set of parameters. Adding unsupported or unnecessary parameters can cause requests to fail or limit the providers able to process them.
The TTS model to use for speech generation.
chatterbox-turboThe text to generate audio for.
Hello, this is a text-to-speech test.The voice to use for speech generation. Voice options are provider-specific (e.g. Tensorix: "Emily.wav", Mistral: "en_paul_neutral").
The audio format of the output. Supported formats are provider-dependent.
mp3, wav, opusThe speed of the generated audio. The accepted value range differs per provider. Not all providers support this parameter.
1The provider preference for handling the request.
The providers that are allowed to be used for the request.
["mistral","tensorix"]Whether to consider only providers based and regulated within the EU. Even when false, all our endpoints are GDPR compliant.
falseWhether to allow quantized endpoints.
trueWhether to use only ZDR providers.
Whether to allow model fallback when a model is currently unavailable.
Alternative models to fall back to if the primary model is unavailable.
["voxtral-mini-tts-2603"]The audio file content. The format depends on the requested response_format.
Internal server error.
Last updated