HeyGen-Official / StreamingAvatarTSDemo

A typescript demo using react and the Streaming Avatar SDK
14 stars 22 forks source link

Error ElevenLabs Authentication #9

Open Pedritods opened 3 months ago

Pedritods commented 3 months ago

Hello,

There seems to be a problem authenticating with Elevenlabs using streaming avatars.

Using Heygen streaming avatar together with a voiceID imported from ElevenLabs, it is returning the following error: {"code":400009,"message":"Error calling text to speech provider: {\"detail\":{\"status\":\"invalid_api_key\",\"message\":\"Invalid API key \"}}"} I have validated that the "Elevenlabs" api-key used in 3rd party voice integration is correct. Making videos with this same ElevenLabs voiceID together with an instant avatar works. If I use a native HeyGen voiceID with the streaming avatar it also works.

This error is invoking the endpoint: POST https://api.heygen.com/v1/streaming.task

I would appreciate solving this incident as soon as possible, since my company is interested in using this technology.

Thank you very much, greetings