OpenAI-compatible

Text to speech (OpenAI-compatible)

Streams audio. Unknown voice answers 400 unknown_voice with the list of voices.

post/api/v1/audio/speech

Request

  • Base URL: https://api.llm-broker.net
  • URL: https://api.llm-broker.net/api/v1/audio/speech
  • Auth: API key in header Authorization

Request body

inputstring required
languagestring
response_format'mp3' | 'opus' | 'aac' | 'flac' | 'wav' | 'pcm'
voicestring

Response

Audio (mp3 by default; wav/pcm stream)

Changes

No recorded changes to this operation across all 1 revision of this API.