Plugin Directory

Block Diffusion – Generate images from text prompts

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Block Diffusion – Generate images from text prompts


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/


  • 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 (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

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
Replicate privacy policy

We also offer additional features on top of the Replicate API, such as prompt/output sharing (opt in) and prompt inspiration.
Block Diffusion terms
Block Diffusion privacy policy


  • A view of the interface
  • Choose from various models to run


This plugin provides 1 block.

  • Block Diffusion Generate unique images from text prompts using AI


  1. Activate the plugin through the ‹Plugins› screen in WordPress


17. Dezember 2022
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.
Read all 1 review

Contributors & Developers

“Block Diffusion – Generate images from text prompts” is open source software. The following people have contributed to this plugin.



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