> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Speech synthesis

> Send `model`, `input`, and `voice` as JSON. Use `response_format` to select an output format supported by the model. The response contains audio bytes; check the response status before writing the result.

`POST /v1/audio/speech`

Send `model`, `input`, and `voice` as JSON. Use `response_format` to select an output format supported by the model. The response contains audio bytes; check the response status before writing the result.

Check availability in the [Model Marketplace](https://console.mixroute.ai/models) for your API key's group. A catalog listing does not guarantee that a route is enabled.

## Quick Example

* [tts](https://mixroute.ai/docs/model-api/openai/tts.md)
* [tts-hd](https://mixroute.ai/docs/model-api/openai/tts-hd.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.