#π Real undefinable Error
11 messages Β· Page 1 of 1 (latest)
@bronze drift
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
You are using a tutorial for the old version of the elevenlabs api.
The simplest thing to do would be to use requests and follow the code snippets in the official documentation: https://elevenlabs.io/docs/api-reference/text-to-speech
The api client on pypi is autogenerated using some magic directly based on this api anyway.
Can you explain more?
This won't work anymore elevenlabs.generate. The code no longer exists in this form.
You want to take and edit the snippet where it says 'Audio Generation' on that page.
requests is the most common http client for python. You install it using pip.
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.