admin

Preview Tts Voice

Generate a short audio preview of a TTS voice.

Accepts the new provider/voice_id form, and the legacy model parameter (interpreted as Deepgram) until the admin UI is updated.

If text is provided, that phrase is rendered through the chosen voice — this is how the admin phrase-tester auditions arbitrary text (punctuation, emphasis markup, etc.) against any voice + language. If text is absent, the canned PREVIEW_TEXTS[lang] greeting is used (preserving the legacy voice-picker preview behavior).

get/v1/admin/system/tts-preview

Query parameters

langstring required

Language code, e.g. en

Language code, e.g. en

providerstring nullable

Provider name (deepgram, elevenlabs, …)

Provider name (deepgram, elevenlabs, …)

voice_idstring nullable

Provider-specific voice id

Provider-specific voice id

modelstring nullable

Legacy: full Deepgram model id

Legacy: full Deepgram model id

textstring nullable

Optional phrase to render. When provided, replaces the canned per-language preview text. Used by the admin phrase-tester.

Optional phrase to render. When provided, replaces the canned per-language preview text. Used by the admin phrase-tester.

Response

Successful Response

{"stackTrail":"paths:/v1/admin/system/tts-preview:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.