# MiniMax 语音合成（原生同步）

使用 MiniMax T2A 原生同步 HTTP 请求格式。传入 XRToken 密钥，`model` 可使用 `minimax/speech-2.8-hd` 或 `minimax/speech-2.8-turbo`，可用性以模型列表为准。
支持 `voice_setting`、`audio_setting` 等原生参数；`output_format` 可选 `hex` 或 `url`。仅支持 `stream: false`，流式接口尚未接入。单次文本少于 10,000 字符。
仅支持官方系统音色，暂不支持复刻或设计的自定义音色。

## POST /v1/t2a_v2

> MiniMax speech synthesis (native synchronous)

Use the MiniMax T2A native HTTP request format with an XRToken API key. Models are `minimax/speech-2.8-hd` and `minimax/speech-2.8-turbo`, subject to availability in the model list.
Native options such as `voice_setting` and `audio_setting` are accepted; `output_format` can be `hex` or `url`. Only `stream: false` is supported. Text must be fewer than 10,000 characters.
Only provider system voices are supported; cloned and designed voices are not available.

### Authentication

`Authorization: Bearer tr-xxx`

### Request Body

Content-Type: `application/json`

- **model** `string` **(required)**  
  
- **text** `string` **(required)**  
  
- **stream** ``false`` (default: `false`)  
  
- **output_format** ``hex` | `url`` (default: `hex`)  
  
- **voice_setting** `object` **(required)**  
  
- **voice_setting.voice_id** `string`  
  
- **voice_setting.speed** `number`  
  
- **audio_setting** `object`  
  
- **audio_setting.format** `string`  
  

### Response

### Error Codes

- `400`: 
- `401`: 
- `402`: 
- `502`:
