ML Kit's GenAI APIs harness the power of Gemini Nano to help your apps perform tasks. These APIs provide out-of-the-box quality for popular use cases through a high-level interface. The ML Kit GenAI APIs are built on top of AICore, an Android system service that enables on-device execution of GenAI foundation models to facilitate features such as enhanced app functionality and improved user privacy by processing data locally. Learn more.
The ML Kit GenAI API Additional Terms of Service apply to the use of the GenAI APIs. Developers are solely responsible for the safety of their API client and their app's user experience.
Key features
The ML Kit GenAI APIs support the following features:
- Summarization: Summarize articles or conversations as a bulleted list.
- Proofreading: Proofread short chat messages.
- Rewrite: Rewrite short chat messages in different tones or styles.
- Image description: Generate a short description of a given image.
- Prompt: Generate text content based on a custom text-only or multimodal prompt.