Skip to content

TTS: per-operation parameter and implementation index

This reference covers every route declaration discovered in the inspected service source. It complements the human-written service guides and typed model reference. Fields inferred from dictionary access are observations, not a complete validation schema. Response expressions in the route reference preserve implementation details where the handler has no declared response model.

Framework-injected Request/WebSocket parameters are not HTTP query fields. Path captures are URL encoded; scalar parameters outside the path are query parameters in FastAPI, while dict/model parameters are JSON bodies. UploadFile uses multipart form data. Flask TTS query behavior is described in its service guide.

GET /

Handler: _tts. Source: ttsserver/ttsserver/server.py:109. Behavior and examples.

Argument Location Type Default
vendor path untyped required

Explicit handler errors:

Exception("Audio file %s doesn't exist", filepath)
ex

GET /ping

Handler: _ping. Source: ttsserver/ttsserver/server.py:193. Behavior and examples.

No explicit handler arguments beyond framework state.