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
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
text
string
required

String that needs to be converted to audio

provider
enum<string>
required

Voice provider

Available options:
polly,
elevenlabs,
deepgram
provider_config
object
required

Voice provider options

Response

200 - application/json
data
string

Base64 encoded audio string