Table of Contents
< All Topics

How to Obtain a Google AI Gemini API Key

Gemini is Google’s suite of powerful AI models designed for tasks like text generation, code assistance, vision input, and multimodal interactions. These models are fast, secure, and backed by Google Cloud’s infrastructure.

To use Gemini inside AIWU, you’ll need an API key created through Google AI Studio. This guide will walk you through the entire setup — no Google Cloud Console or billing setup required.


Step 1: Go to Google AI Studio

Start by visiting the official Gemini interface:
👉 https://aistudio.google.com

This is Google’s web interface for testing and deploying Gemini models — including the place to generate your API key.


Step 2: Sign in with Your Google Account

Click “Sign In” in the top-right corner and log in with your personal or work Gmail account.
You’ll be asked to review and accept Google’s terms of use before proceeding.


Step 3: Open the API Key Page

After logging in, go to:
👉 https://aistudio.google.com/apikey

This page allows you to create and manage your Gemini API keys.


Step 4: Generate an API Key

  1. Click the “Get API Key” button.
  2. Review and accept the Gemini API Terms of Service.
  3. Choose the project you want to associate the key with — or create a new one.
  4. Google will immediately generate your API key.

⚠️ Important: This is the only time the key will be shown. Be sure to copy it and store it somewhere secure. If you lose it, you’ll need to generate a new one.


Step 5: (Optional) Secure the Key

For advanced users, you can configure API key restrictions (IP, referrer, etc.) via your Google Cloud Console. This is optional but recommended if you’re using Gemini in production.


Step 6: Start Using Your Key

Once you’ve copied your key, you can paste it directly into AIWU’s settings panel under the Gemini API section.
The AIWU plugin will now be able to send requests to Gemini models via your key.


FAQ

Q: Do I need a billing account?
A: No. Gemini via AI Studio allows free-tier usage for most models. Paid usage (for higher limits or advanced models) may require billing later.

Q: Can I use Gemini with vision or JSON output?
A: Yes. Gemini 1.5 and Gemini Flash models support multimodal inputs and structured outputs.

Q: Can I regenerate or revoke my API key?
A: Yes. Just go to https://aistudio.google.com/apikey and manage your keys there.


Helpful Links

Scroll to Top