This example demonstrates how to use the built-in AI to generate creative prompts for writing, art, or music. It uses the `prompt()` method with a clear instruction to guide the AI's response.
Ready. Press the button to generate an idea.
To use this feature, you must have the "Enable built-in AI" flag enabled in Chrome. Open a new tab, paste the link below, press Enter, enable the flag, and then restart Chrome.