Title: Block Diffusion &#8211; Generate images from text prompts
Author: Kevin Batdorf
Published: <strong>2022 年 9 月 13 日</strong>
Last modified: 2023 年 3 月 30 日

---

搜索插件

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

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Block Diffusion – Generate images from text prompts

 作者：[Kevin Batdorf](https://profiles.wordpress.org/kbat82/)

[下载](https://downloads.wordpress.org/plugin/stable-diffusion.0.7.1.zip)

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

 [支持](https://wordpress.org/support/plugin/stable-diffusion/)

## 描述

A new era of content creation is here. With machine learning and advanced models,
we are now capable of creating unique images based on text prompts alone. We are
only lmiited by our imagination. Block Diffusion lets you use artifical intelligence
to unlock your creativity and give unique experiences to your visitors.

This plugin interfaces with the Replicate API and allows you to run open-source 
models via their cloud API. Add the block to a page and select a model to enter 
your API token.

Semi interactive demo at [https://www.block-diffusion.com/](https://www.block-diffusion.com/)

#### Features

 * Stable Diffusion – A latent text-to-image diffusion model capable of generating
   photo-realistic images given any text input
 * Stable Diffusion V2 test version
 * Text to Pokémon – Generate Pokémon from a text description
 * Open Journey – Stable Diffusion fine tuned on Midjourney v4 images.
 * Multiple outputs
 * Image input with basic controls
 * Download, copy, or import into the editor
 * Prompt suggestion + preview

#### Pro version

All pro features will be added to this open source version on wordpress.org. You
may [sponsor the project on GitHub](https://github.com/sponsors/KevinBatdorf) (there
are monthly and one-time payment options). Thank you.

#### Upcoming Features

 * Add an image mask to only generate specific areas
 * View your prediction history

#### More Info

 * Follow [@kevinbatdorf](https://twitter.com/kevinbatdorf) on Twitter
 * View on [GitHub](https://github.com/KevinBatdorf/block-diffusion)

#### Terms and Privacy

This plugin provides an interface to the Replicate API and requires you have an 
active account at replicate.com with an active API token. This plugin is not affiliated
with Replicate and only uses their public Http API. Your servers speak directly 
with replicate.com.
 – [Replicate terms](https://replicate.com/terms) – [Replicate privacy policy](https://replicate.com/privacy)

We also offer additional features on top of the Replicate API, such as prompt/output
sharing (opt in) and prompt inspiration.
 – [Block Diffusion terms](https://www.block-diffusion.com/terms)–
[Block Diffusion privacy policy](https://www.block-diffusion.com/privacy)

## 屏幕截图

 * [[
 * A view of the interface
 * [[
 * Choose from various models to run

## 区块

该插件提供了 1 个区块.

 *   Block Diffusion Generate unique images from text prompts using AI

## 安装

 1. Activate the plugin through the ‘Plugins’ screen in WordPress

## 评价

![](https://secure.gravatar.com/avatar/c73aebb1d4d2f1b212c6244b364a99ace9c7ee8da1d94111bbaca3eaedf71917?
s=60&d=retro&r=g)

### 󠀁[Interesting](https://wordpress.org/support/topic/interesting-57/)󠁿

 [wpcraft](https://profiles.wordpress.org/casepress/) 2022 年 12 月 17 日

Awesome solution. I trying this plugin for some my sites. and so far it looks very
promising. I can generate images and illustrations without having to worry about
getting in trouble with the law.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/stable-diffusion/reviews/)

## 贡献者及开发者

「Block Diffusion – Generate images from text prompts」是开源软件。 以下人员对此
插件做出了贡献。

贡献者

 *   [ Kevin Batdorf ](https://profiles.wordpress.org/kbat82/)

[帮助将「Block Diffusion – Generate images from text prompts」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/stable-diffusion)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.7.1 – 2022-12-07

 * Tweak: Remove v2 test version as it was merged into the main model

#### 0.7.0 – 2022-11-24

 * Feature: Add test version of Stable Diffusion v2

#### 0.6.0 – 2022-11-22

 * Feature: Add OpenJourney model – Stable Diffusion fine tuned on Midjourney v4
   images.

#### 0.5.0 – 2022-11-06

 * Feature: Add interactive image input 🚀
 * Tweak: Update types to support new num_output format
 * Tweak: Adjust spacing on model switch ui
 * Fix: Fix nested scroll bars showing

#### 0.4.0 – 2022-10-10

 * Feature: Support multiple outputs
 * Feature: Add download and copy buttons
 * Tweak: The output UI is separate now from the input UI
 * Fix: Fixed a bug where the focus state wouldn’t expand the model card

#### 0.3.0 – 2022-10-09

 * Feature: Add support for image to Pokémon generation
 * Tweak: Various UI changes

#### 0.2.0 – 2022-10-05

 * Feature: Help with prompt ideas and inspiration (opt in)
 * Feature: Prompt sharing with the community (opt in)
 * Feature: Added settings modal to manage preferences
 * Tweak: Removed intermediary modal
 * Tweak: UI improvements

#### 0.1.8 – 2022-09-15

 * Tweak: Update height and width positioning
 * Tweak: Add middleware to grab token from the db (or body)
 * Testing: Adds login e2e tests

#### 0.1.7 – 2022-09-15

 * Update auto inject to be more reliable
 * Tweak styling to avoid some theme conflicts

#### 0.1.6 – 2022-09-14

 * Refactor out login from middleware into a basic gate pattern
 * Add “API Token” link on the plugins page that will open the app
 * Make the login view the first view

#### 0.1.5 – 2022-09-13

 * Add better error handling when logging in

#### 0.1.4 – 2022-09-13

 * Update scrolling style for md widths
 * Update login mobile view layout

#### 0.1.3 – 2022-09-13

 * Update block label in editor

#### 0.1.2 – 2022-09-13

 * Update plugin name and description text
 * Fix bug where the image block isn’t mounted by the time the opener event fires
 * Fix mobile scrolling bug

#### 0.1.1 – 2022-09-12

 * Update block.json information

#### 0.1.0 – 2022-09-12

 * Initial release

## 额外信息

 *  版本 **0.7.1**
 *  最后更新：**3 年前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.2.9**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/stable-diffusion/)
 * 标签
 * [AI](https://cn.wordpress.org/plugins/tags/ai/)[artificial intelligence](https://cn.wordpress.org/plugins/tags/artificial-intelligence/)
   [block](https://cn.wordpress.org/plugins/tags/block/)[prompt](https://cn.wordpress.org/plugins/tags/prompt/)
   [stable diffusion](https://cn.wordpress.org/plugins/tags/stable-diffusion/)
 *  [高级视图](https://cn.wordpress.org/plugins/stable-diffusion/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/stable-diffusion/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/stable-diffusion/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/stable-diffusion/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/stable-diffusion/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/stable-diffusion/reviews/?filter=1)

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

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

## 贡献者

 *   [ Kevin Batdorf ](https://profiles.wordpress.org/kbat82/)

## 支持

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

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