AI Quiz Builder test page

Same Firebase AI setup as the minimal Gemini test — isolated from admin.

← Admin

Edit appCheckSiteKey in the <script type="module"> at the bottom of this file — same place as the working Gemini test.

A console error on exchangeRecaptchaV3Token can appear even when generation works. Use Test generate below to confirm.

Generate a quiz

Model: gemini-3.5-flash via Firebase AI Logic.

Add this quiz to Admin
  1. Download JSON after generating a quiz (button above).
  2. Open admin.html and sign in.
  3. Profile menu (top right) → Add quiz from fileChoose JSON file…
  4. Select your downloaded .json — adds one new quiz (does not replace your others) and opens the Builder.

Also on the get-started screen: Add quiz from file.

When this works, enable AI in admin via AI access for specific users.