Is elevenlabs v3 support out? Im getting an API er...
# agents
m
Is elevenlabs v3 support out? Im getting an API error when model is set to 'eleven_v3'
q
Are you getting a
403 error
too? I'm getting a 403 error. I'm a Pro plan user and I'm still getting a 403 error...
Copy code
livekit.agents._exceptions.APIStatusError: Invalid response status (status_code=403, request_id=29f13c5d0cf6, body=None, retryable=False)
m
Yup the same. I tried simply using the api for text to speech use cases with v3 and its working. So its not an api key issue
@refined-appointment-81829 @jolly-air-155 any thoughts?
d
This model is not supported with websockets, you can use StreamAdapter for running it. It has high latency, and is unstable. Not recommend for realtime use cases.
Copy code
session = AgentSession(
        stt=deepgram.STT(),
        llm=openai.LLM(),
        tts=StreamAdapter(tts=elevenlabs.TTS(**kwargs)),
        vad=silero.VAD.load(),
        turn_detection=EnglishModel(),
    )
b
For the elevenlabs v3, is there anyway to fix it until right now?
r
What issue are you having?
m
the stream adapter part from @dry-leather-74420 did the job for me
b
raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._exceptions.APIError: no audio frames were pushed for text: Bonjour ! Comment puis-je vous aider aujourd’hui ? (body=None, retryable=True)
I got this APIError when i using model="eleven_v3",