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 Zeabur
4 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
https://makersuite.google.com/app/apikey
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/