Gemini API key

Gemini uses a key created in Google AI Studio and has a free plan. You only need one provider's key. For lower cost and faster replies, prefer Groq.

Create the key

  1. Open the Gemini console and sign in with your Google account. Create an account on that page if you do not have one.
  2. Press "Create API key".
  3. Create a key in a Google project. If the console asks for a project, use one just for Folio Detective.
  4. Copy the key.
  5. Return to Folio Detective, open AI Credits, and paste the key into the Gemini field.

The key is saved only on this device, encrypted. On each conversation it is sent over a secure connection and used only for that reply. We do not store the key on our servers.

Do not share the key. If it leaks, delete that key in the Gemini console and create another. The free plan covers a usage quota. Anything past that follows the Google account tied to that key, not the game's AI Credits.