Banana Imagine

Generate AI images directly in your image fields using Google Gemini API.

Version: 1.0.0
Repository: github.com/mxmsmnv/BananaImagine
Author: Maxim Alex
License: MIT

Banana Imagine is a ProcessWire module that enables high-quality AI image generation within your Pageimage fields using the Google Gemini API.

Features


  • Integrated UI: Seamless generation bar below your image fields.
  • Batch Generation: Generate up to 4 variations at once.
  • Smart Variations: Automatically adds subtle descriptors to batch prompts for variety.
  • Native Storage: Selected images are saved directly to the page using ProcessWire's native methods.
  • Clean Naming: Files are saved as [PageID]-[Timestamp].jpg.

Installation


  1. Upload the BananaImagine folder to your /site/modules/ directory.
  2. Go to Modules > Refresh.
  3. Install Banana Imagine.

Configuration


  1. Obtain an API Key from Google AI Studio.
  2. Enter the key in the module settings.
  3. Select which image fields should display the Banana Imagine bar.
  4. Note: Google requires a linked billing account to use image-generation models.

How to Use


  1. Edit a page that has an enabled image field.
  2. Locate the yellow Banana Imagine bar.
  3. Type a description of the image you want (e.g., "A futuristic tropical forest at night").
  4. Choose the number of variations (1-4) and click Generate.
  5. Images will appear as they are processed.
  6. Click on the images you want to save. A yellow checkmark will appear on selected items.
  7. Save the Page. The selected images will be downloaded and added to your field permanently.

More modules by Maxim Semenov

  • WireWall

    Advanced traffic firewall with VPN/Proxy/Tor detection, rate limiting, and JS challenge
  • LQRS URL Shortener Profile

    This site profile for ProcessWire offers a free and easy-to-use URL shortener that transforms long links into concise, shareable URLs. It is built using standard ProcessWire modules and field types.
  • Media Platform Profile

    This site profile for ProcessWire offers a fully-featured media platform for hosting and managing video content with Backblaze B2 and Cloudflare integration.
  • Context

    Export ProcessWire site context for AI development (JSON + TOON formats)
  • AgeWire

    Age verification module with Tailwind CSS support
  • 2048

    Take a break with 2048 game in ProcessWire admin
  • Invite Access

    Restricts site access to visitors with a valid invite code. Designed for staging environments with multiple teams.
  • WirePDF

    Convert ProcessWire pages to PDF documents with advanced typography support
  • Banana Imagine

    Generate AI images directly in your image fields using Google Gemini API.

All modules by Maxim Semenov

Install and use modules at your own risk. Always have a site and database backup before installing new modules.