Closed andrewjhogue closed 3 months ago
Which price tier of 11 labs are you using? Looks like they changed things up an PCM is only supported for pro tier: https://elevenlabs.io/docs/api-reference/streaming
@keepingitneil thanks for the follow-up - I'm on 11 Labs pro tier.
I've been able to get this working - but currently all of the VoiceSettings fields need to be set for it to work properly.
Non-working configuration:
Voice = elevenlabs.Voice(
id=MY_VOICE_ID,
name="Voice Name",
category="professional",
settings=elevenlabs.VoiceSettings(
stability=0.60,
similarity_boost=1.0
)
)
Working configuration:
Voice = elevenlabs.Voice(
id=MY_VOICE_ID,
name="Voice Name",
category="professional",
settings=elevenlabs.VoiceSettings(
stability=0.60,
similarity_boost=1.0,
style=0.1,
use_speaker_boost=True
)
)
Thanks for investigating and finding the cause. Closing this issue and adding a ticket on our end to make sure we have either sane defaults/or required params for this path.
With the minimal_assistant.py example, the above categories of voices don't seem to generate output properly. Instead it seems to hang for long periods of time.
Am seeing LLM chat completion requests completing successfully, which seems to suggest that STT and OpenAI are working, but no audio output.
I'm using a Macbook with M1 / Ventura 13.0.1, running Python 3.12.
elevenlabs-plugin is working correctly with "premade" voices, and also with OpenAI's TTS (though it doesn't support streaming)
Examples of non-working code:
As well as:
What I'm seeing in logs from agent running locally:
Happy to share more context as needed - awesome project!