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).
Request
- Base URLhttps://api.roxels.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Language code, e.g. en
Provider name (deepgram, elevenlabs, …)
Provider-specific voice id
Legacy: full Deepgram model id
Optional phrase to render. When provided, replaces the canned per-language preview text. Used by the admin phrase-tester.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.