Text To Speech (AI Powered)
The Audio API provides a speech endpoint based on OpenAI's TTS (text-to-speech) model. It comes with 6 built-in voices and can be used to: - Narrate a written blog post - Produce spoken audio in multiple languages - Give real time audio output using streaming
Text To Speech (AI Powered) endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
Speech (Normal) /api/text-to-speech/speech-normal |
The latest text to speech model, optimized for **speed**. |
| POST |
Speech (HD) /api/text-to-speech/speech-hd |
The latest text to speech model, optimized for **quality**. |