# Speech and Voices (/reference/public-api/speech)

## Choose a voice [#choose-a-voice]

<Steps>
<Step>
### List providers [#list-providers]

`GET /api/v1/providers` returns each enabled provider's `id`, `name`, `type`, `models`, `defaultModel`, `selected`, `selectedModel` and `acceptsCustomModel`. Keys and base URLs are never included.
</Step>

<Step>
### List voices [#list-voices]

`GET /api/v1/voices` follows the caller's saved provider and model, then the instance default. `provider` and `model` select others, within the administrator's policy.
</Step>
</Steps>

| `status` | Meaning |
| --- | --- |
| `listed` | The provider named these voices |
| `defaults` | It has no voice list; these are its standard voices |
| `unreachable` | It did not answer, so the voices are unconfirmed |

Voice IDs are the provider's own strings, stable within that provider and model. They are not global names. The caller's cloned voices start with `clone:`.

### Voices with audio [#voices-with-audio]

`GET /api/v1/documents/{id}/cached-voices` lists the voices a document already has audio for, newest first, with the `modelSpeed` it was made at, its `segments` and its `durationMs` at 1x. An audiobook naming the same provider, model, voice and `modelSpeed` reuses that audio.

Voices whose audio no longer matches the reading settings, or whose provider is disabled, are left out.

## Speak text [#speak-text]

```bash
curl -H "Authorization: Bearer $TOKEN" \
  -H 'Content-Type: application/json' \
  --data '{"text":"Hello there."}' \
  --output hello.mp3 \
  https://reader.example/api/v1/speech
```

`POST /api/v1/speech` needs `audio:generate` and returns `audio/mpeg` for up to 2000 characters.

It speaks with the saved provider, model, voice and speed. Optional `provider`, `model`, `voice` and `modelSpeed` (0.5 to 3) select others, under the same rules as an [audiobook](/reference/public-api/audiobooks).

Characters count against the caller's speech limits. Nothing is saved: the audio is not cached and does not appear in the library. Split longer text and request it in order.