AI Content Writer
This feature allows your WordPress theme to automatically generate content using OpenAI or Google Gemini.
How to Enable AI Content Writer
Follow these steps to enable and configure the AI Content Writer:
1. Navigate to AI Settings
- Go to your WordPress admin dashboard.
- Click on King > Settings > Ai from the left sidebar.
- Select the AI Content Writer section.
2. Enable AI Writer
- Toggle the switch next to Enable AI Writer to
Yes
.
3. Choose AI Provider
- In the ChatGPT or Google Gemini dropdown, select either:
Gemini
for Google AI (via Google AI Studio)ChatGPT
for OpenAI
4. Enter API Keys
You must enter a valid API key depending on the provider you selected:
🔑 Google Gemini API Key
- Paste your Google AI Studio API key in the
Google Gemini API Key
field. - Create a key here
🔑 OpenAI API Key
- Paste your OpenAI API key in the
OpenAI API Key
field. - Create a key here
5. Configure AI Permissions
- Under AI Permissions, select who can use the AI Content Writer:
Only Admin
Verified Users
Premium Members
All Members
6. Select Post Types
- Choose the post types where the AI content writer should be available:
News
Video
Image
Music
List
Trivia Quiz
Poll
✅ Done!
Once you've saved your settings, the AI Content Writer will be available based on the permissions and post types you've selected.
ℹ️ Make sure your API key has sufficient quota and permissions from the provider to avoid errors.