Closed netw0rkf10w closed 4 months ago
You are using ? instead of & in the wss url
uri = f"wss://api.elevenlabs.io/v1/text-to-speech/{voice_id}/stream-input?model_id=eleven_multilingual_v2&optimize_streaming_latency=3"
@aamoronatti thanks for root causing the issue! Looks like it was unrelated to the SDK itself.
Hello,
In your websockets documentation, it is stated that
optimize_streaming_latency
can be used a query parameter. However, when adding?optimize_streaming_latency=3
to myuri
as follows:I obtained the following errrors:
Is this a bug or did I do something wrong please?
Thank you in advance for your reply!