Published: November 12, 2024
The Prompt API is available in an origin trial for Chrome Extensions. This means that you can build Chrome Extensions that use Gemini Nano—our most efficient language model—directly in Chrome.
Sign up for the origin trial, available from Chrome 131 to Chrome 136, and start creating powerful extensions today. Learn more about how to use the Prompt API in our technical deep dive.
If you're new to origin trials, these are time-limited programs open to all developers, offering early access to experimental platform features. While there might be usage limits, developers can integrate these features for live testing, gathering user feedback, with the goal of informing iterations towards a full launch.
Use cases
There are many ways to use the Prompt API with Chrome Extensions. For example:
- Instant calendar events. Develop a Chrome Extension that automatically extracts event details from web pages, so users can create calendar entries in just a few steps.
- Seamless contact extraction. Build an extension that extracts contact information from websites, making it easier for users to contact a business or add details to their list of contacts.
- Dynamic content filtering. Create a Chrome Extension that analyzes news articles and automatically blurs or hides content based on user-defined topics.
These are just a few possibilities, but we're excited to see what innovative an helpful tools you create.
Share your feedback
We look forward to hearing your feedback on the Prompt API.
- You can share your feedback on the API shape by commenting on an existing issue or by opening a new one in the Prompt API GitHub repository.
- For feedback on Chrome's implementation, file a Chromium bug.
- Learn how to use the Prompt API with Chrome Extensions.
- Check out the Prompt API sample extension on GitHub.