-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error: Cannot find module 'tls' #35
Comments
I have the same problem. Other people have the same problem, see: #32 (comment) I have tried a lot of different things, but nothing has worked so far. I am looking into elevenlabs API now, since they also seem to support input text and output audio streaming. |
@ttanida I end up implementing all the calls using axios. I could successfully get the list of voices (V1) but apparently the text to speech endpoint doesn't work with a free account anymore. As per: https://docs.play.ht/discuss/65e4b810845339000fd46959 It's frustrating because I would like to test it before paying for it. |
@yuripourre, you could try the Hacker plan, I think it is a reasonable price for trying out the API (https://play.ht/pricing/). The problem with using axios for me is that, if I see correctly, I can't do input text streaming that way (only output audio streaming), since I have to send the whole text in the call. So I could just use the openAI TTS API instead, which also supports audio streaming (and I found the openAI voices to be better than playht). Also, there is a 25 RPM rate limit on the API endpoint, which would be too low for my use case. |
@AbdelhamidGamal Can you please take a look at this one? Thanks! |
That's right, it doesn't support stream. But for my use case is good enough. |
Hello, I am following the steps in the documentation.
I am trying to add PlayHT to a project using next.js and webpack 5 but I am getting this error when I tried to call the listVoices method.
I get this error:
I tried this config but it didn't work:
Do you guys have any ideas what I am doing wrong?
Edit:
I just found this link from someone with the same problem
https://stackoverflow.com/questions/77830195/playht-integration-with-nextjs
The text was updated successfully, but these errors were encountered: