Author: Mahmood Asadi
Version: 1.0.0
License: GPL-2.0+
AI Vision Block is a Gutenberg block that generates AI-powered images from text prompts using the Pollinations API. The generated images are automatically saved to the WordPress Media Library.
- 🔹 Generate AI images directly in the block editor
- 🔹 Uses Pollinations API for image generation
- 🔹 Saves generated images to the WordPress Media Library
- 🔹 No API key required
- 🔹 Lightweight and easy to use
-
Download the Plugin:
- Clone the repository:
git clone https://github.com/mahmood-asadi/ai-vision-block.git
- Or download the latest release as a
.zip
file.
- Clone the repository:
-
Upload to WordPress:
- Move the
ai-vision-block
folder to/wp-content/plugins/
.
- Move the
-
Activate the Plugin:
- Go to WordPress Admin → Plugins and activate "AI Vision Block."
-
Use the Block:
- Open the block editor and add "AI Vision Block" to a post or page.
- Enter a prompt and generate an AI-powered image.
git clone https://github.com/mahmood-asadi/ai-vision-block.git
cd ai-vision-block
npm install
npm run build
npm run start
Pull requests are welcome! Feel free to open an issue if you find a bug or have a feature request.
This project is licensed under the GPL-2.0+.