Liza Katz • 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
Comments are closed.

9 comments
Elias Pereira • about 2 years ago
Same here.
Jorge Zavala • about 2 years ago
Wondering about this as well
Simon Hanly-Jones • about 2 years ago
Me also
Arthur Berezin • about 2 years ago
Another 'Same here'.
Dani Ratner 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.
Danny Chavez • 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.
Liza Katz • 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 :-)
Liza Katz • 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 • about 2 years ago
Thank you @Liza Katz