No audio on Open WebUI + Kokoro-FastAPI #11
-
I have a working Kokoro-FastAPI installation working under Open WebUI under Docker under Win 11. Using localhost:3003 works - that is, I see a functioning page which responds to supplying a PDF, and opening it. OpenReader moves through the pages of a PDF doc, starting with a greyed lines at the top, ending with a greyed line at the bottom, but no audio. I've tried this with Kokoro-FastAPI running and not running - no difference. The installation appears to have run OK:
The list of voices doesn't fit the form l{f|m}_name and it certainly doesn't have all the names available through Kokoro-FastAPI. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The project should work with Kokoro-FastAPI. Are you setting the correct API base url in the settings? If both Kokoro-FastAPI and my app are in docker containers, then you might want to try setting the Kokoro base URL to The error you are getting is because your API is not responding, so it keeps skipping to the next sentence. My public live demo is currently using Kokoro-FastAPI v0.2.0, just updated it yesterday. I have now tested the Docker container and can confirm it works using a local Kokoro-FastAPI on |
Beta Was this translation helpful? Give feedback.
-
Setting OpenAI API Base URL to |
Beta Was this translation helpful? Give feedback.
The project should work with Kokoro-FastAPI.
Are you setting the correct API base url in the settings? If both Kokoro-FastAPI and my app are in docker containers, then you might want to try setting the Kokoro base URL to
http://host.docker.internal:8880/v1
, if you already triedhttp://localhost:8880/v1
.The error you are getting is because your API is not responding, so it keeps skipping to the next sentence.
My public live demo is currently using Kokoro-FastAPI v0.2.0, just updated it yesterday.
I have now tested the Docker container and can confirm it works using a local Kokoro-FastAPI on
http://localhost:8880/v1