elevenlabs-api icon indicating copy to clipboard operation
elevenlabs-api copied to clipboard

Generate and GenerateStream take about the same time

Open Dustinhoefer opened this issue 9 months ago • 0 comments

Shouldn't generateStream be a lot faster than generate?

voice.generate("This is a small test. Can this test be any faster? Can the speech be generated faster?"); -> 1700-1800ms

voice.generateStream("This is a small test. Can this test be any faster? Can the speech be generated faster?"); ->1700ms to generateStream, 120ms to read all data from Stream = 1820ms

Is the streaming endpoint not used correctly or something? :)

Dustinhoefer avatar May 26 '24 17:05 Dustinhoefer