Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Gemini 1.5 Pro

How can I get access to Gemini 1.5 Pro API (I already have access to it on MakerSuite, but not the API)?

11 REPLIES 11

search for ai studio online and you will get api access

I cannot find it, the  "Get Code" button does not work.

Screenshot 2024-03-13 at 6.00.04 AM.png

Can you please post that API here, if you have found

To gain access to the Gemini 1.5 Pro API, you typically need to follow these steps:

  • Sign Up for Gemini Pro Account: Ensure you have a Gemini Pro account. If you're already using MakerSuite, you might be halfway there since MakerSuite likely provides integration with Gemini. If you're not sure, contact the MakerSuite support team for clarification.
  • Request API Access: Once you have a Pro account, you'll need to request access to the Gemini API. This often involves filling out a form on their website or contacting their support team directly.
  • Provide Necessary Information: You may need to provide certain information such as your account details, intended use of the API, and any specific requirements you have. Be prepared to explain why you need API access and what you plan to do with it.
  • Receive API Credentials: Once your request is approved, you should receive API credentials such as an API key and secret. Keep these credentials secure and don't share them with anyone unauthorized.
  • Integrate API into Your Application: With your API credentials in hand, you can now integrate the Gemini API into your application or platform. Follow the documentation provided by Gemini to understand how to authenticate your requests and utilize the various endpoints available through the API.

Before deploying your application or platform with the Gemini API integration, thoroughly test it to ensure everything is working as expected. This helps identify and resolve any issues before they impact users.

I cannot find anything in Makersuite about “Gemini Pro”. I also have not found a way to contact MakerSuite to get API access. Would you mind elaborating on the first steps for getting access to the Gemini 1.5 Pro API (has not been released, but I am inquiring to get access)?

@Poala_Tenorio, what to put in the URL in place of "v1beta"?

curl https://generativelanguage.googleapis.com/v1beta

Thank you very much.

 

 

Hey, isn't there only Gemini 1.0 available through the API at the moment https://ai.google.dev/models/gemini

Where can I sign up Gemini pro account? Can anyone mention the direct to the link or something to explore?

 

In AI Studio I got access of Gemini 1.5 Pro, but It not working with API

I am trying :

model = genai.GenerativeModel('gemini-1.5-pro-latest')
%%time
response = model.generate_content("What is the meaning of life?")


it is generating issue :

NotFound: 404 POST https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:generateContent?%24alt...: models/gemini-1.5-pro-latest is not found for API version v1beta, or is not supported for GenerateContent. Call ListModels to see the list of available models and their supported methods.

Gemini 1.5 Pro is not yet available through API (as of 15 March 2024) and only accessible through AI studio. Only 1.0 is available through API. You can always listmodels before making an API request to check which ones are available (as of today, its through v1beta)

Any updates here? Why Google is advertising access to Gemini 1.5 Pro API if it's not really an API?