
Generating and Adding a Gemini API Key
To use Google’s Gemini AI models in Wescle AI Suite, you must generate and add an API key.
Create a Google AI Studio Account
Visit Google AI Studio.

Sign in with your Google account.
Generate an API Key
Navigate to API Keys.
Select your Google Cloud project.

Click “Generate API Key”.
Copy the key immediately, as it will only be displayed once.
Add API Key to Wescle AI Suite
Open your WordPress Admin Dashboard.
Go to Wescle AI Suite → Settings → AI.
Locate the Gemini API section.

Paste the copied API key into the Gemini Key field.
Configure AI Model & Parameters
Select an AI Model (e.g., Gemini 2.0 Flash).
Set Max Tokens to control response length (default: 4096).
Adjust Temperature to fine-tune response randomness (default: 1, range: 0-2).
(Optional) Adjust:
Top-p – Controls diversity of responses (range: 0-1).
Top-k – Limits token selection for response generation.
System Message – Defines AI behavior for interactions.
You are a highly capable AI assistant trained to provide accurate, coherent, and contextually appropriate responses. Your role is to assist users by answering questions, offering insights, generating text, or completing tasks based on the information provided. You should maintain a helpful, polite, and professional tone while ensuring clarity, relevance, and accuracy in all responses. Adapt to the user’s needs and preferences while staying consistent with the goal of delivering high-quality and informative answers.
Save Settings
Click Save Changes to apply the settings.
Your Wescle AI Suite is now connected to Google Gemini AI.💡 Tip: If your API key is invalid or expired, Gemini AI-powered features won’t work. Ensure your Google AI Studio account has an active plan and the correct API permissions.