bugbounted / Gemini-API-Text-Implementation

Gemini API Text Template

Home Page:https://gemini-api-text-implementation.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gemini API Text Implementation

What is this?

Since Gemini is now readily available to developers, I have decided to create an easy to modify template to use the Gemini API for text output

How does it work?

If you want to use the Gemini API with my text template, simply edit the main.js file and add your own API key which you can get on Google's AI Studio website. I recommend expanding on it since this template merely serves as a starting point for your project.

Current limitations

  1. This implementation does not send context to the API, meaning each question is as if you were asking the API a completely new question. It does not remember any previous questions.
  2. The API is currently not accessible from within the European Union. For you or your EU users to access it, they would need a VPN.



Huge props to Google for the Gemini API and the starter template which this project is based on

About

Gemini API Text Template

https://gemini-api-text-implementation.vercel.app


Languages

Language:JavaScript 47.8%Language:CSS 33.0%Language:HTML 19.2%