Shaunwei / RealChar

🎙️🤖Create, Customize and Talk to your AI Character/Companion in Realtime (All in One Codebase!). Have a natural seamless conversation with AI everywhere (mobile, web and terminal) using LLM OpenAI GPT3.5/4, Anthropic Claude2, Chroma Vector DB, Whisper Speech2Text, ElevenLabs Text2Speech🎙️🤖
https://RealChar.ai/
MIT License
5.94k stars 727 forks source link

add support for OpenAI / LocalAI TTS endpoint #489

Open wuxxin opened 9 months ago

wuxxin commented 9 months ago

https://platform.openai.com/docs/guides/text-to-speech

also, LocalAI (https://github.com/mudler/LocalAI) an OPENAI replacement for running OPENAI-API Service locally is serving an OPENAI compatible TTS Endpoint (currently implemented via piper or bark backend)

See: 🗣 Text to Audio

It would be nice if RealChar could support LocalAI/TTS, as it would allow a complete local RealChar (using local LLM, Whisper for Speech to Text, and Piper / Bark for TTS)