#API changed how to set key?

1 messages · Page 1 of 1 (latest)

rotund hatch
#

I'm getting an error on this line that used to work before:

elevenlabs.set_api_key(keys["elevenlabs"])

AttributeError: module 'elevenlabs' has no attribute 'set_api_key'

But I haven't seen any notices about recent changes to the API. What changed and how should I set the key now?

jolly heron
rotund hatch
#

@jolly heron Yeah I'm not sure why there wasn't an announcement on discord or an email or something but they did change the API and the migration instructions are on github

granite laurel