Skip to content

Google Gemini Voice/Vision Assistant with gemini-1.5-pro / gemini-1.5-flash modal ! #Gemini 1.5 Flash #Gemini 1.5 Pro

License

Notifications You must be signed in to change notification settings

youkpan/gemini-assistant

Repository files navigation

Google Gemini Voice/Vision Assistant

with gemini-1.5-pro/gemini-1.5-flash modal

Gemini Demo

Explore the remarkable capabilities of Gemini, an open-source application powered by the Google Gemini Vision API(Gemini-1.5-flash / gemini-1.5-pro modal). Seamlessly reasoning across text, and images and voice. Gemini is your gateway to the future of AI.

You can use your camera and screen capture (chrome browser) ! .

If you like this repo, Give me a star ⭐ ~

🚀 Quick Start

Demo: Gemini Assistant Demo (Need Chrome/Edge Browser)

step: 1 Clone the repository

git clone https://github.com/youkpan/gemini-assistant.git

step: 2

npm install

step:3 🔑 Setup Gemini API Key: Rename .env.example to .env and paste your Gemini API key in VITE_GEMINI_KEY.

Get GEMINI_KEY | Get azure TTS Subscription key

Addtional:

VITE_GEMINI_MODEL="gemini-1.5-flash-latest" #"gemini-1.5-pro" or "gemini-1.5-flash"

change your TTS key(azure ,in file src/components/synthesis.tsx line 13):

var subscriptionKey = "your azure subscriptionKey" ;
var serviceRegion =  "your serviceRegion e.g eastasia"  ;

step:4 Run locally

npm run dev
#or
npm run dev -- --host 0.0.0.0
#or
./run.sh (change your key in file)

Visit localhost:3000 to experience Gemini on your machine.

Note : your must have https cert to start public server! or not have camera permission.

🌟 Give me a Star : )

Enjoying Gemini? Show your support by giving it a star on GitHub! ⭐

🤖 How it Works

Simply say "Hey Gemini," show an object to the camera, and witness the magic of multimodal AI.

🌐 Learn More

Visit the Gemini api doc for in-depth information about Gemini's capabilities.

Thanks iamsrikanthnani for init version.

🙌 Contribute

Your contributions make Gemini even more powerful.

Unlock the potential of AI with Gemini—your gateway to the future.

Happy Coding! 🚀