Skip to Content
Text-to-Speech

Text-to-Speech

POST /v1/audio/speech

Convert text to spoken audio. Compatible with OpenAI’s TTS API.

Request

{ "model": "openai/tts-1", "input": "Hello from PickLayer TTS", "voice": "alloy", "format": "mp3" }

Parameters

ParameterTypeDescription
modelstringTTS model (e.g., openai/tts-1, openai/tts-1-hd)
inputstringText to convert to speech
voicestringVoice to use (e.g., alloy, echo, fable, onyx, nova, shimmer)
formatstringOutput format (mp3, opus, aac, flac, wav, pcm)

Supported Providers

  • OpenAI - tts-1, tts-1-hd
  • AWS Polly - Multiple voices and languages
  • Azure Speech - Neural voices
Last updated on