Menu

Z-BlogPHP Article AI Assistant Plugin

This article was last updated 37 days ago, please note whether the content is still available

Z-BlogPHP Article AI Assistant Plugin Image 1

🚀 Overview

Z-BlogPHP Article AI Assistant Plugin is an intelligent writing assistance tool based on AI technology, integrating multiple mainstream AI services to provide comprehensive support for blog authors from content creation to optimization.

🌟 Features

📝 Intelligent Writing Features

  • AI Article Generation: Automatically generates complete articles based on titles.

  • Title Optimization: Intelligently rewrites article titles.

  • Content Rewriting: Optimizes article content while maintaining its structure.

  • Smart Summarization: Automatically generates article summaries.

  • Tag Generation: Automatically extracts tags from articles.

🎨 Image Generation Features

  • AI Illustration Generation: Generates article illustrations based on titles.

  • Multi-platform Support: Supports AI drawing services like Zhipu and SiliconFlow.

  • Automatic Insertion: Supports automatic image insertion upon publishing.

  • Watermark Management: Customizes image watermarks.

💬 Intelligent Interaction

  • AI Auto-Commenting: Automatically generates comments after article publication.

  • Nickname Generation: AI generates personalized comment nicknames.

  • Comment Management: Intelligently controls comment frequency and quantity.

⚙️ Installation and Configuration

Environment Requirements

  • Z-BlogPHP 1.7.3+

  • PHP 7.4+

  • CURL extension support

Installation Steps

  1. Download the plugin and upload it to the Z-Blog plugin directory.

  2. Enable the plugin in the backend.

  3. Configure API keys and basic parameters.

  4. Enable various functions as needed.

🔧 Detailed Configuration Instructions

API Key Configuration

Zhipu AI Configuration

Option NameConfiguration ValueDescription
Zhipu API Keys***Required
Zhipu Language Model Selectionglm-4-flashFree model, cost-effective

SiliconFlow Configuration

Option NameConfiguration ValueDescription
SiliconFlow API Keys***Optional

Text Generation Service Configuration

Supported Text Models

Model OptionModel NameFeature DescriptionRecommended Scenario
0Zhipu Language ModelDefault selection, optimized for ChineseDaily writing
openaiOpenAI GPT-4o-miniLightweight and fast, high stabilityGeneral content
openai-largeOpenAI GPT-4oFull-featured version, more powerfulProfessional content
openai-reasoningOpenAI o1-miniEnhanced reasoning capabilitiesLogical analysis
qwen-coderQwen 2.5 Coder 32BCode optimization specificTechnical articles
deepseekDeepSeek-V3Excellent domestic modelChinese content
deepseek-reasonerDeepSeek R1 - FullDeep reasoning modelComplex analysis
geminiGemini 2.0 FlashGoogle's latest modelCreative writing
gemini-thinkingGemini 2.0 Flash ThinkingGemini with Chain-of-ThoughtDeep thinking

Image Generation Service Configuration

Supported Image Models

Model OptionModel NameFeature DescriptionPricing
0Zhipu Image Generation ModelCogView-3-flash free modelFree
1SiliconFlow FLUX.1-schnellFast generation versionFree
2SiliconFlow FLUX.1-devHigh-quality generationUses gifted credits
3FLUX No KEYDefault selection, completely freeFree
4SiliconFlow KolorsColor optimization versionFree

⚡ Core Feature Configuration

AI Article Function

When enabled, supports the following features:

  • Generate complete articles from titles.

  • Intelligently rewrite article titles.

  • Generate titles from article content.

  • Rewrite article content.

Prompt Configuration Instructions

AI Article Prompt

Write an article over 500 words with the topic #title. The body can optionally includetags, and paragraphs should usetags. Do not add a title.

Note: Must include the #title placeholder.

Title Rewriting Prompt

Rewrite this title: #title
Requirements: Make the title more engaging, adding interest while maintaining professionalism.

Note: Must include the #title placeholder.

Article Rewriting Prompt

Rewrite this article, preserving its structure and HTML. Here is the article: #article

Note: Must include the #article placeholder.

Content to Title Prompt

Read the article and generate an engaging title. Do not use quotation marks for titles. Here is the article: #article

Note: Must include the #article placeholder.

AI Image Function

Image Parameter Configuration

ParameterConfiguration ValueDescription
Zhipu Image Size1024x1024Generation size on Zhipu platform
Other Platform Size1024x1024Generation size on other platforms
Image Compression960Maximum height, compressed proportionally
Number of Images to Generate4Recommended to be within 4

Watermark Configuration

ParameterConfiguration ValueDescription
Image Text Watermark隔壁老李Leave blank to disable
Watermark PositionBottom CenterWatermark display position
Text Color-Hexadecimal color value
Font Size-Integer, pixel value
Opacity0-1270 fully opaque, 127 fully transparent

Automatic Image Generation

  • Auto-generate for articles without images: Automatically insert AI images upon publishing.

  • Auto-generate for articles without images on browse: Automatically generate images upon access.

  • Insertion Start Paragraph: Specify the paragraph number from which to insert images.

Note: Automatic generation may slow down page loading, please enable with caution.

AI Smart Summary Function

Configuration Items:

  • Enable AI Smart Summary: Turn on the summary generation function.

  • Display Smart Summary in Article: Show the summary area on the front end.

  • Front-end AI Summary Title: Default is "AI Smart Summary".

  • Show Regenerate Button: Allows manual regeneration.

AI Summary Prompt:

Read the article and generate a summary. The word count must be less than 256 Chinese characters. Here is the article: #article

Note: Must include the #article placeholder.

AI Tag Function

Configuration Items:

  • Enable AI Tags: Turn on automatic tag generation.

  • AI Tag Prompt: Customize tag extraction rules.

AI Tag Prompt Example:

Read the article, extract 3-5 tags, separated by commas. Here is the article: #article

Note: Must include the #article placeholder.

AI Comment Function

Configuration Items:

  • Enable AI Comments: Automatically comment after article publication.

  • AI Comment Threshold: 0-100, higher values increase the probability of commenting.

  • AI Comment Nicknames: Customize comment nicknames (one per line).

  • AI Generate Nickname: Enable AI nickname generation.

  • AI Comment User ID: Specify the comment user account.

  • Maximum Comments: 3 (no more comments will be generated beyond this number).

Prompt Configuration:

AI Nickname Prompt:

Generate a Wuxia-style online name, 3-8 characters long. Give me only the name.

AI Comment Prompt:

Leave a one-sentence comment on this article. Here is the article: #article

Note: Must include the #article placeholder.

🧭 Model Selection Guide

Text Model Selection Recommendations

Select by content type:

  • Technical Blogs: qwen-coder or deepseek

  • Creative Writing: gemini-thinking or openai-large

  • Daily Blogs: Zhipu Language Model or openai

  • In-depth Analysis: openai-reasoning or deepseek-reasoner

Select by performance needs:

  • Fast Response: openai (GPT-4o-mini) or Zhipu Language Model

  • High-Quality Output: openai-large or gemini-thinking

  • Cost Control: Zhipu Language Model (free quota)

Image Model Selection Recommendations

Select by demand:

  • Stable Use: Zhipu cogview-3-flash

  • Daily Illustrations: FLUX No KEY (default, free and stable)

  • High-Quality Demand: SiliconFlow FLUX.1-dev (best results)

  • Fast Generation: SiliconFlow FLUX.1-schnell (fast speed)

  • Rich Colors: SiliconFlow Kolors (color optimization)

📚 Usage Guide

Article Creation Workflow

  1. New Article

    • Create a new article in the Z-Blog backend.

    • Enter the article title.

    • Click the "AI Generate Article" button.

    • The system generates complete content based on the prompt.

    • Edit and optimize the generated content.

  2. Title Optimization

    • In the article editing page.

    • Click "AI Rewrite Title".

    • The system generates multiple title variations.

    • Select a satisfactory title version.

  3. Content Optimization

    • Edit an existing article.

    • Click "AI Rewrite Content".

    • The system optimizes content while preserving structure.

    • Confirm and save changes.

  4. Illustration Generation

    • In the article editing page.

    • Click "Generate AI Image".

    • Select the image generation model.

    • Choose a satisfactory image and insert it into the specified paragraph.

Automatic Function Descriptions

Smart Summary:

  • Summary is automatically generated upon saving the article.

  • Supports front-end display and regeneration.

  • Word count is controlled within 256 characters.

Auto Tags:

  • One-click generation of relevant tags.

  • Supports extraction of 3-5 tags.

  • Comma-separated format.

Smart Comments:

  • Automatic comments after article publication.

  • Comment frequency can be controlled.

  • Supports AI generation of personalized nicknames.

💡 Best Practices

Prompt Optimization Suggestions

Article Generation Prompt:

Write an 800-1000 word article with the topic #title, requirements:
1. Clear structure, including introduction, body, and conclusion.
2. Usetags for subheadings.
3. Usetags for paragraphs.
4. Language should be professional but not obscure.

Title Optimization Prompt:

Rewrite the following title into a more engaging version, requirements:
1. Keep the original meaning unchanged.
2. Increase keyword density.
3. Length between 15-25 characters.
4. Suitable for search engine optimization.

Original Title: #title

Summary Generation Prompt:

Read the following article and generate a summary of about 200 Chinese characters, requirements:
1. Summarize the core viewpoints of the article.
2. Highlight key information.
3. Language should be concise and clear.
4. Suitable as an article introduction.

Article Content: #article

Note: Must include the #article placeholder.

Performance Optimization Suggestions

  1. Image Generation Control

    • Generate no more than 4 images per request.

    • Set image compression parameters reasonably.

    • Enable automatic generation features with caution.

  2. API Call Optimization

    • Set comment thresholds reasonably.

    • Control tag generation frequency.

    • Avoid redundant calls to the same function.

  3. Content Quality Control

    • Manually review content after generation.

    • Adjust prompt templates as needed.

    • Regularly optimize prompt effectiveness.

🔧 Troubleshooting

Common Issues

  1. API Call Failure
    Symptom: Feature not working correctly.
    Solution:

  • Check if the API key is correct.

  • Confirm network connection is normal.

  • Check service provider's quota status.

  1. Poor Generated Content Quality
    Symptom: Generated content does not meet expectations.
    Solution:

  • Optimize prompt templates.

  • Adjust parameter settings.

  • Try different AI models.

  1. Image Generation Anomaly
    Symptom: Images cannot be generated or displayed.
    Solution:

  • Check image size settings.

  • Verify watermark parameters are correct.

  • Check platform service status.

Log Viewing

  • Z-Blog System Logs: zb_users/logs/

  • Plugin Operation Logs: Plugin settings interface

  • API Call Records: Respective service provider's console

⚠️ Notes

Usage Limitations

  1. Free Model Limitations: "No-Key" services may have stability issues.

  2. API Quota Limits: Be aware of call quotas for each platform.

  3. Content Copyright: Pay attention to copyright issues for AI-generated content.

Security Recommendations

  1. API Key Protection: Change keys periodically.

  2. Content Review: AI-generated content requires manual review.

  3. Data Backup: Back up important content promptly.

🔄 Version Updates

  • v1.0: Basic AI writing functions.

  • v1.1: Added image generation function.

  • v1.2: Optimized comment and summary functions.

  • v1.3: Support for multi-platform AI services.

💁 Technical Support

For any issues, please contact the developer or refer to the official documentation.

Helpful?

Comments(3)

风行万里
风行万里

2025-10-13 10:10:54

这款Z-BlogPHP文章AI小助手插件,为博客作者提供智能写作支持,从标题优化到内容生成,再到图片和评论,全方位提升内容创作效率。
青霜剑客
青霜剑客

2025-10-13 10:02:15

"这款Z-BlogPHP文章AI小助手插件,让博客写作变得轻松高效,AI智能辅助,助你创作优质内容。"
剑影飞鸿
剑影飞鸿

2025-10-13 09:52:04

这篇文章详细介绍了Z-BlogPHP文章AI小助手插件的功能和配置,为博客作者提供了从内容创作到优化的全方位AI辅助支持。

Post comment

Support Live Chat
TOP