AI Interpolator Pixabay

Last updated on
23 February 2024

This page has not yet been reviewed by AI Interpolator maintainer(s) and added to the menu.

The Pixabay plugin, uses a text field to search for a relevant image from the royaltee-free stock image source Pixabay. This then populates an image field or generates and populates a media field.

This is good if you are unsatisfied with the quality of AI generated images.

It works very well together with OpenAI Plugin, since you can take any context and ask OpenAI for one or two search words that then populates the search to Pixabay.

Module link: https://www.drupal.org/project/ai_interpolator_pixabay

Installation

  • Use Composer to get the module: "composer require 'drupal/ai_interpolator_pixabay"
  • Install the AI Interpolator Pixabay like any other module. This will install the Media Pixabay module as a dependency.
  • Follow the instructions on how to setup Media Pixabay.

How to use

In this use case we will setup an image search.

  1. Create a new node called "Article"
  2. On the "Article" you generate a Text (plain) field that you name "Image Search".
  3. On the "Article" you generate another Image field that you name "Image"
  4. If you scroll down on the settings page you should now see a check box titled "Enable AI Interpolator". Check that one.
  5. In the "Choose AI Interpolato Rule" field select "Pixabay Image".
  6. In the "Interpolator Base Field" you choose "Image Search" as the context data representation.
  7. Save the settings.
  8. Now try generating an Article and fill out the image search.
  9. After saving the image should have been filled out automatically if it found anything.

Example ideas of workflows that could be done with the Pixabay plugin.

  • Getting real photos for galleries.
  • Getting real photos for header images.

You can also find videos of OpenAI Workflows under workflows-of-ai.com

Workflows of AI

Available Rules

Rule Name Description Field Types
Pixabay Image Searches for images on Pixabay stock image database and fills out an image field. Image
Pixabay Media Searches for images on Pixabay stock image database and creates media entities. Media

Help improve this page

Page status: No known problems

You can: