Generate speech from text
Generate speech using a built-in speaker voice, with optional style instruction.
sync?SyncWait for generation to complete and return audio directly
falseapplication/json- body
text*TextText to generate speech for
speaker*SpeakerSpeaker ID (e.g. 'Ryan', 'Vivian')
language?LanguageTarget language. Query GET /api/v1/models/active for supported languages per variant.
"Auto"instruct?|Optional voice style instruction
quality?|Quality/variant tier. Query GET /api/v1/models/active for available tiers.
generation_params?|Advanced sampling parameters
model_family?|TTS model to use. If omitted, uses the currently configured model.
Generation started (async) or completed result (sync).
application/json- response
started*StartedWhether the generation job was enqueued
queue_position*Queue PositionPosition in the generation queue (0 = next to run)
curl -X POST 'http://127.0.0.1:8100/api/v1/tts/generate' \ -H 'Content-Type: application/json' \ -d '{ "text": "Hello, how are you today?", "speaker": "Vivian"}'{ "started": true, "queue_position": 0}List supported languages GET
Return the list of supported TTS languages.
Transcribe audio POST
Start a speech-to-text transcription. In **async** mode (default), returns immediately with `{started: true}`. Poll `/api/v1/transcription/progress` for status and results. In **sync** mode (`sync=true`), blocks until transcription completes and returns the result directly. When `output_format=srt` and `return_timestamps=true`, returns an SRT subtitle file instead of JSON.