Use the audio endpoints for text-to-speech (TTS) and speech-to-text (STT). Both endpoints require an API key inDocumentation Index
Fetch the complete documentation index at: https://docs.routing.run/llms.txt
Use this file to discover all available pages before exploring further.
X-API-Key or Authorization: Bearer.
Text-to-speech
POST/v1/audio/speech
Models
| Model |
|---|
route/eleven-v3 |
route/eleven-multilingual-v2 |
route/eleven-flash-v2.5 |
route/eleven-flash-v2 |
Request
mp3 is the default format.
Request body
Available voices
| Voice ID | Description |
|---|---|
JBFqnCBsd6RMkjVDRZzb | Default voice |
EXAVITQu4vr4xnSDxMaL | Another available voice |
Speech-to-text
POST/v1/audio/transcriptions
Models
| Model |
|---|
route/scribe-v2 |
route/scribe-v2-realtime |
route/scribe-v1 |
route/whisper-large-v3 |
route/scribe-v2-realtime is for real-time streaming use cases only. Do not use it for batch transcription.Request
Form fields
Response
TTS and STT models are available on Premium, Max, and Ultra plans. Each audio request consumes 5 requests from your daily quota.