Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Google AI Studio] Gemini API without the API key #1949

Open
iG8R opened this issue May 14, 2024 · 6 comments
Open

[Google AI Studio] Gemini API without the API key #1949

iG8R opened this issue May 14, 2024 · 6 comments

Comments

@iG8R
Copy link

iG8R commented May 14, 2024

Is there any way to implement getting access to Google AI Studio https://aistudio.google.com/app/prompts/new_chat, which is essentially the Gemini API but without an API key, similar to how OpenAI Chat only requires a har file but not an API key?

Why such a request appeared - recently, I don't know what happened with Google, but it banned all existing and newly created API keys and projects (since May 07, 2024 - 4 projects with 8 API keys) for a ridiculous reason, supposedly there was an exceeding of the quota metric 'Generate Content API requests per minute' and the limit 'GenerateContent request limit per minute for a region' of the service 'generativelanguage.googleapis.com" for a consumer project, although in the Quota&System Limits parameter of each project all Current Usage Percentages for all API services are equal to 0% and I know 100% that the application that used those API keys only made 1 request per 2 seconds.
To all my appeal requests I got nothing.

But Google AI Studio https://aistudio.google.com/app/prompts/new_chat still works fine.

image

image

@iG8R
Copy link
Author

iG8R commented May 15, 2024

One more reason to use Google AI Studio

image

Copy link

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

@github-actions github-actions bot added the stale label May 23, 2024
@iG8R
Copy link
Author

iG8R commented May 23, 2024

Up.

@github-actions github-actions bot removed the stale label May 24, 2024
@JayJayBinks
Copy link

I found this Git Repo where someone Reverse Engineered the AI Studio API. Maybe someone can integrate it to g4f
https://github.com/SreejanPersonal/Gemini-1.5-Pro-Google-AI-Studio-Reverse-Engineered-API

@JayJayBinks
Copy link

I experimented a bit with the Google API and 1.5 flash has far better quota.
I want to create a PR to add the gemini flash version, but am not allowed to create a new branch. @xtekky ?

@Zedai00
Copy link

Zedai00 commented May 30, 2024

@JayJayBinks fork it then add and do a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants