Text-to-Speech

Converts text into natural-sounding speech using Freya's TTS model. Returns a binary audio file. Supports the following emotion tags: [pause], [eee], [throat clearing], [mm-hmm], [laughter], [deep breath], [hmm], [cough], [breath]

post/v1/audio/speech

Request

  • Base URL
    https://tts.freyavoice.ai
  • Auth
    HTTP bearer

Request body

inputstring required

The text to synthesize audio for.

voice'leyla' | 'zeynep' | 'alev' | 'ali' | 'alper' | 'mustafa' required

The voice ID to use.

response_format'mp3' | 'opus' | 'aac' | 'flac' | 'wav' | 'pcm'

Response format for the API request.

model'tts-1' | 'tts-1-hd'

Quality preset. tts-1 is faster; tts-1-hd is higher quality.

Response

Audio file generated successfully.

Changes

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