gemini generated image cgvjizcgvjizcgvj

How to Automatically Post Articles to WordPress Using Gemini

I have created a plugin that automatically posts articles to WordPress using Gemini. Please download and use it from the link below.

Gemini Auto Writer Pro (6 ダウンロード )

1. Overview

Gemini Auto Writer Pro is a WordPress plugin that utilizes Google’s latest AI, “Gemini,” to fully automate the generation and posting of high-quality blog articles.

From writing articles to determining SEO-conscious titles, selecting optimal categories, and even automatically fetching featured images from Unsplash, everything is completed with just one click.

🌟 Key Features

  • 📷 Robust Image Saving: Equipped with a powerful downloader to physically bypass connection errors and URL validation issues.
  • 🌍 Bilingual Support: Switch between a “Japanese Persona” and an “English Native Persona” with a single click.
  • 📅 Scheduled Posting Automation: Automatically schedule posts for future dates at specified intervals.
  • 🛡️ Error Avoidance System: Automatically prevents server timeouts (502 errors) and AI response refusals.
  • 📂 Multi-Category: Automatically merges “AI-selected categories” with “Fixed categories (e.g., Blog EN)”.

2. Installation

  1. Click “Plugins” > “Add New” in your WordPress admin dashboard.
  2. Click “Upload Plugin” at the top of the screen.
  3. Select the distributed gemini-auto-writer-pro.zip file and click “Install Now”.
  4. After installation is complete, click “Activate Plugin”.
  5. “Gemini Writer” will be added to the left-hand menu of your admin dashboard.

3. Initial Setup (Get API Keys)

To use this plugin, you need the following two free API keys.

🔑 1. Google Gemini API Key (Required)

Used for writing articles.

  1. Access Google AI Studio.
  2. Click “Create API key” to generate a key.
  3. Paste it into the “Gemini API Key” field on the plugin settings screen.

📷 2. Unsplash Access Key (Recommended)

Used for automatically fetching featured images.

  1. Register at Unsplash Developers.
  2. Create a “New Application” to issue an “Access Key”.
  3. Paste it into the “Unsplash Access Key” field on the plugin settings screen.
    • If not set, images will not be inserted.

4. How to Use

🇺🇸 Switching Language Modes

Click the link “🇯🇵 Japanese | 🇺🇸 English” at the top right of the screen to switch modes.

  • Japanese Mode: The AI behaves as a Japanese writer, and prompts are optimized for Japanese.
  • English Mode: The AI behaves as an English-speaking writer, and the output will be in English.

⚙️ Configuration

  • AI Model: We recommend gemini-1.5-flash (Fast and cost-effective).
  • Allow Comments: Set whether to open the comment section for generated articles.
  • AI Instructions (Prompt): This is the instruction set for the AI. It switches automatically for each language mode. Basically, no changes are needed, but customization is possible.

📚 Article Topics

Enter the topics you want to write about, one per line. The AI will randomly select a topic from this list to write an article. Example:

Plaintext

Latest iPhone Review
How to make delicious coffee
Top 10 Sightseeing Spots in Tokyo

📂 Mandatory Category

This is the yellow box at the bottom right. The category name entered here will always be added to the article, in addition to the category automatically determined by the AI.

  • Recommended Setting: Enter Blog(JP) for Japanese mode and Blog(EN) for English mode to easily manage articles by language within your site.

5. Execute Generation

Operate using the bar at the very bottom of the screen.

  1. Count: Select the number of articles to create at once (Max 10).
  2. Status:
    • Draft: Save as a draft.
    • Publish: Publish to the site immediately.
    • Schedule: Publish sequentially starting from a specified date.
      • When selected, settings for “Start Date” and “Interval (Hours)” will appear on the right.
  3. Start Generation: Click the button to start the process.

⚠️ Note: Downloading images and AI writing take time (10–30 seconds per article). Do not close the browser while processing. When complete, “Done.” will be displayed.

6. FAQ

Q. It says “❌ API Error”. A. Please check if the Gemini API key is entered correctly and that there are no extra spaces.

Q. It says “❌ Img Fail”. A. Check if the Unsplash API key is correct. Also, you may have exceeded the free limit (50 requests/hour). Please wait a while and try again.

Q. The articles are being written in the wrong language. A. Check if the language toggle at the top right is set correctly (e.g., “🇺🇸 English”). Also, check if the “Mandatory Category” setting is appropriate for the language.

Q. I get an “Empty Response” error. A. The AI might be refusing to answer a specific topic due to safety filters. Try a different topic. Although this version (v22.0) includes strong filter bypass settings, it may still occur rarely due to Google’s regulations.

Disclaimer

Since this plugin uses AI, we do not guarantee the accuracy of the generated information. We recommend checking the content before publishing.