How do I enable generativelanguage.googleapis.com?

I already have API Access to Vertex AI, and the Python code works with the google AI SDK.

However, I’m using this with Langchain, and it requires

google.generativeai module along with a Google API Key. However I’m unable to enable

generativelanguage.googleapis.com, due to a permission denied issue. Is there any way to resolve this? Since I already have Enterprise access to Vertex AI.

1 Like

Per this SO post, the service generativelanguage.googleapis.com is in private beta at this time, you have to join a waitlist at https://cloud.google.com/ai/generative-ai

1 Like

its no longer in private beta, I am still getting the same error

1 Like