cURL
curl --request POST \ --url https://app2.freyavoice.ai/api/v2/audio/speech \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "input": "<string>", "voice": "leyla", "model": "freya-audio-v1", "response_format": "wav" } '
"<string>"
Generates speech audio from text using Freya’s speech model. (Closed Beta)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Text to synthesize
Voice to use
leyla
Freya speech model
freya-audio-v1
wav
Audio stream
The response is of type file.
file