Skip to Content
Menu

Chrome AI APIs

Example usage of the Chrome Gemini AI APIs.

October 31, 2024

Demo


Assistant

Prompt:

AI Response:

Loading...

Additional Notes

Note: This is emerging technology currently only available in Google Chrome Canary and requires additional component installations. This demo will often stop working as changes to this API are made during its development!

Go to chrome://flags to enable the various Gemini AI flags as well setting the “Enables optimization guide on device” flag to Enabled BypassPerfRequirement.
Restart Chrome
Go to chrome://components to install/update the “Optimization Guide On Device Model” component

If you don’t see the “Optimization Guide On Device Model” listed in the Chrome Components list, try running one of the AI commands in the console (ignoring any errors) and reload the components page.

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!