drupal / varbase_ai_media_base
Generate images and SVGs with AI from the Media Library on Varbase 11, with the AI Media module: an "Upload | Generate with AI" switch inside the Image and SVG Image tabs, saving into those media types, with the permission granted to the editorial roles. No custom PHP or shell code.
Package info
git.drupalcode.org/project/varbase_ai_media_base.git
Type:drupal-recipe
pkg:composer/drupal/varbase_ai_media_base
Requires
- drupal/ai: ^1.5
- drupal/ai_media: ^1.0.0
- drupal/core: ^11.4
- drupal/svg_image: ^3.2.5
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-17 22:51:13 UTC
README
Generate images and SVGs with AI from the Media Library on a Varbase 11 site, with the AI Media module.
Documentation
Read the Varbase AI Media Base documentation on the Varbase docs site.
Install
ddev composer require drupal/varbase_ai_media_base:~1
ddev drush recipe ../recipes/varbase_ai_media_base
ddev drush cr
Safe to apply twice.
Tests
A varbase-e2e suite in
tests/features checks a Varbase 11 site with the recipe applied: the
modules it installs, the mapping to Image and SVG Image, Insert Media in Full
HTML and the editorial permissions. CI builds that site, applies the recipe
twice and runs it. Locally:
npm install --ignore-scripts
LAUNCH_URL=https://your-site.ddev.site npm test
See tests/README.md.