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.
0 / 6,000 characters
Generating your quiz…
Add this quiz to Admin
- Download JSON after generating a quiz (button above).
- Open admin.html and sign in.
- Profile menu (top right) → Add quiz from file → Choose JSON file…
- 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.