latestOpenAPI 3.1.02026-08-221247.4 KB

2745da4b9304

speech
tts

Synthesize

One-shot TTS over HTTP: POST text, stream back audio or NDJSON events.

Auth is header-only (x-api-key / token query param) via authenticate; unlike the old post-proxy we don't read the key from the request body.

post/speech/tts

Request body

textstring required
voicestring nullable
voice_idstring nullable
output_formatstring
model_namestring
only_audioboolean

Response

Successful Response

{"stackTrail":"paths:/speech/tts:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}