AITiny integrates with Joomla's Console (CLI) application, providing command line tools for AI image generation and editing. These commands let you use AITiny's image generation capabilities without the Joomla administrator interface, making them ideal for batch processing, automation, scheduled tasks (cron jobs), and integration with shell scripts or external tools.
Before using the CLI commands, ensure the following:
The System - AITiny plugin must be enabled in Joomla's plugin manager.
An image generation service must be configured in the plugin parameters (under the Image Generation tab). The CLI commands use the same image service configuration as the web interface.
You must run the commands from the root directory of your Joomla installation, using Joomla's CLI runner:
php cli/joomla.php <command> [arguments] [options]
Generated images are saved to the same media adapter and subdirectory configured in the plugin parameters, just as they would be when generating images through the web interface.