8000 GitHub - mahmood-asadi/ai-vision-block: A WordPress Gutenberg block that generates an image using Pollinations API and saves it to the media library.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A WordPress Gutenberg block that generates an image using Pollinations API and saves it to the media library.

License

Notifications You must be signed in to change notification settings

mahmood-asadi/ai-vision-block

Repository files navigation

AI Vision Block 🎨🖼️

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.

🚀 Features

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

📥 Installation

  1. 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.
  2. Upload to WordPress:

    • Move the ai-vision-block folder to /wp-content/plugins/.
  3. Activate the Plugin:

    • Go to WordPress Admin → Plugins and activate "AI Vision Block."
  4. 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.

🛠️ Development

Clone the repo

git clone https://github.com/mahmood-asadi/ai-vision-block.git
cd ai-vision-block

Install dependencies

npm install

Build the plugin

npm run build

Start development mode

npm run start

🤝 Contributing

Pull requests are welcome! Feel free to open an issue if you find a bug or have a feature request.

📜 License

This project is licensed under the GPL-2.0+.


About

A WordPress Gutenberg block that generates an image using Pollinations API and saves it to the media library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0