> ## 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.

# 語音合成

> 以 JSON 傳送 `model`、`input` 和 `voice`。用 `response_format` 選擇模型支援的輸出格式。回應為音訊位元組，儲存前請檢查回應狀態。

`POST /v1/audio/speech`

以 JSON 傳送 `model`、`input` 和 `voice`。用 `response_format` 選擇模型支援的輸出格式。回應為音訊位元組，儲存前請檢查回應狀態。

請在 [MixRoute 模型廣場](https://console.mixroute.ai/models) 確認金鑰分組的可用性。列入目錄不代表路由已開放。

## 快速範例

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


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