Google Gemini is the name of a new AI model developed by Google DeepMind. It is built from the ground up for multimodality, meaning it can reason seamlessly across text, images, video, audio, and code. Gemini is the first model to outperform human experts on Massive Multitask Language Understanding (MMLU), one of the most popular methods to test the knowledge and problem-solving abilities of AI models. It also surpasses state-of-the-art performance on a range of benchmarks including text and coding. Comprising Gemini Ultra, Gemini Pro, and Gemini Nano, it was announced on December 6, 2023, positioned as a contender to OpenAI's GPT-4.
Unfortunately, Google made it only available for certain countries. (https://ai.google.dev/available_regions)
Price Model
GeminiProChat Project in Github
1Â Method 1
Deploy With Vercel(Recommended)Just click the button above and follow the instructions to deploy your own copy of the app.
2Â Deploy with Netlify
Deploy With Netlify- Go to this palm-netlify-proxy repo and click "Deploy With Netlify".
- Once the deployment is complete, you will receive a domain name assigned by Netlify (e.g.,Â
https://xxx.netlify.app
). - In your Gemini Pro Chat project, set an environment variable namedÂ
API_BASE_URL
 with the value being the domain you got from deploying the palm proxy (https://xxx.netlify.app
). - Redeploy your Gemini Pro Chat project to finalize the configuration. This should resolve the issue.
3Â Deploy on Zeabur
Deploy on Zeabur4Â Deploy with Docker
docker run --name geminiprochat \
--restart always \
-p 3000:3000 \
-itd \
-e GEMINI_API_KEY=your_api_key_here \
babaohuang/geminiprochat:latest
your_api_key_here
 with your own GEMINI API key.Get Your GEMINI API Key
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-pro:generateContent?key=AIzaSyBRJXDms8I4IrHr82024Dv8f9x01riDZhye1c
Deploy with vercel
 Deploy With Vercel(Recommended)
Deployment information:
Cloudflare settings
Demo: https://ai.51sec.org
Videos
References
- https://ai.google.dev/
Wow, discovering that I can use Gemini Pro for free, even if it's not available in my region, is a game-changer! Thanks for sharing this valuable tip. I'm excited to explore the possibilities of Gemini AI and enhance my productivity. For those eager to learn more about using Gemini AI effectively, check out my article on "How to Use Gemini AI". Let's make the most out of this opportunity and unlock the full potential of Gemini Pro together!
ReplyDelete