EmotiVoice
EmotiVoice copied to clipboard
TTS API Support?
It's a great project! Is there any plan to have a support API interface?
Thank you for your suggestion. Could you please specify the type of API? Are you referring to a web API, a Python API, or something else?
python api is enough like the demo, I think we can use it like a simple api
e = EmotiVoice()
e.generate_tts(“你好”, voice_id=200)
e.save("a.mp3")
OK, got it!
如何使用JSON api调用呢?
python api is enough like the demo, I think we can use it like a simple api
e = EmotiVoice() e.generate_tts(“你好”, voice_id=200) e.save("a.mp3")
I think this API format is very convenient to use, but can the current version be used like this? I tried creating a new script to try this, but EmotiVoice() seems to have not been found.
Apologies, EmotiVoice currently does not have a Python API, but we are considering its inclusion in a future version. Additionally, we are actively developing an HTTP API to facilitate easy access without the need for environment setup.