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

# Speech (TTS)

> Lemka TTS. One path per language.

<Info>Status: **Live / on request**. Same endpoint for every Lemka voice. English Kokoro on `/speak` is not this product.</Info>

```
POST https://<HOST>/v1/audio/speech/{language}
```

### Auth

```
Authorization: Bearer <API_KEY>
```

### Request body

| Field    | Type   | Required | Description            |
| -------- | ------ | -------- | ---------------------- |
| `text`   | string | Yes      | Text in that language. |
| `format` | string | No       | Default `wav`.         |

### Response

```json theme={null}
{
  "language": "kha",
  "audio_b64": "<base64 wav>",
  "format": "wav",
  "request_id": "req_8f2a1c"
}
```

`{language}` is one of `kha`, `grt`, `trp`, `lus`, `nag`, `mni`. A code not on your image returns `503 model_unavailable`.
