Deploying Google Gemini with Vercel

Google has launched the API Token application process for Gemini Pro, offering it to developers at no cost. As per Google's official website, the free version permits a maximum of 60 API requests per second, catering well to individual learning needs. Nevertheless, it's important to be aware that Google's PaLM API is exclusively accessible within the United States. Consequently, we can employ Vercel Edge for a reverse proxy deployment of Google Gemini.

Register Google Gemini API

Gemini: https://ai.google.dev 
Click here Google Gemini to Request the API key Google Gemini Deploy with Vercel 

Use your API keys securely. Do not share them or embed them in code the public can view.

Deploy Google Gemini

Register Vercel

You can register for Vercel for free, or log in to Vercel using your existing GitHub account. For convenience, it is recommended to log in to Vercel using your GitHub account. The following instructions assume that you will be using your GitHub account to log in to Vercel.

Deploy OpenSource Project: GeminiProChat

GeminiProChat Project: https://github.com/babaohuang/GeminiProChat Fork GeminiProCaht Google Gemini Deploy with Vercel Google Gemini Deploy with Vercel

Deploying GeminiProChat on Vercel

  1. Login to Vercel, deploy a new project, search the "GeminiProChat", and "Import"
Google Gemini Deploy with Vercel
  1. Complete Environment Variables Configuration.
Google Gemini Deploy with Vercel
Key: GEMINI_API_KEY
Value: {Google Gemini API key}
  1. After filling out, click "Deploy."
  2. Next, please be patient for a moment as the system will automatically install and deploy GeminiProChat.

Enjoy

Google Gemini Deploy with VercelAccess the URL assigned to your project on Vercel, and you'll be able to open the following interface, starting your exploration of the AI world with Google Gemini. Google Gemini Deploy with Vercel

Comments

Popular posts from this blog

Maigret: searches for information leaks via usernames [Github]

Installing Python3.10.x Version on Mac and Set the Environment

Adding Specific Applications to Windows 11 Startup Apps