FelixWaweru / elevenlabs-node

Eleven Labs text to speech package for NodeJS. You can use the official package at: https://www.npmjs.com/package/elevenlabs
https://www.npmjs.com/package/elevenlabs-node
MIT License
165 stars 23 forks source link

Add Websocket support #50

Open hbracy opened 7 months ago

hbracy commented 7 months ago

Is your feature request related to a problem? Please describe. Websockets don't seem to be supported by this library, would be good to add.

Describe the solution you'd like A wrapper function similar to the current ones that lets you setup websockets.

Describe alternatives you've considered Simply using the raw Websocket endpoint

FelixWaweru commented 7 months ago

Thank you for the suggestion @hbracy . This will feature be added in a future update

j-menter commented 5 months ago

I am Using Websockets too and cant use this package, because the timestamps are missing. and calculated Word-durations. There are provided when talking to the api directly.