Voxta docs

Remote TTS (HTTP API)

Bring your own TTS server by describing its HTTP request to Voxta with a URL and body template.

The Remote TTS service connects Voxta to a TTS server it has no module for. You describe the HTTP request your server expects, and Voxta fills in the text, language and voice for each line.

Setup

Have a TTS server running

Any server that returns audio for an HTTP request: a self-hosted engine or a third-party API.

Add to Voxta

Add Modules → Services → Remote TTS (HTTP API) → Install, then follow the install steps. Only an administrator can install it, since its URL can point at anything the Voxta server can reach.

Settings

SettingNotes
Request Url TemplateThe full URL that returns the audio. Supports variables such as {{ text }}, {{ culture }} and voice parameters.
Request Content Type, Request BodyFor a POST: the body, with {{ text }}, {{ culture }}, {{ language }} and any field you define on the voices.
Request HeadersHeader names and values, e.g. an API key.
Audio Content TypeThe returned audio's type, such as audio/wav or audio/mpeg. Force Conversion converts it even when the client could play it.
Stream Audio (PCM)Plays the audio as it arrives. The endpoint must answer with raw 16-bit PCM and not buffer its response. Set Streaming Sample Rate and Streaming Channels to match.
VoicesOne JSON line per voice: { "label": "Voice Name", "parameters": { "field": "value" } }. Each field becomes a {{ field }} variable. Or set Voices Url and Voices Format to fetch the list from the server.
Default Male / Female VoiceMatched against the voice list.

On this page