User
TTS sample
Generate audio for a given text
POST
/
tts
/
generate
Generating text-to-speech samples using APIs is currently live for Enterprises only.
We are slowly rolling it out to all users.
Please contact us at founders@bolna.dev for activation.
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
text
string
requiredString that needs to be converted to audio
provider
enum<string>
requiredVoice provider
Available options:
polly
, elevenlabs
, deepgram
provider_config
object
requiredVoice provider options
Response
200 - application/json
data
string
Base64 encoded audio string
Was this page helpful?