Node js app for setting up REST api endpoint for gemini AI.
- Prep the multlmodal request
- Use Vertex AI to query the gemini-vision-pro model
- Return the response
- Clone the repo
- Run
npm install - Run
npm start
- Configure your google credentials
- Make sure to provide the image base64 in the request body.