MeloTTS icon indicating copy to clipboard operation
MeloTTS copied to clipboard

Is there any way to call http APIs when install via Docoker?

Open liliang-cn opened this issue 1 year ago • 3 comments

liliang-cn avatar Apr 01 '24 04:04 liliang-cn

Maybe you can refer this https://github.com/myshell-ai/MeloTTS/pull/56

jeremy110 avatar Apr 01 '24 06:04 jeremy110

https://github.com/timhagel/MeloTTS-API-Server

I wrote this docker image for one of my projects that runs a API server for MeloTTS. It might be what your looking for.

timhagel avatar Apr 02 '24 06:04 timhagel

I successfully called the Gradio UI of MeloTTS running inside Docker as an API from outside, without any modifications to Docker, and received a voice file URL.

I'll put my Typescript code in the Gist.

https://gist.github.com/hmmhmmhm/d6944e6061b85277579396dadf102ac1

hmmhmmhm avatar Jan 24 '25 06:01 hmmhmmhm