WP Manifestindependent plugin directory
manifest / unclassified / deepseek-ai-book-writer

DeepSeek AI Book Writer

DeepSeek AI Book Writer利用DeepSeek大型语言模型的强大功能,帮助您高效地编写图书。在WordPress内创建大纲、批量生成章节内容,并添加AI生成的图片,让您的图书栩栩如生。

by hxxy2012 · github.com/hxxy2012/deepseek-ai-book-writer · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/hxxy2012/deepseek-ai-book-writer/archive/refs/heads/main.zip

English | 中文

A WordPress plugin for AI-powered book writing using DeepSeek large language models

DeepSeek AI Book Writer leverages the power of DeepSeek's large language models to help you write books efficiently. Create outlines, generate chapter content in bulk, and add AI-generated images to bring your books to life - all within WordPress.

Last updated: 2025-03-22

Features

  • One-Click Book Outlines: Generate comprehensive book outlines based on your title, genre, and description
  • Bulk Chapter Generation: Create content for all chapters simultaneously with parallel processing
  • Contextual Writing: Each chapter maintains context from previous chapters for coherent storytelling
  • Custom AI Images: Generate relevant chapter images with detailed image prompts
  • Interactive Editor: Preview, edit, and refine content with a user-friendly interface
  • WordPress Integration: Save your work as WordPress posts for easy publishing
  • Configurable Speed: Control concurrent API requests to optimize generation speed

Installation

Requirements

  • WordPress 6.0 or higher
  • PHP 7.4 or higher
  • DeepSeek API key

Installation Steps

  1. Download the latest release
  2. Log in to your WordPress admin panel
  3. Navigate to Plugins → Add New → Upload Plugin
  4. Choose the downloaded ZIP file and click Install Now
  5. Activate the plugin
  6. Go to AI Book Writer → Settings to configure your DeepSeek API credentials

Usage

Step 1: Create a Book Outline

  1. Go to AI Book Writer → Create Book
  2. Enter your book title, genre, and description
  3. Click Generate Book Outline
  4. Review the outline and proceed to the next step

Step 2: Generate Chapter Content

Bulk Generation:

  1. Click Generate All Chapters Content to start bulk generation
  2. Monitor progress through the progress bar and status indicators
  3. Edit any chapter by selecting it from the sidebar

Individual Generation:

  1. Select a chapter from the sidebar
  2. Click Generate Chapter Content
  3. Edit the content as needed
  4. Add an image description and click Generate Chapter Image

Step 3: Preview and Save

  1. Preview your complete book
  2. Click Save Book Draft to create a WordPress post
  3. Edit the post further using the WordPress editor

Configuration

Navigate to AI Book Writer → Settings to configure:

  • DeepSeek API URL: API endpoint (default: https://ark.cn-beijing.volces.com/api/v3/chat/completions)
  • DeepSeek API Key: Your API authentication key
  • DeepSeek Model: The language model to use (default: deepseek-v3-241226)
  • Concurrent Requests: Number of simultaneous API calls during bulk generation (1-5)

Screenshots

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the GPL v2 License - see the LICENSE file for details.

Credits


DeepSeek AI Book Writer

中文 | English

基于DeepSeek大型语言模型的WordPress智能图书写作插件

DeepSeek AI Book Writer利用DeepSeek大型语言模型的强大功能,帮助您高效地编写图书。在WordPress内创建大纲、批量生成章节内容,并添加AI生成的图片,让您的图书栩栩如生。

最后更新:2025-03-22

功能特点

  • 一键生成图书大纲:基于您的标题、类型和描述生成全面的图书大纲
  • 批量章节生成:通过并行处理同时创建所有章节的内容
  • 上下文写作:每个章节保持与前章节的上下文联系,确保故事连贯性
  • 自定义AI图片:通过详细的图片提示生成相关章节图片
  • 交互式编辑器:使用用户友好的界面预览、编辑和完善内容
  • WordPress集成:将您的作品保存为WordPress文章,方便发布
  • 可配置生成速度:控制并发API请求数量,优化生成速度

安装

要求

  • WordPress 6.0或更高版本
  • PHP 7.4或更高版本
  • DeepSeek API密钥

安装步骤

  1. 下载最新版本
  2. 登录您的WordPress管理面板
  3. 导航至插件 → 添加新插件 → 上传插件
  4. 选择下载的ZIP文件并点击现在安装
  5. 激活插件
  6. 转到AI图书写作 → 设置配置您的DeepSeek API凭据

使用方法

第1步:创建图书大纲

  1. 转到AI图书写作 → 创建图书
  2. 输入您的图书标题、类型和描述
  3. 点击生成图书大纲
  4. 查看大纲并进入下一步

第2步:生成章节内容

批量生成:

  1. 点击一键生成所有章节内容开始批量生成
  2. 通过进度条和状态指示器监控进度
  3. 从侧边栏选择任何章节进行编辑

单独生成:

  1. 从侧边栏选择一个章节
  2. 点击生成本章内容
  3. 根据需要编辑内容
  4. 添加图片描述并点击生成章节图片

第3步:预览和保存

  1. 预览您的完整图书
  2. 点击保存图书草稿创建WordPress文章
  3. 使用WordPress编辑器进一步编辑文章

配置

导航至AI图书写作 → 设置进行配置:

  • DeepSeek API URL:API端点(默认:https://ark.cn-beijing.volces.com/api/v3/chat/completions
  • DeepSeek API密钥:您的API认证密钥
  • DeepSeek模型:要使用的语言模型(默认:deepseek-v3-241226)
  • 并发请求数:批量生成期间的同时API调用数量(1-5)

截图

贡献

欢迎贡献!请随时提交Pull Request。

  1. Fork仓库
  2. 创建您的功能分支(git checkout -b feature/amazing-feature
  3. 提交您的更改(git commit -m '添加一些令人惊叹的功能'
  4. 推送到分支(git push origin feature/amazing-feature
  5. 打开Pull Request

许可证

本项目采用GPL v2许可证 - 详情请参阅LICENSE文件。

鸣谢