Voice
Generate TTS Sample API
Generate audio from text using various voice providers, enhancing your Bolna Voice AI agent vocal capabilities.
POST
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
String that needs to be converted to audio
Voice provider
Available options:
polly
, elevenlabs
, deepgram
Voice provider options
Response
200 - application/json
Base64 encoded audio string
Was this page helpful?