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

## 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`:
