Commit graph

5 commits

Author SHA1 Message Date
372c6a5d3f Add /v1/models endpoint for voice discovery
- Modified openedai.py to allow speech.py to define custom /v1/models
- Endpoint returns comprehensive model info including:
  * All available voices per model
  * Voice count
  * Engine name (piper, xtts, silero, kokoro)
  * Sample rate
  * Description
- Supports all 4 TTS engines:
  * tts-1 (Piper): 55 voices @ 22050 Hz
  * tts-1-hd (XTTS): 8 voices @ 24000 Hz
  * tts-1-silero (Silero): 148 voices @ 48000 Hz
  * tts-1-kokoro (Kokoro): 34 voices @ 24000 Hz

This enables frontends to dynamically discover available voices
and their supported models without hardcoding voice lists.

🦝 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 13:51:59 -05:00
matatonic
18c73ce827 0.12.3 - additional logging details for 400's 2024-06-17 12:32:55 -04:00
matatonic
f21ed56a00 0.12.0 - Improved errors & logging, swap alloy default voice
closes #3, re: #11
2024-06-16 23:35:11 -04:00
matatonic
6864cf03b1 0.10.0 2024-04-26 20:42:33 -04:00
matatonic
98d1968af6 prebuilt docker, cleanup and docs. 2024-03-23 14:52:51 -04:00