•   about 2 years ago

Getting access to gemini 1.5 api

Hi hackathon team,

I'm developing an app for the hackathon and I need access to gemini 1.5 via API.
I submitted the form last week but haven't heard back.
Can you please check if it can be approved, as my app relies on a larger context window.

Thank you!
Liza

  • 9 comments

  •   •   about 2 years ago

    Same here.

  •   •   about 2 years ago

    Wondering about this as well

  •   •   about 2 years ago

    Me also

  •   •   about 2 years ago

    Another 'Same here'.

  • Manager   •   about 2 years ago

    Hi there, I am checking with the Google team and will let you know as soon as I hear back from them.

  •   •   about 2 years ago

    @Dani, I was trying to request access to Gemini 1.5 API Pro. However, the forms are not taking more requests. Is closed.

  •   •   about 2 years ago

    Happy to update that the API now works.
    ```
    curl \
    -H 'Content-Type: application/json' \
    -d '{"contents":[{"parts":[{"text":"Write a story about a magic backpack"}]}]}' \
    -X POST 'https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:generateContent?key=API_KEY'
    ```
    will get you a response from the new model :-)

  •   •   about 2 years ago

    If you want to use the JavaScript client:

    const genAI = new GoogleGenerativeAI(process.env.API_KEY);
    const model = genAI.getGenerativeModel({ model: "gemini-1.5-pro-latest"}, { apiVersion: 'v1beta' });

  • Private user

    Private user   •   about 2 years ago

    Thank you @Liza Katz

Comments are closed.