EniasCailliau / GirlfriendGPT

Girlfriend GPT is a Python project to build your own AI girlfriend using ChatGPT4.0

Home Page:https://gptgirlfriend.online

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot Change Voice

Farathiel opened this issue · comments

Adding 11labs id and api into the api.py has no effect and unsure what else to do at this point. thank you.

I get the following error when attempting to use a known good ElevenLabs API Key:

> Finished chain.
Aborting! There was an error encountered when running: [ERROR - POST /generate] Received status code 401 from Eleven Labs. Reason: Unauthorized
(base) 

Are you using a custom voice? If you're using a generic voice you don't need your own API key.

Are you using a custom voice? If you're using a generic voice you don't need your own API key.

I was using a custom voice id. I have since switched to a generic (premade) voice instead of a generated voice, without a key. But using a custom voice with a key was not working.

I tried using a generic voice, Bella, using the voiceID listed on https://api.elevenlabs.io/v1/voices, and I get the same 401 unauthorized error. It isn't a custom voice, it's a generic default one. I put my 11labs api key in src/api.py as well. Did I do something wrong?
There should be some guides on here to help.

I got the default voice Bella to work by removing my API Key. I just wish I could add my custom voice without paying extra.