Legs
Synthesize speech and play it on a leg
Synthesizes the provided text using the configured TTS provider and plays the audio on the leg. When TTS_CACHE_ENABLED=true, identical requests (same text, voice, model, language, and prompt) are stored on disk in TTS_CACHE_DIR and persist across restarts, without calling the external provider.
post/legs/{id}/tts
Request body
Response
TTS playback started