Installation¶
Requirements¶
- Drupal 10.5 or later, or Drupal 11.
- The AI module (
ai:ai). - Core modules File, Image, User, Views and Options. Drupal enables them automatically when you enable this module.
- At least one module that ships an
AiFinetuneplugin. Without one the job form shows a warning and there is nothing to train with. See Modules extending this.
Install¶
composer require drupal/ai_finetuner
drush en ai_finetuner -y
Enable a provider that ships a fine-tuning plugin as well, for example the Krea provider
(ai_provider_krea):
drush en ai_provider_krea -y
What gets installed¶
- The
ai_finetunercontent entity type and itsai_finetunerdatabase table. - The permission
administer ai finetuning. - The menu entry Fine-tuning under Configuration > AI > AI Infrastructure, pointing at
/admin/config/ai/finetune. - Two optional view modes named AI fine-tuning dataset (
ai_finetuner), one for nodes and one for media. Drupal installs each only when the matching module (Node or Media) is enabled, and installs them later if you enable Node or Media afterwards. - The Views display plugin AI fine-tuning dataset and its matching style plugin.
Verify¶
drush ai-finetuner:providers
lists every discovered plugin and whether it is usable (that is, whether its provider is configured with an API key).
Uninstall¶
Uninstalling removes the job entities and their table. Trained models and styles stay at the provider; the module never deletes anything remotely. Uploaded training images remain managed files until Drupal's file garbage collection removes unused files.