Giter Site home page Giter Site logo

gemini-pro-vision-image-filter's Introduction

Gemini AI Model API Usage

This is a simple example for using Google Gemini AI models using their API for Educational and Research purposes.

Getting Started

These instructions will get your copy of the project up and running on your local machine.

Prerequisites

  • Google API Console account and a project
  • Google API Key for Generative Language Models
  • Git
  • Python
  • Jupyter Notebook

Setup

  1. Create a Project in Google API Console
    Create a new project in the Google API Console to use the Google Generative Language Model API.

  2. Enable Google Generative Language Model API
    Enable the Google Generative Language Model API for your project in the Google API Console.

  3. Create an API Key for Gemini in AI Studio
    Generate an API key in AI Studio under the Gemini project.

  4. Copy the API Key
    Securely copy the generated API key.

  5. Clone/Fork the GitHub Repository
    Clone or fork this repository to your local machine.

  6. Add Your API Key to credentials.ini
    Add your API key to the credentials.ini file in the cloned repository.

[API_KEY]
google_api_key = #PASS YOUR API KEY HERE
  1. Create the Environment
    Set up the Python environment. Note: Platform-specific libraries might cause errors. Provided environment file is exported from a Linux Environment.

  2. Execute the Jupyter Notebook
    Run Jupyter Notebook and navigate to the project notebook.

gemini-pro-vision-image-filter's People

Contributors

keshara2032 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.