Quick config
What your server must support
Add a custom TTS in the dashboard
Open Integrations

The Custom TTS card on Settings → Integrations, under the TTS filter
Fill in the details
- Voice: the voice name your server accepts, for example
vivian - Model name: the model your server serves, for example
Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice - Endpoint URL: your OpenAI-compatible base URL, including
/v1 - API key: the bearer token your server expects. Leave it empty if your server has no authentication.
Save
What is checked when you save
Registration is refused when Bolna can prove the configuration is wrong:- The endpoint URL must be public. Private and local network addresses are rejected.
- If the endpoint rejects the API key, you get
The endpoint rejected this API key. - Each voice name can be added only once. A duplicate is refused with
A custom TTS with this voice already exists.
Use it on an agent
Open the agent, go to the Languages tab, choose custom as the voice provider and model, then pick your voice. Use the play button to hear a preview, then save the agent. The agent sends the model name you registered with the voice, so the model shown in the agent stays custom. If your server takes request fields Bolna doesn’t send, such as a language or delivery instructions, or you want a different speaking speed, open Advanced settings under the voice and switch on Extra request params. See Extra request params.Key settings
Extra request params
Many TTS servers accept request fields that Bolna doesn’t send, such as a language, delivery instructions or a seed for repeatable output, or take a different range for standard fields likespeed. Set any of them in extra_body and Bolna adds them to every request it sends to your server.
speed set to 1.2 instead of 1.0, plus language and instructions.
Common examples:

Extra request params under the voice's Advanced settings, shown when a custom TTS voice is selected
extra_bodyis not a JSON object- it sets a field Bolna controls:
model,voice,input,response_formatorstream_format
How it behaves on a call
- Latency: the caller hears each sentence once your server has finished rendering it, so keep the server fast, warm and close to your callers.
- Call timeline: each reply shows when speech started, when the first audio arrived and when it ended, like the other providers.
- Interruptions: callers can interrupt the agent, as with any provider.
- Errors: a rejected key, an unknown voice, a request param your server rejects, a server error or a timeout ends the call, and the reason appears in the call’s logs. If the agent’s voice no longer exists for the account, the call is stopped before it starts, with status
errorandCustom TTS voice '<voice>' isn't configured for this account.
Manage your voices
Delete a voice from its card on the Integrations page. A voice that is still selected on an agent cannot be deleted: the error names the agents using it, so you can point them at another voice first. Deleting a voice also removes the stored API key.Sub-accounts
A custom TTS belongs to the scope it was created in:- A voice added on your main account is available to the account and to all of its sub-accounts.
- A voice added inside a sub-account is available only in that sub-account. It is not visible to the main account or to other sub-accounts, and only that sub-account can delete it.
Add a custom TTS over the API
custom_tts_key as an empty string if your server has no authentication. See Add a custom TTS for the full request and response schema.
When to use a custom TTS vs a hosted provider
Use a custom TTS when:- You run a fine-tuned or open-weight voice model that no hosted provider offers
- The audio or the traffic has to stay on your own infrastructure
- You already have a contract with a TTS provider and want the usage billed to it directly
- You want the lowest time to first audio, since hosted providers stream audio as it is generated
- You need a multilingual agent with a different voice per language
- You would rather not own capacity planning, cold starts and upgrades
FAQ
Does my server need to stream audio?
Does my server need to stream audio?
Can one entry hold several voices?
Can one entry hold several voices?
Can I use a custom TTS in a multilingual agent?
Can I use a custom TTS in a multilingual agent?
What happens if my server has scaled to zero?
What happens if my server has scaled to zero?
Who bills me for the speech?
Who bills me for the speech?
Can I point an agent at a server on a private network?
Can I point an agent at a server on a private network?
Related
- Text-to-speech providers: every hosted voice provider
- Bring your own model: use your own OpenAI-compatible LLM
- Connect provider credentials: use your own account with a hosted provider