Skip to content

API Overview & Authentication ​

OneTTS implements OpenAI-compatible RESTful endpoints.


🔑 Authentication ​

All endpoints require authentication via either:

  1. Authorization: Bearer <API_KEY>
  2. X-API-Key: <API_KEY>

📡 Endpoint Summary ​

MethodEndpointDescription
POST/v1/audio/speechSynthesize speech (OpenAI Standard)
GET/v1/audio/voicesList all available voices
GET/v1/modelsList active models
GET/v1/providersQuery provider engine status
GET/healthHealthcheck endpoint

Released under the Apache-2.0 License.