opencompletion.com/templates
Claude d7ea04a3f9
Integrate voices endpoint with dynamic model and voice selection
Update TTS implementation to fetch available voices from the API and
support multiple TTS models:

- Add VOICES_API_URL constant for /v1/voices endpoint
- Create populateVoiceDropdown() to dynamically populate voice options
- Group voices by model using optgroups in the dropdown
- Implement voice fetching with localStorage caching (1 minute)
- Update speakText() to parse model:voice from dropdown value
- Update speakTextQueued() to use dynamic model and voice
- Add backward compatibility for legacy voice-only format
- Update both desktop and mobile voice selectors
- Add fallback to tts-1:onyx if voice fetch fails

Voice dropdown now displays all available models (tts-1, tts-1-hd,
tts-1-silero, tts-1-kokoro) with their respective voices organized
by optgroups for better UX.
2025-11-09 20:08:37 +00:00
..
base.html Refactor CSS from inline to external stylesheet 2025-11-08 18:41:56 +00:00
chat.html Integrate voices endpoint with dynamic model and voice selection 2025-11-09 20:08:37 +00:00
index.html Enhance user experience with multiple improvements 2025-08-11 16:01:51 -04:00
search.html remove username and snippet from SERP page 2024-07-04 12:04:46 -04:00