As this is the beta version, you have to enable a few options to access AI content generator features. Once the AI features go live, you won’t need to enable these settings again. Here’s how you can enable them for now:
- First, update your Chrome browser to the latest version.
- Open Chrome and search chrome://flags/#optimization-guide-on-device-model and set it to Enabled BypassPerfRequirement.
- Search for chrome://flags/#prompt-api-for-gemini-nano and chrome://flags/#summarization-api-for-gemini-nano, then enable both options.
- To ensure the Summarizer API is supported by your browser, you can check it using the following code:
if ('ai' in self && 'summarizer' in self.ai) {
console.log("Model Exists");
}
- To ensure your browser supports the Prompt API, you can check it using the following code:
if ('ai' in self && 'languageModel' in self.ai) {
console.log("Model Exists");
}
- After enabling all these options, restart your browser to apply the changes.