drupal / varbase_ai_media_base
Generate images and SVGs with AI from the Media Library on Varbase 11, with the AI Media module: a "Generate image with AI" tab right after Image and a "Generate SVG with AI" tab right after SVG Image, saving into those media types, with the permission granted to the editorial roles. No custom PHP o
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-rc1
- 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-08 15:33:33 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
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 (varbase-e2e-test). Locally:
npm install
LAUNCH_URL=https://your-site.ddev.site npm test