Taken from the Official JanitorAI Discord Server https://discord.gg/janitorai

Setup Guide: Gemini via Google API

Follow this guide to get Gemini working smoothly on JanitorAI

⚠️ A Quick Word About Gemini Bans

Using Google's Gemini API for roleplay or NSFW content can technically violate their terms. That said:

  • Getting banned only blocks you from using the Gemini API, it won’t affect your Google account, Gmail, or other services.
  • Many users report not getting banned even after heavy content.
  • Google allows up to 4 accounts per phone number. If you're worried, create an alt to keep your main account safe.

🔧 Important Settings Before You Begin.

  • Check if Gemini is available in your country
  • Turn OFF text streaming, Gemini struggles with it enabled.
  • Temperature: Best between 0.6 and 1.0. Test what works for you.
  • Context Window: Set to 16 or 32k.
  • Tokens: Set to 0 for default behaviour.
  • Rerolls and Errors: Each reroll or failed attempt still counts against your message limit.

Stage 1: Get Your Gemini API Key

1️⃣ — Go to Gemini API Studio: Open a new tab and go to
https://aistudio.google.com/apikey
2️⃣ — Log In with or Register a Google Account: You can use an ALT account.
3️⃣ — Generate a New API Key: Click "Create API key" when prompted.

4️⃣ — Save Your Key Securely: Copy your API key and store it safely. You won’t be able to view it again.

Stage 2: Setting up JanitorAI

1️⃣ — Open API Settings: In JanitorAI, go into any chat and navigate to "API Settings" by clicking on the menu in the left corner of the screen.

2️⃣ — Go to Proxy API Configurations: Click "+ Add Configuration" in the top-right corner.

3️⃣ — Enter a Configuration Name: Name it something like "Really cool Gemini proxy".

4️⃣ — Choose Your Model: Paste one of these into the "Model Name" field:
   — gemini-2.5-pro (100 messages/day)
   — gemini-2.5-flash (250 messages/day)

5️⃣ — Enter a Proxy URL: Paste a working proxy link (from a Colab or private server).

👉 These are shared in Discord and forums. Be cautious—some expire or require the tab to stay open.

6️⃣ — Paste Your API Key: In the "API Key" field, paste your Gemini key from Stage 1.

7️⃣ — (Optional) Add a Custom Prompt: You can use a jailbreak or stylistic prompt. Find community-shared ones here:
<#1133946528436846633>

8️⃣ — Save and Refresh: Click "Save Settings" and refresh your browser tab.

9️⃣ — Test Your Setup: Back in "Proxy Settings", click "Test". If it returns a valid confirmation, everything is working. Refresh one last time and enjoy!

Edit

Pub: 22 Nov 2025 23:11 UTC

Edit: 22 Nov 2025 23:14 UTC

Views: 6