POST
/
models
/
v2
/
facebook
/
mms-tts-eng
curl --request POST \
  --url https://api.bytez.com/models/v2/facebook/mms-tts-eng \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "json": false,
  "text": "Hello"
}'
{
  "output": "https://api.bytez.com/audio/1234567890"
}

Authorizations

Authorization
string
header
required

Provide your API key as Key your-key-here in the Authorization header.

Body

application/json
text
string
required

Input text to convert to speech.

Example:

"Hello"

json
boolean

Flag to determine if the response is JSON formatted.

Example:

false

Response

200 - application/json
Successful response with the generated audio link.
output
string

Generated audio link or string.