Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LocalAI Support #17

Open
p0n1 opened this issue Nov 14, 2023 · 2 comments
Open

LocalAI Support #17

p0n1 opened this issue Nov 14, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@p0n1
Copy link
Owner

p0n1 commented Nov 14, 2023

Split from the issue #9 (comment).

curl http://localhost:8080/tts -H "Content-Type: application/json" -d '{
  "model":"it-riccardo_fasol-x-low.onnx",
  "backend": "piper",
  "input": "Ciao, sono Ettore"
}'

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.

LocalAI supports bark , piper and vall-e-x

If we can support LocalAI, we can support many good local TTS engines at once.

@p0n1
Copy link
Owner Author

p0n1 commented Nov 14, 2023

However, @mudler from LocalAI said it maybe compatible with the OpenAI client.

mudler/LocalAI#1276

This was referenced Nov 14, 2023
@p0n1 p0n1 added the enhancement New feature or request label Nov 14, 2023
@p0n1 p0n1 self-assigned this Nov 14, 2023
@danielw97
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants