Closed mudler closed 8 months ago
Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!
_but.... I can also be funny or helpful :smilecat: and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.
Don't engage in conversation with me, I don't support (yet) replying!
To check compatibility, you can try sending a POST request to the /tts endpoint with some text as input and see if it returns an audio file. If it does, then we are compatible with the client.
Sources:
Hi @mudler. I'm about to support to LocalAI in https://github.com/p0n1/epub_to_audiobook/issues/17. But I think the LocalAI TTS API is quite similar but not full compatible as OpenAI. The OpenAI has a voice
field and LocalAI has a backend
field.
Hi @mudler. I'm about to support to LocalAI in p0n1/epub_to_audiobook#17. But I think the LocalAI TTS API is quite similar but not full compatible as OpenAI. The OpenAI has a
voice
field and LocalAI has abackend
field.
gotta check it out then - the backend
is optional in LocalAI calls, and voice
would be silently ignored. definetly can be wired up, but I think as for now it should at least just work by configuring rhaspy as tts backend, which currently is the default in case no backend is passed by.
This is just to figure out if we are compatible with the client. From a quick look it seems we already are, but didn't tried myself yet.
https://platform.openai.com/docs/guides/text-to-speech