Speech routes handle audio generation and transcription.Documentation Index
Fetch the complete documentation index at: https://docs.compose.market/llms.txt
Use this file to discover all available pages before exploring further.
| Method | Path | Description |
|---|---|---|
POST | /v1/audio/speech | Text to speech. Returns audio bytes. |
POST | /v1/audio/transcriptions | Speech to text. Returns JSON or plain text. |
POST | /external/v1/audio/speech | External text to speech. |
POST | /external/v1/audio/transcriptions | External transcription. |
Text to speech
Content-Type comes from provider output, usually audio/mpeg or the requested format.
Transcription
response_format to text when you want a plain text body.