Create audio generation request
Generate audio from input text
Authorizations
Body
The name of the model to query.
See all of Together AI's chat models The current supported tts models are: - cartesia/sonic - hexgrad/Kokoro-82M - canopylabs/orpheus-3b-0.1-ft
cartesia/sonic, hexgrad/Kokoro-82M, canopylabs/orpheus-3b-0.1-ft "canopylabs/orpheus-3b-0.1-ft"
The voice to use for generating the audio. The voices supported are different for each model. For eg - for canopylabs/orpheus-3b-0.1-ft, one of the voices supported is tara, for hexgrad/Kokoro-82M, one of the voices supported is af_alloy and for cartesia/sonic, one of the voices supported is "friendly sidekick".
You can view the voices supported for each model using the /v1/voices endpoint sending the model name as the query parameter. View all supported voices here.
hexgrad/Kokoro-82M additionally supports voice mixing, where two or more voices are combined into a single blended voice by joining their names with + (e.g. af_bella+af_heart). Optional per-voice weights can be provided in parentheses (e.g. af_bella(2)+af_heart(1)). Other models require a single voice name.
Audio encoding of response. Only applicable when response_format is raw or pcm. Cartesia models respect this parameter and support all values. Orpheus, Kokoro, and Minimax models always return pcm_s16le regardless of this setting.
pcm_f32le, pcm_s16le, pcm_mulaw, pcm_alaw Bitrate of the MP3 audio output in bits per second. Only applicable when response_format is mp3. Higher values produce better audio quality at larger file sizes. Default is 128000. Currently supported on Cartesia models.
32000, 64000, 96000, 128000, 192000 Response
OK
The response is of type file.