Skip to content

angelica-oliv/geminiapiexplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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/angelica-oliv/geminiapiexplorer.git
  1. Open in Android Studio:

Import the project into Android Studio and run it on your device or emulator.

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

  1. Generate text:

The chosen image will automatically receive a humorous description.

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages