Skip to content

Gemini Pro API

This is a Google AI large language model similar to ChatGPT, currently available for free.

1. Obtaining the Gemini key

First, you need a Google account. Second, you need to be able to access the internet via a VPN, and the node cannot be in the United States. If it is in the United States, the key page will not be displayed, and when calling the API, an error will be reported: "API calls are not supported in this region". The reason for this is unknown.

Open this address: https://aistudio.google.com/app/apikey. If you are not logged into your Google account, a login page will appear. Log in and then open this address.

Click "Create Api Key". If you have already created one, click the API key below to view the complete key information.

Then copy it.

2. Paste the copied key into the Settings menu - Gemini Pro - Gemini Key.