API Overview & Authentication
OneTTS implements OpenAI-compatible RESTful endpoints.
🔑 Authentication
All endpoints require authentication via either:
Authorization: Bearer <API_KEY>X-API-Key: <API_KEY>
📡 Endpoint Summary
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/audio/speech | Synthesize speech (OpenAI Standard) |
GET | /v1/audio/voices | List all available voices |
GET | /v1/models | List active models |
GET | /v1/providers | Query provider engine status |
GET | /health | Healthcheck endpoint |
