Giter Club home page Giter Club logo

apigemini's Introduction

Gemini Explorer: AI Text Generation on Android

This project, Gemini Explorer, explores the possibilities of the Gemini API in Android development. You can generate sentences, texts, and even recipes based on chosen images and custom prompts.

Getting Started

  1. Clone the repository:
git clone https://github.com/agu3des/APIGemini.git
  1. Open in Android Studio: Import the project into Android Studio and run it on your device or emulator.

  2. Add your API key:

  • Create a project on https://aistudio.google.com/ and obtain your API key.
  • Never commit your API key to version control! Add it securely as a local property in Android Studio, following their documentation.

Usage

  1. Select an image: Choose an image from your device or capture one with your camera.

  2. Generate text: The chosen image will automatically receive a humorous description.

  3. Custom prompts: For more granular control, you can modify the "prompt" value in GeminiExplorerViewModel.kt (line 26). Explore different prompts and see what results you get!

Terms of Service Notice

While using Gemini API, the data submitted can be used to improve the model. According to the Gemini API Additional Terms of Service:

Do not submit sensitive, confidential, or personal information to the Services. Consider reading the full terms here.

Contributing

Feel free to fork this repository and contribute your own improvements or features. Please make sure to follow good coding practices and create pull requests for your changes.

Support

For any questions or suggestions, feel free to open an issue on this repository.

Code Origin

https://github.com/angelica-oliv/geminiapiexplorer.git

apigemini's People

Contributors

agu3des 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.