POST
Synthesise speech

Authorizations

Authorization
string
header
required

API token from the Voho console. Begins with voho_sk_live_.

Body

application/json
text
string
required

Text to speak. Maximum 5,000 characters.

Maximum string length: 5000
Example:

"أهلاً بك في فوهو"

voice
string
required

Voice ID from the catalog.

Example:

"layla"

model
enum<string>
default:sada-1
Available options:
sada-1,
nabra-1
format
enum<string>
default:mp3

Overrides the Accept header when both are present.

Available options:
mp3,
wav,
opus,
mulaw
sample_rate
integer

Defaults to the format's native rate (24000, or 8000 for mulaw).

speed
number
default:1

Speaking rate. Below 1.0 is slower.

pitch
number

Pitch adjustment. Only applies to nabra-1; sada-1 ignores it.

Response

Audio bytes.

The response is of type file.