Installs and configures AI-powered image generation tools.
- Generates images using an AI provider.
- Configures AI media image generation.
- Uses OpenAI's DALL-E 3 model for image creation.
composer require kanopi/saplings-ai-image-generator
cd web && php core/scripts/drupal recipe ../recipes/saplings-ai-image-generator
To enable AI-powered image generation, configure the OpenAI provider:
- Create an API key at OpenAI.
- Store the API key securely in
private://keys/openai_provider.key
. - Ensure the key is deployed in your hosting environment to be accessible.
To use AI-generated images, navigate to the media library and select the AI image generation option. OpenAI’s DALL-E model will generate images based on input prompts.
For bulk image creation and media automation, additional configurations can be applied via the AI module settings under Admin > Configuration > Media.