Open p0n1 opened 7 months ago
However, @mudler from LocalAI said it maybe compatible with the OpenAI client.
Hi there, I'm just curious if there is any update on getting this to work? I would personally love to be able to use local tts with project. Thanks.
Split from the issue https://github.com/p0n1/epub_to_audiobook/issues/9#issuecomment-1808120642.
LocalAI TTS API https://localai.io/features/text-to-audio/ is defined even before the release of OpenAI. I think It's not full compatible with OpenAI TTS API https://platform.openai.com/docs/guides/text-to-speech because they are using different voices and models.
So changing the base url of OpenAI SDK to LocalAI instance will not work for TTS feature.
If we can support LocalAI, we can support many good local TTS engines at once.