WeSearch

The Prompt API

·13 min read · 0 reactions · 0 comments · 5 views
The Prompt API

Discover the infinite possibilities of the Prompt API.

Original article
Chrome for Developers
Read full at Chrome for Developers →
Full article excerpt tap to expand

Home Docs AI on Chrome Built-in AI The Prompt API Stay organized with collections Save and categorize content based on your preferences. .wd-authors { --avatar-size: 65px; display: flex; gap: 2em; } .wd-author { display: flex; flex-wrap: wrap; gap: 1em; line-height: calc(var(--avatar-size) / 2); } .wd-author img { border-radius: 50%; height: var(--avatar-size, 65px); width: var(--avatar-size, 65px); } .dcc-authors { --avatar-size: 65px; display: flex; gap: 2em; } .dcc-author { display: flex; flex-wrap: wrap; gap: 1em; line-height: calc(var(--avatar-size) / 2); } .dcc-author img { border-radius: 50%; height: var(--avatar-size, 65px); width: var(--avatar-size, 65px); } .dcc-author__links { display: flex; } .dcc-author__links a { margin-inline-end: 6px; } .dcc-author__links a:last-of-type { margin-inline-end: 0; } Thomas Steiner GitHub LinkedIn Mastodon Bluesky Homepage Alexandra Klepper GitHub Bluesky Published: May 20, 2025, Last updated: September 21, 2025 Explainer Web Extensions Chrome Status Intent GitHub Origin trial Chrome 138 View Intent to Experiment GitHub Origin trial for sampling parameters Chrome 148 View Intent to Experiment With the Prompt API, you can send natural language requests to Gemini Nano in the browser. There are many ways you can use the Prompt API. For example, you could build: AI-powered search: Answer questions based on the content of a web page. Personalized news feeds: Build a feed that dynamically classifies articles with categories and allow for users to filter for that content. Custom content filters. Analyze news articles and automatically blur or hide content based on user-defined topics. Calendar event creation. 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. These are just a few possibilities, and we're excited to see what you create. Important: Gemini Nano is a generative AI model. Before you build with APIs that use Gemini Nano, you should review the People + AI Guidebook for best practices, methods, and examples for designing with AI. Review the hardware requirements The following requirements exist for developers and the users who operate features using these APIs in Chrome. Other browsers may have different operating requirements. The Language Detector and Translator APIs work in Chrome on desktop. These APIs do not work on mobile devices. The Prompt API, Summarizer API, Writer API, Rewriter API, and Proofreader API work in Chrome when the following conditions are met: Operating system: Windows 10 or 11; macOS 13+ (Ventura and onwards); Linux; or ChromeOS (from Platform 16389.0.0 and onwards) on Chromebook Plus devices. Chrome for Android, iOS, and ChromeOS on non-Chromebook Plus devices are not yet supported by the APIs which use Gemini Nano. Storage: At least 22 GB of free space on the volume that contains your Chrome profile. Built-in models should be significantly smaller. The exact size may vary slightly with updates. GPU or CPU: Built-in models can run with GPU or CPU. GPU: Strictly more than 4 GB of VRAM. CPU: 16 GB of RAM or more and 4 CPU cores or more. Note: The Prompt API with audio input requires a GPU. Network: Unlimited data or an unmetered connection. Key term: A metered connection is a data-limited…

This excerpt is published under fair use for community discussion. Read the full article at Chrome for Developers.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Email

Discussion

0 comments

More from Chrome for Developers