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
OpenAI TTS Support #9
Comments
Yes. I am trying. |
Oh boy that was fast 😱 |
Here's my feedback: https://pastebin.com/HKqTZH4k |
@iconoclasthero Yes, I think OpenAI doesn't provide a free quota for TTS. You may have to add your credit card or add some credits. You can you the --preview option to get an overview of books. Like '2023-11-10 13:47:19 [INFO] ✨ Total characters in selected chapters: 565900 ✨'. |
Hi! love the project. I've been following it for a bit over on reddit. |
@smeehee88 Sure. I can add an option for custom OpenAI base url. Haven't try LocalAI or something similar. I'm very interested in the LocalAI results, especially on OpenAI TTS compatibility and performance. |
@smeehee88 I just found the localai TTS is totally different from OpenAI in their API. https://localai.io/features/text-to-audio/ So just changing the base URL of OpenAI API/SDK will not work. |
This is from their documentation: https://localai.io/basics/getting_started/#python Assuming I'm understanding this properly, we should already be able to use LocalAI for this just by setting that environment variable, for example, in our docker containers. |
We could move discussion on LocalAI support to #17. |
@YaibaToKen Not yet I think. |
Hi @p0n1 here my feedback for the current version: gave me this: Running with python (venv) gave me this error: Besides from that it works like a charm 🚀 |
Thank you @Madnex! For docker, the For python package, did you use python with version bellow Thanks again for your detailed report. Really helped a lot! |
Thanks a lot for the fix! Docker is working now as expected 🚀 And for python it was 3.9.6 actually. Might indeed be because of that. Great work! |
Closing as it is implemented 🚀 |
Hi! Awesome project :)
Any plans to support TTS by OpenAI as well?
The text was updated successfully, but these errors were encountered: