Title: KaiGen
Author: Jacob Schweitzer
Published: <strong>2025 年 6 月 22 日</strong>
Last modified: 2026 年 3 月 9 日

---

搜索插件

![](https://ps.w.org/kaigen/assets/banner-772x250.png?rev=3315977)

![](https://ps.w.org/kaigen/assets/icon-256x256.png?rev=3315977)

# KaiGen

 作者：[Jacob Schweitzer](https://profiles.wordpress.org/primetimejas/)

[下载](https://downloads.wordpress.org/plugin/kaigen.zip)

 * [详情](https://cn.wordpress.org/plugins/kaigen/#description)
 * [评价](https://cn.wordpress.org/plugins/kaigen/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/kaigen/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/kaigen/#developers)

 [支持](https://wordpress.org/support/plugin/kaigen/)

## 描述

Includes a Gutenberg block to insert a prompt that generates an image and inserts
an image block into the current post.

### How To Gen

Edit a post
 Insert an image block Click the “KaiGen” button in the block toolbar
Put a prompt into the input box Click the Generate Image button View/Edit the inserted
image block (the alt text contains the prompt) Use “Generate Alt Text” in the block
inspector to describe the image

Text to image generation times vary by quality, low quality can be ~1 second, medium
quality ~10 seconds, and high quality ~30 seconds or more.
 Image to image generation
times can take up to 2 minutes.

### External Services

This plugin connects to third-party AI services to generate images and alt text.
No data is sent to these services without your explicit action – images are only
generated when you click “Generate Image”, and alt text is only generated when you
click “Generate Alt Text”.

#### OpenAI API

 * What it is: OpenAI’s image generation service
 * What data is sent: Your text prompt, selected image parameters (size, quality,
   etc.), and image data for alt text generation
 * When data is sent: Only when you click “Generate Image” or “Generate Alt Text”
   with OpenAI selected as your provider
 * API Endpoint: https://api.openai.com/v1/images/generations, https://api.openai.
   com/v1/images/edits, and https://api.openai.com/v1/responses
 * Terms of Service: https://openai.com/terms/
 * Privacy Policy: https://openai.com/privacy/
 * Models supported: GPT Image 1.5

#### Replicate API

 * What it is: Replicate’s machine learning model hosting service for various AI
   image generation models
 * What data is sent: Your text prompt, selected model parameters, and image data
   for alt text generation
 * When data is sent: Only when you click “Generate Image” or “Generate Alt Text”
   with Replicate selected as your provider
 * API Endpoint: https://api.replicate.com/v1/models/ and https://api.replicate.
   com/v1/predictions/
 * Terms of Service: https://replicate.com/terms
 * Privacy Policy: https://replicate.com/privacy
 * Models supported: low quality (FLUX.2 klein 4B by Black Forest Labs), medium 
   quality (Seedream 4.5 by ByteDance), and high quality (Nano Banana Pro by Google).

Important: You must obtain your own API keys from these services and are responsible
for complying with their respective terms of service and privacy policies. The plugin
does not collect, store, or transmit any of your data to any other parties.

### Source Code

All compressed/minified JavaScript files have their human-readable source code available:

**Compressed Files  Source Files:**
 * build/index.js  Source files in src/ directory*
build/admin.js  src/admin.js

**Source Code Location:**
 The complete human-readable source code is available 
in the src/ directory of this plugin and on GitHub: https://github.com/jacobschweitzer/
KaiGen

**Build Process:**
 This plugin uses @wordpress/scripts build system. To build from
source: 1. Install Node.js and npm 2. Run: npm install 3. Run: npm run build The
build/ directory is committed and used by WordPress at runtime; do not edit it directly.

For development: npm run start
 For more details see the README.md file.

## 安装

Activate the plugin
 Add your OpenAI and/or Replicate API key in Settings -> KaiGen
Choose your Provider from the dropdown

## 评价

此插件暂无评价。

## 贡献者及开发者

「KaiGen」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jacob Schweitzer ](https://profiles.wordpress.org/primetimejas/)

[帮助将「KaiGen」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/kaigen)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/kaigen/)，查看[SVN仓库](https://plugins.svn.wordpress.org/kaigen/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/kaigen/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/kaigen/)。

## 额外信息

 *  版本 **0.2.10**
 *  最后更新：**3 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.1 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/kaigen/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)
 *  [高级视图](https://cn.wordpress.org/plugins/kaigen/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/kaigen/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/kaigen/reviews/)

## 贡献者

 *   [ Jacob Schweitzer ](https://profiles.wordpress.org/primetimejas/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/kaigen/)